Nouf
Nouf

Reputation: 773

How to run ionic app on IOS device

I open my ionic app folder then platforms->ios->HelloCordova.xcodeproj then it open in my Xcode and when I try to run the app get this two error

enter image description here

Upvotes: 4

Views: 7867

Answers (1)

Shah Nilay
Shah Nilay

Reputation: 798

Below is the useful commands for running ionic app in iOS device.

1. Build app
$ ionic build iOS

2. Run app in simulator
$ ionic emulate iOS

3. Run app in device. (First attach developer certificates with appropriate project from XCode. You have to set these certificates from project Navigators in Build Settings tab)
$ ionic run ios --device



Upvotes: 5

Related Questions