[英]cordova run ios --device not launching app to device
I have configured for Cordova 5.0 and started using for iOS application.我已经为 Cordova 5.0 进行了配置并开始用于 iOS 应用程序。 Successfully creating and running app on simulator.
在模拟器上成功创建和运行应用程序。 For device i am using Xcode to launch app.
对于设备,我使用 Xcode 来启动应用程序。
ios-deploy -c:
result ios-deploy -c:
结果
[....] Waiting for iOS device to be connected
[....] Found iPad 2 'Ipad' (DeviceID) connected through USB.
[....] Found (null) connected through USB.
While launching with device using command使用命令启动设备时
cordova run ios --device
Successfully build application and shows the成功构建应用程序并显示
** BUILD SUCCEEDED **
[....] Waiting for iOS device to be connected
[....] Found iPad 2 'IPad' (deivceId) connected through USB.
run
And it is not installing app on device.它不是在设备上安装应用程序。 I also tried
cordova run ios --target="Ipad"
cordova run ios --device --target="Ipad"
also not working我也试过
cordova run ios --target="Ipad"
cordova run ios --device --target="Ipad"
也不起作用
Also for ios-deploy my iphone is not visible returns Found (null) connected through USB.
同样对于 ios-deploy,我的 iphone 不可见返回
Found (null) connected through USB.
Ipad version: 7.x, iphone version: 8.x, ios-deploy version: 1.6.0 Ipad 版本:7.x,iphone 版本:8.x,ios-deploy 版本:1.6.0
Run this command in your Terminal (over your cordova app folder):在您的终端中运行此命令(通过您的cordova 应用程序文件夹):
Find and replace: YOUR_APP_NAME_BUNDLE, to your app name, over this path:在此路径上查找并替换:YOUR_APP_NAME_BUNDLE 到您的应用程序名称:
ios-deploy --bundle "platforms/ios/build/device/YOUR_APP_NAME_BUNDLE.ipa"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.