Skip to content

Commit d443178

Browse files
authored
bugfix. adds 32bit stripping to AppStore configuration for libfmodex.dylib (#6475)
#changelog #osx
1 parent a9e962c commit d443178

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/templates/osx/emptyExample.xcodeproj/project.pbxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ else
4646
# Copy bin/data into App/Resources
4747
rsync -avz --exclude='.DS_Store' "${SRCROOT}/bin/data/" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/data/"
4848

49+
# Strip 32bit from fmod dylib
50+
lipo -remove i386 "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Contents/Frameworks/libfmodex.dylib" -o "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Contents/Frameworks/libfmodex.dylib"
51+
4952
# ---- Code Sign App Package ----
5053

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

0 commit comments

Comments
 (0)