(device: DeviceInfo)
| 348 | } |
| 349 | |
| 350 | function appleDeviceSelectionRank(device: DeviceInfo): number { |
| 351 | if (device.kind === 'simulator') return appleTargetSelectionRank(device, 0, 1, 2, 3); |
| 352 | if (device.kind === 'device' && isApplePlatform(device.platform) && !isMacOs(device)) |
| 353 | return appleTargetSelectionRank(device, 10, 11, 12, 13); |
| 354 | return 14; |
| 355 | } |
| 356 | |
| 357 | function appleTargetSelectionRank( |
| 358 | device: DeviceInfo, |
no test coverage detected