Mr. Noddy
Mr. Noddy

Reputation: 1590

How to change default settings of Ionic build ios command?

I have setup a gulp process to deploy my ionic application. Using gulp process I run ionic build ios to make build or cordova build ios --device to generate ipa, but it makes my build/IPA with default setting always which results in increased IPA size(almost 10-12 MB) and takes more time to upload/download to iTunes, for e.g

We can change settings through XCode, but I want to take charge of all this setting on command line. Is there any possible way to make this happen? or are there any command which takes such parameters?

Please help..!!

Upvotes: 2

Views: 2081

Answers (1)

Hardik Vaghani
Hardik Vaghani

Reputation: 2173

Please check this article. It has all the configuration related to cordova project which is mainly handled by config.xml.

https://cordova.apache.org/docs/en/latest/config_ref/

<preference name="deployment-target" value="7.1.2" />

Refer this answer and this too.

Regards.

Upvotes: 1

Related Questions