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 storearrow-up-right.

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 :

BUILD FOR IOS

To build the APK file for the project, run the following command from your command line :

If you had any problem during the build process, you can re-run the command bellow and add a new flag ``--buildFlag='-UseModernBuildSystem=0'`

circle-info

NOTE : if you have any problem during building this app for Android or IOS, you can check the official DOCSarrow-up-right from IONIC for deploying an Ionic App, Or you can check this Tutorial.arrow-up-right

Last updated

Was this helpful?