We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff150f8 commit e4e9214Copy full SHA for e4e9214
lib/iphone-simulator-xcode-simctl.ts
@@ -134,9 +134,16 @@ export class XCodeSimctlSimulator extends IPhoneSimulatorNameGetter implements I
134
}
135
136
} catch (e) {
137
+ // ingore
138
139
- await this.simctl.terminate(deviceId, appIdentifier);
140
+ try {
141
+ await this.simctl.terminate(deviceId, appIdentifier);
142
+ } catch (e) {
143
+ // sometimes simctl can fail and return a non-zero exit code
144
+ // in most cases we should be fine to ignore it and continue
145
+ // todo: find cases where this may break things down the line
146
+ }
147
utils.sleep(0.5);
148
149
delete XCodeSimctlSimulator.stoppingApps[appKey];
0 commit comments