Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Commit 4eb5658

Browse files
authored
apple: Fix zip command to preserve symlinks (#19)
Need to preserve symlinks so that the framework works correctly when used from macOS (which requires Versions/Current as a symlink to Versions/A). Ref: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle#3875936
1 parent 4d8a316 commit 4eb5658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apple/build-xcframework.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ rm -rf ./connlib-macosx.xcarchive
2626

2727
echo "Computing checksum"
2828
touch Package.swift
29-
zip -r Connlib.xcframework.zip Connlib.xcframework
29+
zip -r -y Connlib.xcframework.zip Connlib.xcframework
3030
swift package compute-checksum Connlib.xcframework.zip > Connlib.xcframework.zip.checksum.txt
3131

3232
rm Package.swift

0 commit comments

Comments
 (0)