Skip to content

Commit 1bbe62f

Browse files
daniapopovakaffenberger
authored andcommitted
Patch for Lost SymLinks
1 parent 1182b6f commit 1bbe62f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.scripts/package.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ rename_frameworks () {
6565
zip_frameworks () {
6666
for i in */*.xcframework; do (
6767
local name=$(xcframework_name $i)
68-
cd "$i/../"; zip -rqo "$name.xcframework.zip" "$name.xcframework"
68+
# Preserve symlinks using the -y option
69+
cd "$i/../"; zip -ryqo "$name.xcframework.zip" "$name.xcframework"
6970
) & done;
7071
wait
7172
}

0 commit comments

Comments
 (0)