Reputation: 773
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
Upvotes: 4
Views: 7867
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