我已经为Cordova 5.0进行了配置,并开始在iOS应用程序中使用。成功地在模拟器上创建和运行应用程序。对于设备,我正在使用Xcode启动应用程序。
ios-deploy -c:
的结果
[....] Waiting for iOS device to be connected
[....] Found iPad 2 'Ipad' (DeviceID) connected through USB.
[....] Found (null) connected through USB.
使用命令启动设备时
cordova run ios --device
成功构建应用程序并显示
** BUILD SUCCEEDED **
[....] Waiting for iOS device to be connected
[....] Found iPad 2 'IPad' (deivceId) connected through USB.
run
无法在设备上安装应用程序。
我还尝试过cordova run ios --target="Ipad"
cordova run ios --device --target="Ipad"
也不起作用。
此外,对于ios-deploy,我的iPhone不可见,返回Found (null) connected through USB.
iPad版本:7.x,iPhone版本:8.x,ios-deploy版本:1.6.0