From b815431cdea774fd18a5cb0ef5ad088ab2aca0b4 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Thu, 4 Feb 2016 12:43:24 -0800 Subject: [PATCH] Dont keep the fake runner around as it fails validation when preparing release archives --- .../FlutterApplication.xcodeproj/project.pbxproj | 8 ++++---- sky/build/sdk_xcode_harness/Runner/Info.plist | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sky/build/sdk_xcode_harness/FlutterApplication.xcodeproj/project.pbxproj b/sky/build/sdk_xcode_harness/FlutterApplication.xcodeproj/project.pbxproj index 01fc5cb2651..c1f8d6441d5 100644 --- a/sky/build/sdk_xcode_harness/FlutterApplication.xcodeproj/project.pbxproj +++ b/sky/build/sdk_xcode_harness/FlutterApplication.xcodeproj/project.pbxproj @@ -236,7 +236,7 @@ 9E07CF971BE8280A00BCD8DE /* Frameworks */, 9E07CF981BE8280A00BCD8DE /* Resources */, 9E07CFB91BE82D2600BCD8DE /* Embed Frameworks */, - 9E40465C1C1B6DEC00A4B87C /* Copy Flutter Runner Executable And Resources */, + 9E40465C1C1B6DEC00A4B87C /* Replace Fake Runner with Actual Flutter Runner */, ); buildRules = ( ); @@ -336,19 +336,19 @@ shellScript = "${SOURCE_ROOT}/Tools/common/PackagerInvoke ${FLUTTER_APPLICATION_PATH}"; showEnvVarsInLog = 0; }; - 9E40465C1C1B6DEC00A4B87C /* Copy Flutter Runner Executable And Resources */ = { + 9E40465C1C1B6DEC00A4B87C /* Replace Fake Runner with Actual Flutter Runner */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( ); - name = "Copy Flutter Runner Executable And Resources"; + name = "Replace Fake Runner with Actual Flutter Runner"; outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "cp ${FLUTTER_ARCH_TOOLS_PATH}/FlutterRunner ${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/FlutterRunner"; + shellScript = "rm ${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Runner; cp ${FLUTTER_ARCH_TOOLS_PATH}/FlutterRunner ${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Runner"; showEnvVarsInLog = 0; }; 9EBB2F351BF675C200177634 /* Ensure `pub get` */ = { diff --git a/sky/build/sdk_xcode_harness/Runner/Info.plist b/sky/build/sdk_xcode_harness/Runner/Info.plist index 3c5a0699acf..a9298645d57 100644 --- a/sky/build/sdk_xcode_harness/Runner/Info.plist +++ b/sky/build/sdk_xcode_harness/Runner/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion en CFBundleExecutable - FlutterRunner + Runner CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion @@ -22,8 +22,6 @@ 1 LSRequiresIPhoneOS - UIViewControllerBasedStatusBarAppearance - UILaunchStoryboardName LaunchScreen UIRequiredDeviceCapabilities @@ -43,5 +41,7 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight + UIViewControllerBasedStatusBarAppearance +