Skip to content

Commit

Permalink
bugfix AppStore configuration for osx - strips 32bit from dylibs and …
Browse files Browse the repository at this point in the history
…frameworks. closes #6358 (#6365)
  • Loading branch information
ofTheo committed Sep 3, 2019
1 parent 04579e7 commit b9a4881
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/templates/osx/emptyExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ IFS=$(echo -en "\n\b")
# Loop through all items.
for ITEM in $ITEMS;
do
echo "Stripping invalid archs '${ITEM}'"
lipo -remove i386 "${ITEM}" -o "${ITEM}"
echo "Signing '${ITEM}'"
codesign --force --verbose --sign "${CODE_SIGN_IDENTITY_FOR_ITEMS}" --entitlements "${CODE_SIGN_ENTITLEMENTS}" "${ITEM}"
RESULT=$?
Expand Down

0 comments on commit b9a4881

Please sign in to comment.