| /expo/packages/@expo/cli/src/start/platforms/ios/ |
| H A D | getBestSimulator.ts | 27 osType, 34 (!osType || (osType && simulatorOpenedByApp.osType === osType)) 40 debug(`No booted simulator matching requirements (osType: ${osType}).`); 51 export async function getBestUnbootedSimulatorAsync({ osType }: DeviceContext = {}): Promise< 57 if (defaultId && !osType) { 61 const simulators = await getSelectableSimulatorsAsync({ osType }); 67 `No ${osType || 'iOS'} devices available in Simulator.app` 74 if (defaultSimulator?.osType === osType) { 90 return simulators.filter((device) => device.isAvailable && device.osType === osType); 100 const simulatorOpenedByApp = await getBestBootedSimulatorAsync({ osType }); [all …]
|
| H A D | promptAppleDevice.ts | 15 osType?: Device['osType'] 17 const defaultId = await getBestSimulatorAsync({ osType }); 31 osType?: Device['osType'] 33 devices = await sortDefaultDeviceToBeginningAsync(devices, osType);
|
| H A D | AppleDeviceManager.ts | 33 { udid, osType }: Partial<Pick<SimControl.Device, 'udid' | 'osType'>> = {}, 39 const simulatorOpenedByApp = await getBestBootedSimulatorAsync({ osType }); 45 const bestUdid = await getBestUnbootedSimulatorAsync({ osType }); 63 return await ensureSimulatorOpenAsync({ udid, osType }, false); 84 device = await promptAppleDeviceAsync(devices, device?.osType); 107 return ensureSimulatorOpenAsync({ osType: this.device.osType, udid: this.device.udid });
|
| H A D | simctl.ts | 33 osType: OSType; 248 const [osType, ...osVersionComponents] = runtimeSuffix.split('-'); constant 256 device.osType = osType as OSType;
|
| /expo/packages/@expo/cli/src/run/ios/options/ |
| H A D | resolveDevice.ts | 19 async function getDevicesAsync({ osType }: { osType?: OSType } = {}): Promise<AnyDevice[]> { 24 osType 31 return osType ? filterDevicesForOsType(devices, osType) : devices; 35 function filterDevicesForOsType(devices: AnyDevice[], osType: OSType): AnyDevice[] { 36 return devices.filter((device) => !('osType' in device) || device.osType === osType); 42 { osType }: { osType?: OSType } = {} 50 osType, 54 …ved default device (name: ${manager.device.name}, udid: ${manager.device.udid}, osType: ${osType})` 60 osType,
|
| H A D | resolveOptions.ts | 19 const { osType, name: scheme } = await resolveNativeSchemePropsAsync( constant 29 osType: isOSType(osType) ? osType : undefined,
|
| H A D | resolveNativeScheme.ts | 15 osType?: string; 50 value.type === IOSConfig.Target.TargetType.APPLICATION && value.osType === 'iOS';
|
| /expo/packages/@expo/cli/src/run/ios/options/__tests__/ |
| H A D | resolveNativeScheme-test.ts | 25 { name: 'foobar2', osType: 'watchOS', type: 'com.apple.product-type.application.watchapp' }, 26 { name: 'foobar', osType: 'iOS', type: 'com.apple.product-type.application' }, 40 osType: 'iOS', 46 { name: 'foobar2', osType: 'watchOS', type: 'com.apple.product-type.application.watchapp' }, 60 osType: 'watchOS', 69 { name: 'foobar', osType: 'iOS', type: 'com.apple.product-type.application' }, 74 osType: 'iOS', 87 { name: 'foobar', osType: 'iOS', type: 'com.apple.product-type.application' }, 88 { name: 'foobar2', osType: 'watchOS', type: 'com.apple.product-type.application.watchapp' }, 95 osType: 'watchOS', [all …]
|
| H A D | resolveDevice-test.ts | 15 osType: 'iOS', 60 expect((await resolveDeviceAsync(undefined, { osType: undefined })).name).toEqual('iPhone 8'); 64 expect((await resolveDeviceAsync(true, { osType: undefined })).name).toEqual(`Evan's phone`); 76 expect((await resolveDeviceAsync(`Evan's phone`, { osType: undefined })).name).toEqual( 87 (await resolveDeviceAsync(`00008101-001964A22629003A`, { osType: undefined })).udid 96 await expect(resolveDeviceAsync(`foobar`, { osType: undefined })).rejects.toThrowError(
|
| H A D | promptDevice-test.ts | 46 osType: 'iOS', 66 osType: 'iOS',
|
| /expo/packages/@expo/config-plugins/src/ios/ |
| H A D | BuildScheme.ts | 37 ): { name: string; osType: string; type: string }[] { 41 let osType = 'iOS'; variable 45 osType = 'watchOS'; 71 osType = 'tvOS'; 73 osType = 'iOS'; 81 osType,
|
| /expo/packages/@expo/cli/src/start/platforms/ios/__tests__/ |
| H A D | getBestSimulator-test.ts | 21 await expect(getBestUnbootedSimulatorAsync({ osType: 'watchOS' })).resolves.toBe( 30 await expect(getBestUnbootedSimulatorAsync({ osType: 'iOS' })).resolves.toBe(defaultUdid);
|
| H A D | simctl-test.ts | 50 expect(device.osType).toEqual(expect.stringMatching(/(iOS|watchOS|tvOS)/));
|
| /expo/packages/@expo/config-plugins/build/ios/ |
| H A D | BuildScheme.js | 46 let osType = 'iOS'; 49 osType = 'watchOS'; 65 osType = 'tvOS'; 67 osType = 'iOS'; 74 osType,
|
| H A D | BuildScheme.d.ts | 6 osType: string;
|
| H A D | BuildScheme.js.map | 1 …osType","type","unquote","productType","TargetType","WATCH","startsWith","APPLICATION","xcConfigur…
|
| /expo/packages/@expo/config-plugins/src/ios/__tests__/ |
| H A D | BuildScheme-test.ts | 34 { name: 'multitarget', osType: 'iOS', type: 'com.apple.product-type.application' }, 35 { name: 'shareextension', osType: 'iOS', type: 'com.apple.product-type.app-extension' },
|