When I run cordova run ios --device --list is always empty

$ cordova run ios --device --list
Available ios devices:

Any special requirement I need to make this to work?

Looking at the code this is not using ios-deploy to list the ios devices
plug to usb.

Is using [1] something weird like: system_profiler SPUSBDataType | sed -n
-e \'/iPad/,/Serial/p\' | grep "Serial Number:" | awk -F ": " \'{print $2 "
iPad"}\''

I'm running Yosemite 10.10.2

[1] :
https://github.com/apache/cordova-ios/blob/master/bin/templates/scripts/cordova/lib/list-devices#L33

I can run ios-deploy and see the device is connected.

$ ios-deploy -c
[....] Waiting up to 5 seconds for iOS device to be connected
[....] Found iPhone 6 Plus 'Carlos iPhone'
(863d93714ea635453646d23e2dccf4fbd5986ad0) connected through USB.

-- 
Carlos Santana
<[email protected]>

Reply via email to