This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 3 files changed +5
-22
lines changed
Scenarios.xcodeproj/xcshareddata/xcschemes
3 files changed +5
-22
lines changed Original file line number Diff line number Diff line change 28
28
selectedLauncherIdentifier = " Xcode.DebuggerFoundation.Launcher.LLDB"
29
29
shouldUseLaunchSchemeArgsEnv = " YES"
30
30
systemAttachmentLifetime = " keepNever" >
31
- <AdditionalOptions >
32
- <AdditionalOption
33
- key = " NSZombieEnabled"
34
- value = " YES"
35
- isEnabled = " YES" >
36
- </AdditionalOption >
37
- <AdditionalOption
38
- key = " MallocScribble"
39
- value = " "
40
- isEnabled = " YES" >
41
- </AdditionalOption >
42
- </AdditionalOptions >
43
31
<Testables >
44
32
<TestableReference
45
33
skipped = " NO"
Original file line number Diff line number Diff line change @@ -81,17 +81,12 @@ - (BOOL)application:(UIApplication*)application
81
81
return [super application: application didFinishLaunchingWithOptions: launchOptions];
82
82
}
83
83
84
- // TODO(https://github.com/flutter/flutter/issues/72019) Sharing threads doesn't work correctly yet
85
- // so we need to keep the Spawning engine alive. Once this issue is fixed we can remove s_spawner.
86
- static FlutterEngine* s_spawner;
87
-
88
84
- (FlutterEngine*)engineForTest : (NSString *)scenarioIdentifier {
89
85
if ([scenarioIdentifier isEqualToString: @" spawn_engine_works" ]) {
90
- if (s_spawner == nil ) {
91
- s_spawner = [[FlutterEngine alloc ] initWithName: @" FlutterControllerTest" project: nil ];
92
- [s_spawner run ];
93
- }
94
- return [s_spawner spawnWithEntrypoint: nil libraryURI: nil ];
86
+ FlutterEngine* spawner = [[FlutterEngine alloc ] initWithName: @" FlutterControllerTest"
87
+ project: nil ];
88
+ [spawner run ];
89
+ return [spawner spawnWithEntrypoint: nil libraryURI: nil ];
95
90
} else {
96
91
FlutterEngine* engine = [[FlutterEngine alloc ] initWithName: @" FlutterControllerTest"
97
92
project: nil ];
Original file line number Diff line number Diff line change 36
36
cd ios/Scenarios
37
37
set -o pipefail && xcodebuild -sdk iphonesimulator \
38
38
-scheme Scenarios \
39
- -destination ' platform=iOS Simulator,name=iPhone 8' \
39
+ -destination ' platform=iOS Simulator,OS=13.0, name=iPhone 8' \
40
40
test \
41
41
FLUTTER_ENGINE=" $FLUTTER_ENGINE "
You can’t perform that action at this time.
0 commit comments