Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions cmake/ios_embed_appex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,14 @@ if [ "$IDENTITY" = "-" ] && [ "${PLATFORM_NAME:-}" = "iphoneos" ]; then
exit 1
fi

# Clean + copy
# Clean + copy. -H: under an Archive, the appex's build-products path is a
# symbolic link Xcode points at its intermediates, and a plain -R copies the
# link itself -- App Store Connect then rejects the upload (ITMS-90332, an
# invalid symbolic link at PlugIns/<name>.appex). Follow the one link named
# here; anything inside the appex is copied as it is.
rm -rf "$APPEX_DST"
mkdir -p "$(dirname "$APPEX_DST")"
cp -R "$APPEX_SRC" "$APPEX_DST"
cp -RH "$APPEX_SRC" "$APPEX_DST"

# Re-sign the host (nested-code hash changed when we added the appex).
# --preserve-metadata=entitlements keeps the host's own entitlements that
Expand Down
Loading