diff --git a/testing/scenario_app/compile_ios_aot.sh b/testing/scenario_app/compile_ios_aot.sh index c76f6c3658a56..6059652543895 100755 --- a/testing/scenario_app/compile_ios_aot.sh +++ b/testing/scenario_app/compile_ios_aot.sh @@ -47,6 +47,7 @@ echo "Using $SYSROOT as sysroot." echo "Compiling Assembly..." cc -arch arm64 \ + -fembed-bitcode \ -isysroot "$SYSROOT" \ -miphoneos-version-min=8.0 \ -c "$OUTDIR/snapshot_assembly.S" \ @@ -55,6 +56,7 @@ cc -arch arm64 \ echo "Linking App using $SYSROOT..." clang -arch arm64 \ + -fembed-bitcode \ -isysroot "$SYSROOT" \ -miphoneos-version-min=8.0 \ -dynamiclib -Xlinker -rpath -Xlinker @executable_path/Frameworks \ diff --git a/testing/scenario_app/compile_ios_jit.sh b/testing/scenario_app/compile_ios_jit.sh index 370003195e591..565089f5624d5 100755 --- a/testing/scenario_app/compile_ios_jit.sh +++ b/testing/scenario_app/compile_ios_jit.sh @@ -61,6 +61,7 @@ echo "Creating stub App using $SYSROOT..." echo "static const int Moo = 88;" | xcrun clang -x c \ -arch x86_64 \ + -fembed-bitcode-marker \ -isysroot "$SYSROOT" \ -miphoneos-version-min=8.0 \ -dynamiclib \ diff --git a/testing/scenario_app/ios/Scenarios/Scenarios.xcodeproj/project.pbxproj b/testing/scenario_app/ios/Scenarios/Scenarios.xcodeproj/project.pbxproj index c7fe99847ea68..10459ac686541 100644 --- a/testing/scenario_app/ios/Scenarios/Scenarios.xcodeproj/project.pbxproj +++ b/testing/scenario_app/ios/Scenarios/Scenarios.xcodeproj/project.pbxproj @@ -411,7 +411,6 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_BITCODE = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu11; @@ -471,7 +470,6 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_BITCODE = NO; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu11; @@ -497,7 +495,6 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = S8QB4VV633; - ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)", @@ -521,7 +518,6 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = S8QB4VV633; - ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)",