Skip to content

Commit

Permalink
bugfix. adds 32bit stripping to AppStore configuration for libfmodex.…
Browse files Browse the repository at this point in the history
…dylib (#6475)

#changelog #osx
  • Loading branch information
ofTheo committed Nov 27, 2019
1 parent a9e962c commit d443178
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/templates/osx/emptyExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ else
# Copy bin/data into App/Resources
rsync -avz --exclude='.DS_Store' "${SRCROOT}/bin/data/" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/data/"

# Strip 32bit from fmod dylib
lipo -remove i386 "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Contents/Frameworks/libfmodex.dylib" -o "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Contents/Frameworks/libfmodex.dylib"

# ---- Code Sign App Package ----

# WARNING: You may have to run Clean in Xcode after changing CODE_SIGN_IDENTITY!
Expand Down

0 comments on commit d443178

Please sign in to comment.