File tree 6 files changed +8
-16
lines changed
ios_host_app/Host.xcodeproj
ios_host_app_swift/Host.xcodeproj
6 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 447
447
DEBUG_INFORMATION_FORMAT = dwarf;
448
448
ENABLE_STRICT_OBJC_MSGSEND = YES;
449
449
ENABLE_TESTABILITY = YES;
450
- "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
451
450
GCC_C_LANGUAGE_STANDARD = gnu11;
452
451
GCC_DYNAMIC_NO_PIC = NO;
453
452
GCC_NO_COMMON_BLOCKS = YES;
Original file line number Diff line number Diff line change 3
3
archiveVersion = 1;
4
4
classes = {
5
5
};
6
- objectVersion = 51 ;
6
+ objectVersion = 50 ;
7
7
objects = {
8
8
9
9
/* Begin PBXBuildFile section */
56
56
5EF266650049BC10ECFD8C86 /* Pods-Host.debug.xcconfig */,
57
57
A412A4193ADC80C963762A82 /* Pods-Host.release.xcconfig */,
58
58
);
59
+ name = Pods;
59
60
path = Pods;
60
61
sourceTree = "<group>";
61
62
};
199
200
name = "[CP-User] Run Flutter Build hello Script";
200
201
runOnlyForDeploymentPostprocessing = 0;
201
202
shellPath = /bin/sh;
202
- shellScript = "set -e\nset -u\nsource \"${SRCROOT}/../hello/.ios/Flutter/flutter_export_environment.sh\"\n\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/xcode_backend.sh build\n ";
203
+ shellScript = "set -e\nset -u\nsource \"${SRCROOT}/../hello/.ios/Flutter/flutter_export_environment.sh\"\n\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/xcode_backend.sh build";
203
204
};
204
205
96286B727046BA8457A788D0 /* [CP] Copy Pods Resources */ = {
205
206
isa = PBXShellScriptBuildPhase;
390
391
buildSettings = {
391
392
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
392
393
CODE_SIGN_STYLE = Automatic;
393
- "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
394
394
INFOPLIST_FILE = Host/Info.plist;
395
395
LD_RUNPATH_SEARCH_PATHS = (
396
396
"$(inherited)",
Original file line number Diff line number Diff line change @@ -68,9 +68,6 @@ def flutter_additional_ios_build_settings(target)
68
68
# When deleted, the deployment version will inherit from the higher version derived from the 'Runner' target.
69
69
# If the pod only supports a higher version, do not delete to correctly produce an error.
70
70
build_configuration . build_settings . delete 'IPHONEOS_DEPLOYMENT_TARGET' if inherit_deployment_target
71
-
72
- # Apple Silicon ARM simulators not yet supported.
73
- build_configuration . build_settings [ 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' ] = 'arm64 i386'
74
71
end
75
72
end
76
73
Original file line number Diff line number Diff line change @@ -108,9 +108,7 @@ void _updateGeneratedEnvironmentVariablesScript({
108
108
localsBuffer.writeln ('#!/bin/sh' );
109
109
localsBuffer.writeln ('# This is a generated file; do not edit or check into version control.' );
110
110
for (final String line in xcodeBuildSettings) {
111
- if (! line.contains ('[' )) { // Exported conditional Xcode build settings do not work.
112
- localsBuffer.writeln ('export "$line "' );
113
- }
111
+ localsBuffer.writeln ('export "$line "' );
114
112
}
115
113
116
114
final File generatedModuleBuildPhaseScript = useMacOSConfig
@@ -211,9 +209,6 @@ List<String> _xcodeBuildSettingsLines({
211
209
if (useMacOSConfig) {
212
210
// ARM not yet supported https://github.com/flutter/flutter/issues/69221
213
211
xcodeBuildSettings.add ('EXCLUDED_ARCHS=arm64' );
214
- } else {
215
- // Apple Silicon ARM simulators not yet supported.
216
- xcodeBuildSettings.add ('EXCLUDED_ARCHS[sdk=iphonesimulator*]=arm64 i386' );
217
212
}
218
213
219
214
for (final MapEntry <String , String > config in buildInfo.toEnvironmentConfig ().entries) {
Original file line number Diff line number Diff line change @@ -683,14 +683,12 @@ Information about project "Runner":
683
683
684
684
final String contents = config.readAsStringSync ();
685
685
expect (contents.contains ('ARCHS=armv7' ), isTrue);
686
- expect (contents.contains ('EXCLUDED_ARCHS[sdk=iphonesimulator*]=arm64 i386' ), isTrue);
687
686
688
687
final File buildPhaseScript = fs.file ('path/to/project/ios/Flutter/flutter_export_environment.sh' );
689
688
expect (buildPhaseScript.existsSync (), isTrue);
690
689
691
690
final String buildPhaseScriptContents = buildPhaseScript.readAsStringSync ();
692
691
expect (buildPhaseScriptContents.contains ('ARCHS=armv7' ), isTrue);
693
- expect (buildPhaseScriptContents.contains ('"EXCLUDED_ARCHS' ), isFalse);
694
692
});
695
693
696
694
testUsingOsxContext ('sets TRACK_WIDGET_CREATION=true when trackWidgetCreation is true' , () async {
Original file line number Diff line number Diff line change @@ -41,7 +41,10 @@ void main() {
41
41
42
42
// Config is updated if command succeeded.
43
43
expect (generatedConfig, exists);
44
- expect (generatedConfig.readAsStringSync (), contains ('DART_OBFUSCATION=true' ));
44
+ expect (generatedConfig.readAsStringSync (), allOf (
45
+ contains ('DART_OBFUSCATION=true' ),
46
+ isNot (contains ('EXCLUDED_ARCHS' )),
47
+ ));
45
48
46
49
// file that only exists if app was fully built.
47
50
final File frameworkPlist = fileSystem.file (
You can’t perform that action at this time.
0 commit comments