Error when run ionic run --device ios


#1

Hi all, when I run

ionic run ios --device 

I receice this:

....
** BUILD SUCCEEDED **

[....] Waiting up to 5 seconds for iOS device to be connected
[....] Found iPhone 4S 'Zblabs' (CODE ID) connected through USB.
[....] Waiting for iOS device to be connected
[....] Using iPhone 4S 'Zblabs' (CODE ID).
........
[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 60%] TakingInstallLock
[ 65%] PreflightingApplication
[ 65%] InstallingEmbeddedProfile
[ 70%] VerifyingApplication
2015-07-20 01:29:56.370 ios-deploy[41460:2313061] [ !! ] Error 0xe8008016: @«Myˇ AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
Error code 253 for command: ios-deploy with args: -d,-b,/Users/michel/LAVORI/bastardidentro/app/bdApp_iSO_0.1/platforms/ios/build/device/BastardiDentro app.app
ERROR running one or more of the platforms: Error: /Users/michel/LAVORI/bastardidentro/app/bdApp_iSO_0.1/platforms/ios/cordova/run: Command failed with exit code 2
You may not have the required environment or OS to run this project

My iOS is an iPhons 4s with ios 8.2.

Where is my error ? Thanks.

M.


#2

This is most probably a Provisioning Profile Issue. Try to build the app using Xcode once and then try again.

Refernce: https://github.com/phonegap/ios-deploy/issues/130


#3

Hey I’ve the same problem, The thing is when I build with Xcode it’s working well but I’d like to work with the liveloader and cordova CLI. So How can I fixed this ?

Thanks.


#4

I Hope this will help you