Build IOS version
INSTALL REQUIREMENT
You need the Xcode installed on your computer to build an iOS version of your application. You can install Xcode from the App store.
Once you get Xcode installed you can add support for the IOS platform by running this command :
$ ionic cordova platform add ios
RUN ON EMULATOR
After you've add IOS platform to your project, you can choose either to run the app on an emulator or a real device.
To run on an emulator :
$ ionic cordova emulate android

RUN ON REAL DEVICE
To run your app on a real device , all you have to do is enable USB debugging and Developer Mode on your Iphone device, then run from your command line :
$ ionic cordova run ios --device
BUILD FOR IOS
To build the APK file for the project, run the following command from your command line :
ionic cordova build ios
If you had any problem during the build process, you can re-run the command bellow and add a new flag ``--buildFlag='-UseModernBuildSystem=0'
`
ionic cordova build ios --buildFlag='-UseModernBuildSystem=0'
Last updated
Was this helpful?