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.
1 parent a84c11a commit b091490Copy full SHA for b091490
lib/iphone-simulator-xcode-simctl.ts
@@ -187,11 +187,11 @@ export class XCodeSimctlSimulator extends IPhoneSimulatorNameGetter implements I
187
}
188
189
if (options.device && !sdkVersion) {
190
- return device.name === options.device;
+ return device.name === options.device || device.id === options.device;
191
192
193
if (options.device && sdkVersion) {
194
- return device.runtimeVersion === sdkVersion && device.name === options.device;
+ return device.runtimeVersion === sdkVersion && (device.name === options.device || device.id === options.device);
195
196
197
if (!sdkVersion && !options.device) {
0 commit comments