File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,17 @@ PRODUCTS_DIR="${DERIVED_DATA_DIR}/Build/Products"
66# carthage adds these, not sure if necessary
77EXTRA_ARGS=" ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="
88
9+ # Embed bitcode for iphoneos binaries
10+ EXTRA_IPHONEOS_ARGS=" ENABLE_BITCODE=YES BITCODE_GENERATION_MODE=bitcode"
11+
912# libetpan has been set up to build an xcframework for libsasl2, however xcframeworks must exist at the *start* of the build process
1013# I didn't have time to figure out something less awful than building libetpan first
1114# It'll copy sasl.xcframework to the build directory
12- xcodebuild -project build-mac/mailcore2.xcodeproj -scheme " libetpan ios" -configuration Release -derivedDataPath ${DERIVED_DATA_DIR} -sdk iphoneos ${EXTRA_ARGS}
15+ xcodebuild -project build-mac/mailcore2.xcodeproj -scheme " libetpan ios" -configuration Release -derivedDataPath ${DERIVED_DATA_DIR} -sdk iphoneos ${EXTRA_ARGS} ${EXTRA_IPHONEOS_ARGS}
1316xcodebuild -project build-mac/mailcore2.xcodeproj -scheme " libetpan ios" -configuration Release -derivedDataPath ${DERIVED_DATA_DIR} -sdk iphonesimulator ${EXTRA_ARGS}
1417
1518# mailcore2 references the sasl.xcframework in the build directory
16- xcodebuild -project build-mac/mailcore2.xcodeproj -scheme " mailcore ios" -configuration Release -derivedDataPath ${DERIVED_DATA_DIR} -sdk iphoneos ${EXTRA_ARGS}
19+ xcodebuild -project build-mac/mailcore2.xcodeproj -scheme " mailcore ios" -configuration Release -derivedDataPath ${DERIVED_DATA_DIR} -sdk iphoneos ${EXTRA_ARGS} ${EXTRA_IPHONEOS_ARGS}
1720xcodebuild -project build-mac/mailcore2.xcodeproj -scheme " mailcore ios" -configuration Release -derivedDataPath ${DERIVED_DATA_DIR} -sdk iphonesimulator ${EXTRA_ARGS}
1821
1922# glue it all together
You can’t perform that action at this time.
0 commit comments