Detect Physical iOS device without Xcode
Summary: This diff adds the support of detecting physical device in Flipper even if the xcode is not installed and there is no cli tool installed. See the demo. Reviewed By: timur-valiev Differential Revision: D26816588 fbshipit-source-id: 5f052998fcbe5c51385222d16df0e1855177b552
This commit is contained in:
committed by
Facebook GitHub Bot
parent
11879c127b
commit
a2d559c8c0
@@ -425,7 +425,10 @@ export default class CertificateProvider {
|
||||
return Promise.resolve(matches[1]);
|
||||
}
|
||||
return iosUtil
|
||||
.targets(this.store.getState().settingsState.idbPath)
|
||||
.targets(
|
||||
this.store.getState().settingsState.idbPath,
|
||||
this.store.getState().settingsState.enablePhysicalIOS,
|
||||
)
|
||||
.then((targets) => {
|
||||
if (targets.length === 0) {
|
||||
throw new Error('No iOS devices found');
|
||||
|
||||
Reference in New Issue
Block a user