简体   繁体   中英

cordova run ios --device not launching app to device

I have configured for Cordova 5.0 and started using for iOS application. Successfully creating and running app on simulator. For device i am using Xcode to launch app. ios-deploy -c: result

[....] 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

Also for ios-deploy my iphone is not visible returns Found (null) connected through USB. Ipad version: 7.x, iphone version: 8.x, ios-deploy version: 1.6.0

Run this command in your Terminal (over your cordova app folder):

Find and replace: YOUR_APP_NAME_BUNDLE, to your app name, over this path:

ios-deploy --bundle "platforms/ios/build/device/YOUR_APP_NAME_BUNDLE.ipa"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM