| /expo/packages/@expo/cli/src/start/platforms/ios/__tests__/ |
| H A D | promptAppleDevice-test.ts | 12 { udid: 'abc' }, 13 { udid: 'def' }, 14 { udid: 'should-be-first' }, 15 { udid: 'ghi' }, 17 expect(devices[0].udid).toBe('should-be-first'); 23 { udid: 'abc' }, 24 { udid: 'def' }, 26 expect(devices[0].udid).toBe('abc');
|
| H A D | ensureSimulatorAppRunning-test.ts | 14 await ensureSimulatorAppRunningAsync({ udid: '123' }); 23 await ensureSimulatorAppRunningAsync({ udid: '123' }); 39 ensureSimulatorAppRunningAsync({ udid: '123' }, { maxWaitTime: 100 })
|
| H A D | simctl-test.ts | 48 expect(device.udid).toEqual(expect.any(String)); 67 { udid: 'FA43A0C6-C2AD-442D-B8B1-EAF3E88CF3BF' }, 86 await expect(getContainerPathAsync({ udid: undefined }, { appId: 'foobar' })).resolves.toBe( 101 await expect(getContainerPathAsync({ udid: undefined }, { appId: 'foobar' })).resolves.toBe(
|
| H A D | AppleDeviceManager-test.ts | 15 return new AppleDeviceManager(asDevice({ name: 'iPhone 13', udid: '123' })); 80 { name: 'iPhone 13', udid: '123' }, 89 { name: 'iPhone 13', udid: '123' },
|
| H A D | ApplePlatformManager-test.ts | 22 async () => new AppleDeviceManager({ udid: '123', name: 'iPhone 13' } as any) 86 { name: 'iPhone 13', udid: '123' },
|
| /expo/packages/@expo/cli/src/run/ios/appleDevice/client/ |
| H A D | UsbmuxdClient.ts | 159 async getDevice(udid?: string): Promise<UsbmuxdDevice> { 160 debug(`getDevice ${udid ? 'udid: ' + udid : ''}`); 167 if (!udid) { 172 if (device.Properties && device.Properties.SerialNumber === udid) { 177 throw new CommandError('APPLE_DEVICE_USBMUXD', `No device found (udid: ${udid})`); 180 async readPairRecord(udid: string): Promise<UsbmuxdPairRecord> { 181 debug(`readPairRecord: ${udid}`); 185 extraFields: { PairRecordID: udid }, 200 `There was an error reading pair record for device (udid: ${udid})`,
|
| /expo/packages/@expo/cli/src/start/platforms/ios/ |
| H A D | AppleDeviceManager.ts | 33 { udid, osType }: Partial<Pick<SimControl.Device, 'udid' | 'osType'>> = {}, 37 if (!udid) { 49 udid = bestUdid; 55 assert(udid); 56 return SimControl.bootAsync({ udid }); 63 return await ensureSimulatorOpenAsync({ udid, osType }, false); 96 return this.device.udid; 107 return ensureSimulatorOpenAsync({ osType: this.device.osType, udid: this.device.udid }); 127 `npx expo run:ios -d ${this.device.udid}` 198 `Device ${this.device.name} (${this.device.udid}) has no app to handle the URI: ${url}`
|
| H A D | promptAppleDevice.ts | 20 while (devices[0].udid !== defaultId && iterations < devices.length) { 35 return devices.find(({ udid }) => results === udid)!; 52 value: item.udid,
|
| H A D | getBestSimulator.ts | 33 simulatorOpenedByApp?.udid && 73 const defaultSimulator = simulators.find((device) => device.udid === defaultId); 80 return simulators[0]?.udid ?? null; 103 return simulatorOpenedByApp.udid;
|
| H A D | ensureSimulatorAppRunning.ts | 67 async function openSimulatorAppAsync(device: { udid?: string }) { 69 if (device.udid) { 71 args.push('--args', '-CurrentDeviceUDID', device.udid);
|
| H A D | simctlLogging.ts | 94 SimulatorLogStreamer.cache.find((streamer) => streamer.device.udid === device.udid) ?? 112 return getImageNameFromBundleIdentifierAsync(this.device.udid, this.resolver.appId); 121 throw new CommandError(`Could not find pid for ${this.device.udid}`); 128 this.device.udid, 287 udid: string, 290 const containerPath = await getContainerPathAsync({ udid }, { appId: bundleIdentifier });
|
| H A D | simctl.ts | 22 udid: string; 127 await bootDeviceAsync({ udid: resolveId(device) }); 182 if (device.udid) { 183 return devices.find((bootedDevice) => bootedDevice.udid === device.udid) ?? null; 193 await simctlAsync(['boot', device.udid]); 277 return device.udid ?? 'booted';
|
| /expo/packages/@expo/cli/src/run/ios/options/ |
| H A D | resolveDevice.ts | 54 …`Resolved default device (name: ${manager.device.name}, udid: ${manager.device.udid}, osType: ${os… 85 device.udid.toLowerCase() === searchValue || device.name.toLowerCase() === searchValue 96 logDeviceArgument(device.udid); 98 return ensureSimulatorOpenAsync({ udid: device.udid });
|
| H A D | promptDevice.ts | 27 value: item.udid, 45 return devices.find((device) => device.udid === value)!;
|
| /expo/packages/@expo/cli/src/run/ios/appleDevice/__tests__/ |
| H A D | installOnDeviceAsync-test.ts | 26 udid: 'quux', 42 udid: 'quux', 59 udid: 'quux', 76 udid: 'quux',
|
| /expo/packages/@expo/cli/src/run/ios/options/__tests__/ |
| H A D | promptDevice-test.ts | 12 udid: '00008101-001964A22629003A', 25 udid: '00008101-001964A22629003A', 37 udid: 'ADEF1A93-5D20-40C3-826C-5A4E04DBBB52', 58 udid: '4DE5F2E1-C6FF-4CCE-BD27-7D40E2674066',
|
| H A D | resolveOptions-test.ts | 16 udid: '123', 29 device: { name: 'mock', udid: '123' }, 57 device: { name: 'mock', udid: '123' },
|
| H A D | resolveDevice-test.ts | 7 udid: 'ADEF1A93-5D20-40C3-826C-5A4E04DBBB52', 28 udid: '00008101-001964A22629003A', 87 (await resolveDeviceAsync(`00008101-001964A22629003A`, { osType: undefined })).udid
|
| /expo/packages/@expo/cli/src/run/ios/__tests__/ |
| H A D | runIosAsync-test.ts | 25 udid: '123', 91 device: { name: 'mock', udid: '123' }, 102 device: { name: 'mock', udid: '123' }, 116 udid: '00008101-001964A22629003A', 132 udid: '00008101-001964A22629003A', 149 udid: '00008101-001964A22629003A',
|
| H A D | launchApp-test.ts | 64 udid: '123', 80 udid: '123', 97 udid: '00008101-001964A22629003A',
|
| H A D | XcodeBuild-test.ts | 28 device: { udid: 'demo-udid', name: 'foobar' }, 58 device: { udid: 'demo-udid', name: 'foobar' },
|
| /expo/packages/@expo/cli/src/run/ios/appleDevice/ |
| H A D | installOnDeviceAsync.ts | 30 udid: string; 33 const { bundle, bundleIdentifier, appDeltaDirectory, udid, deviceName } = props; constant 39 udid,
|
| H A D | AppleDevice.ts | 21 udid: string; property 56 udid: device.Properties.SerialNumber, 64 udid, 72 udid: string; 84 const clientManager = await ClientManager.create(udid);
|
| /expo/packages/@expo/cli/src/run/ios/ |
| H A D | launchApp.ts | 26 udid: props.device.udid,
|
| H A D | XcodeBuild.types.ts | 33 device: { name: string; udid: string };
|