Skip to content

Commit 6614de6

Browse files
Merge pull request #285 from alexmercerind/macos-example-ci-fix
fix: macos example build
2 parents 09f9d66 + 0e6e59d commit 6614de6

File tree

3 files changed

+9
-36
lines changed

3 files changed

+9
-36
lines changed

example/macos/Podfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,10 @@ post_install do |installer|
3737
installer.pods_project.targets.each do |target|
3838
flutter_additional_macos_build_settings(target)
3939
end
40+
41+
installer.pods_project.targets.each do |target|
42+
target.build_configurations.each do |config|
43+
config.build_settings['ARCHS'] = 'x86_64'
44+
end
45+
end
4046
end

example/macos/Podfile.lock

Lines changed: 0 additions & 35 deletions
This file was deleted.

example/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
F64AA91C6A519AA11DE4011A /* Pods-Runner.release.xcconfig */,
9595
6DF508081457A5968FC6D880 /* Pods-Runner.profile.xcconfig */,
9696
);
97-
name = Pods;
9897
path = Pods;
9998
sourceTree = "<group>";
10099
};
@@ -416,6 +415,7 @@
416415
isa = XCBuildConfiguration;
417416
baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
418417
buildSettings = {
418+
ARCHS = x86_64;
419419
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
420420
CLANG_ENABLE_MODULES = YES;
421421
CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
@@ -542,6 +542,7 @@
542542
isa = XCBuildConfiguration;
543543
baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
544544
buildSettings = {
545+
ARCHS = x86_64;
545546
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
546547
CLANG_ENABLE_MODULES = YES;
547548
CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
@@ -562,6 +563,7 @@
562563
isa = XCBuildConfiguration;
563564
baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
564565
buildSettings = {
566+
ARCHS = x86_64;
565567
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
566568
CLANG_ENABLE_MODULES = YES;
567569
CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;

0 commit comments

Comments
 (0)