Skip to content

Commit f21bd20

Browse files
committed
Add script to create Swift xcframework archive and update Package.swift
1 parent da582a4 commit f21bd20

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/create_xcframework_archive.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ditto -c -k --sequesterRsrc --keepParent ./bindings/swift/LDKNodeFFI.xcframework ./bindings/swift/LDKNodeFFI.xcframework.zip || exit 1
2+
CHECKSUM=`swift package compute-checksum ./bindings/swift/LDKNodeFFI.xcframework.zip` || exit 1
3+
echo "New checksum: $CHECKSUM" || exit 1
4+
python3 ./scripts/update_swift_package_checksum.py --checksum "${CHECKSUM}" || exit 1

0 commit comments

Comments
 (0)