From 2e1bb190d123baa2420a3e6429ba7946fbdc4676 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Mon, 9 Sep 2019 12:10:31 -0700 Subject: [PATCH] Remove ENABLE_BITCODE from Scenarios test app (flutter/engine#11839) --- engine/src/flutter/testing/scenario_app/compile_ios_aot.sh | 2 ++ engine/src/flutter/testing/scenario_app/compile_ios_jit.sh | 1 + .../ios/Scenarios/Scenarios.xcodeproj/project.pbxproj | 4 ---- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/engine/src/flutter/testing/scenario_app/compile_ios_aot.sh b/engine/src/flutter/testing/scenario_app/compile_ios_aot.sh index c76f6c3658..6059652543 100755 --- a/engine/src/flutter/testing/scenario_app/compile_ios_aot.sh +++ b/engine/src/flutter/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/engine/src/flutter/testing/scenario_app/compile_ios_jit.sh b/engine/src/flutter/testing/scenario_app/compile_ios_jit.sh index 370003195e..565089f562 100755 --- a/engine/src/flutter/testing/scenario_app/compile_ios_jit.sh +++ b/engine/src/flutter/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/engine/src/flutter/testing/scenario_app/ios/Scenarios/Scenarios.xcodeproj/project.pbxproj b/engine/src/flutter/testing/scenario_app/ios/Scenarios/Scenarios.xcodeproj/project.pbxproj index c7fe99847e..10459ac686 100644 --- a/engine/src/flutter/testing/scenario_app/ios/Scenarios/Scenarios.xcodeproj/project.pbxproj +++ b/engine/src/flutter/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)",