Add physical iOS support to internal build

Summary: Adds support for physical iOS devices, when the necessary dependencies are present. Unfortunately these aren't open sourced yet so the open source build won't get this feature yet.

Reviewed By: priteshrnandgaonkar

Differential Revision: D13001473

fbshipit-source-id: d8c2bcd53b7972bec676717c8af0112800b918d0
This commit is contained in:
John Knox
2018-12-03 11:32:38 -08:00
committed by Facebook Github Bot
parent 8d93946739
commit 40f50d48e3
22 changed files with 603 additions and 89 deletions

View File

@@ -55,6 +55,9 @@ export default class IOSDevice extends BaseDevice {
}
startLogListener(retries: number = 3) {
if (this.deviceType === 'physical') {
return;
}
if (retries === 0) {
console.error('Attaching iOS log listener continuously failed.');
return;