Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 918
Gobi M Avatar asked May 13 '15 05:05

Gobi M


1 Answers

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"
like image 141
Carlos Román Avatar answered Sep 23 '22 04:09

Carlos Román