Solve the bug where iOS physical device was not detected
Summary:
As per the title
Bug:
{F288338655}
Reviewed By: mweststrate
Differential Revision: D23168390
fbshipit-source-id: e57ac1f22c0a3932fe9948d16cf9fc9cc74ab636
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6170bfea41
commit
2e98c7f3c7
@@ -64,6 +64,7 @@ async function targets(idbPath: string): Promise<Array<DeviceTarget>> {
|
||||
return safeExec(`${idbPath} list-targets --json`).then(({stdout}) =>
|
||||
stdout
|
||||
.toString()
|
||||
.trim()
|
||||
.split('\n')
|
||||
.map((line) => line.trim())
|
||||
.map((line) => JSON.parse(line))
|
||||
|
||||
Reference in New Issue
Block a user