Skip to content

Commit cd021bf

Browse files
kaloudisclaude
andcommitted
fix: exclude __MACOSX resource forks from xcframework zip
Use ditto --norsrc instead of --sequesterRsrc to prevent macOS resource fork metadata from polluting the zip archive. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 06795b9 commit cd021bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import PackageDescription
55

66
let tag = "v0.7.0"
7-
let checksum = "5f9bd7c756420a0a181ece87fc8ce6f450c0731eae62ad5753e59c4c736f457b"
7+
let checksum = "75b031ebb05d186f0ffb09c336097a6f7b30205cb26596551b054bc07ea67907"
88
let url = "https://github.com/lightningdevkit/ldk-node/releases/download/\(tag)/LDKNodeFFI.xcframework.zip"
99

1010
let package = Package(
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ditto -c -k --sequesterRsrc --keepParent ./bindings/swift/LDKNodeFFI.xcframework ./bindings/swift/LDKNodeFFI.xcframework.zip || exit 1
1+
ditto -c -k --norsrc --keepParent ./bindings/swift/LDKNodeFFI.xcframework ./bindings/swift/LDKNodeFFI.xcframework.zip || exit 1
22
CHECKSUM=`swift package compute-checksum ./bindings/swift/LDKNodeFFI.xcframework.zip` || exit 1
33
echo "New checksum: $CHECKSUM" || exit 1
44
python3 ./scripts/swift_update_package_checksum.py --checksum "${CHECKSUM}" || exit 1

0 commit comments

Comments
 (0)