Skip to content

Commit

Permalink
Patch for Lost SymLinks
Browse files Browse the repository at this point in the history
  • Loading branch information
daniapopov authored and akaffenberger committed Jul 9, 2024
1 parent 1182b6f commit 1bbe62f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .scripts/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ rename_frameworks () {
zip_frameworks () {
for i in */*.xcframework; do (
local name=$(xcframework_name $i)
cd "$i/../"; zip -rqo "$name.xcframework.zip" "$name.xcframework"
# Preserve symlinks using the -y option
cd "$i/../"; zip -ryqo "$name.xcframework.zip" "$name.xcframework"
) & done;
wait
}
Expand Down

0 comments on commit 1bbe62f

Please sign in to comment.