Reputation: 681
I have finished building and compiling the Android version of the application from my windows laptop.
But to run it on IOS, am I supposed to copy the application folder to a MAC computer and run "ionic run ios"?
Upvotes: 1
Views: 218
Reputation: 542
Follow these steps.
Check whether Ionic is already installed in Mac by typing ionic -v
.
If Ionic is already installed, type the following commands:
ionic platform add ios
.
ionic build ios
.
If Ionic is not installed yet,
First install Node.js in Mac.
Then install Cordova and Ionic by using this command:
npm install -g cordova ionic
Once done with the installation, use the above commands for adding platform and build.
Then you will able to see Xcode file in platform folder iOS.
Then you can ask iOS developer to generate ipa file for iOS build.
Upvotes: 2
Reputation: 1635
You should add ionic ios platform before build
ionic platform add ios
Read this link : Ionic build
Upvotes: 1