Error with ionic run IOS

0

I want to run my app on my iphone and I get the following error when running ionic run ios
 '

  

** BUILD SUCCEEDED **

     

[....] Waiting up to 1 seconds for iOS device to be connected

     

[....] Found iPhone 5s (Global / CDMA) 'Claudia'   (d5fbe771c3dfeb66cdd926de40b2937772896845) connected through USB.

     

2016-11-17 22: 41: 58,516 ios-deploy [3074: 92100] [!! ] Can not access app   path   '/Users/Hernan/Desktop/cap/saltala/firebase/master/platforms/ios/build/device/casaco.app'   : No such file or directory

     

Error: Error code 253 for command: ios-deploy with args:   --justlaunch, - no-wifi, -d, -b, / Users / Hernan / Desktop / cap / skip / firebase / master / platforms / ios / build / device / casaco.app '

    
asked by Hernan Humaña 18.11.2016 в 02:43
source

1 answer

0

There are many issue on this topic. In order to run an app iOS you must have a developer profile, which is signed by the application. In this case I recommend that you first do the following:

  • Run ionic build ios
  • Open your application in XCode. (You can find it in ./platforms/ios /
  • Wait for everything to load, connect your device to the Mac, in the upper right corner it will show which device you want to run.
  • Here are 2 options
    • 1) Select yours and give it Play. Usually the first time I will fail and I will give you the error that I tell you. You must select the option that says "Solve it" or something like that. You wait for you to load and you can execute it.
    • 2) If your device has the latest version of iOS and your device does not, you must update. XCode will tell you that it can not compile and you must update XCode.

Now with this, after being able to execute it on your device from XCode, to run from Ionic you can occupy ionic run ios --device

    
answered by 18.11.2016 в 04:08