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

Commit 94201ea

Browse files
[google_maps_flutter] Fix native unit tests on M1 (#5772)
1 parent f25fc10 commit 94201ea

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## NEXT
22

3+
* Fixes iOS native unit tests on M1 devices.
34
* Minor fixes for new analysis options.
45

56
## 2.1.5

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@
651651
buildSettings = {
652652
BUNDLE_LOADER = "$(TEST_HOST)";
653653
CODE_SIGN_STYLE = Automatic;
654+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64";
654655
INFOPLIST_FILE = RunnerTests/Info.plist;
655656
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
656657
MTL_FAST_MATH = YES;
@@ -666,6 +667,7 @@
666667
buildSettings = {
667668
BUNDLE_LOADER = "$(TEST_HOST)";
668669
CODE_SIGN_STYLE = Automatic;
670+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64";
669671
INFOPLIST_FILE = RunnerTests/Info.plist;
670672
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
671673
MTL_FAST_MATH = YES;

0 commit comments

Comments
 (0)