Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit e912471

Browse files
committed
Revert example changes
1 parent 7ac1d4d commit e912471

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/google_sign_in/google_sign_in/example/ios/Podfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,9 @@ end
3939
post_install do |installer|
4040
installer.pods_project.targets.each do |target|
4141
flutter_additional_ios_build_settings(target)
42+
target.build_configurations.each do |build_configuration|
43+
# GoogleSignIn does not support arm64 simulators.
44+
build_configuration.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64 i386'
45+
end
4246
end
4347
end

packages/google_sign_in/google_sign_in/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
);
408408
runOnlyForDeploymentPostprocessing = 0;
409409
shellPath = /bin/sh;
410-
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n";
410+
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
411411
};
412412
AB1344B0443C71CD721E1BB7 /* [CP] Check Pods Manifest.lock */ = {
413413
isa = PBXShellScriptBuildPhase;
@@ -603,6 +603,7 @@
603603
buildSettings = {
604604
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
605605
ENABLE_BITCODE = NO;
606+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64";
606607
FRAMEWORK_SEARCH_PATHS = (
607608
"$(inherited)",
608609
"$(PROJECT_DIR)/Flutter",
@@ -624,6 +625,7 @@
624625
buildSettings = {
625626
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
626627
ENABLE_BITCODE = NO;
628+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64";
627629
FRAMEWORK_SEARCH_PATHS = (
628630
"$(inherited)",
629631
"$(PROJECT_DIR)/Flutter",
@@ -645,6 +647,7 @@
645647
buildSettings = {
646648
BUNDLE_LOADER = "$(TEST_HOST)";
647649
CODE_SIGN_STYLE = Automatic;
650+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64";
648651
INFOPLIST_FILE = RunnerTests/Info.plist;
649652
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
650653
PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.RunnerTests;
@@ -659,6 +662,7 @@
659662
buildSettings = {
660663
BUNDLE_LOADER = "$(TEST_HOST)";
661664
CODE_SIGN_STYLE = Automatic;
665+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64";
662666
INFOPLIST_FILE = RunnerTests/Info.plist;
663667
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
664668
PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.RunnerTests;

0 commit comments

Comments
 (0)