How to build Ios with an IONIC project

Asked

Viewed 3,693 times

0

Good afternoon,

I’m on a project made in Ionic , nodejs and Mongodb. I have access to the code, which are in the BITBUCKET repository but I do not know how to create the project build in Xcode (because I use MACOS). Does anyone know how to generate this blessed app to run on my iPhone, the programs I need to download in order to do this, step by step to build.

ATT,

3 answers

0

0

Just inside the project folder you run the following commands:

ionic cordova platform add ios
ionic cordova build ios --prod --release

The platform will be added for Ios, the --Prod indicates that it is for production and the --release a release compilation with Cordova.

0

Check if you already have Node.js installed, if not, download here

https://nodejs.org/en/

With the terminal open, install Ionic

npm install -g cordova ionic

If you already have both installed, perform an update

npm update -g cordova ionic

With the environment set up, you can now build and run your application.

First add the platform

ionic cordova platform add ios  

Inside the project folder, run the following command

ionic cordova run ios

Browser other questions tagged

You are not signed in. Login or sign up in order to post.