We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b0362b + e78783d commit a8740c1Copy full SHA for a8740c1
lib/iphone-simulator-xcode-simctl.ts
@@ -194,14 +194,14 @@ export class XCodeSimctlSimulator extends IPhoneSimulatorNameGetter implements I
194
195
public async startSimulator(options: IOptions, device?: IDevice): Promise<void> {
196
if (!device && options.device) {
197
- this.verifyDevice(options.device);
+ await this.verifyDevice(options.device);
198
}
199
200
device = device || await this.getDeviceToRun(options);
201
202
// In case the id is undefined, skip verification - we'll start default simulator.
203
if (device && device.id) {
204
- this.verifyDevice(device);
+ await this.verifyDevice(device);
205
206
207
if (!device || !device.runtimeVersion || !device.fullId) {
0 commit comments