“ionic run ios --prod” , code is not updating

I’m using the “ionic run ios --prod” but I’m running into the same issue, the code is not updating.

It’s only working when I remove and then add the ios platform…

here are my ionic infos :

@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:

Cordova CLI : 6.5.0 

local packages:

@ionic/app-scripts : 1.3.0
Cordova Platforms  : android 6.1.2 ios 4.3.1
Ionic Framework    : ionic-angular 3.0.1


ios-deploy : 1.9.1 
ios-sim    : 5.0.13 
Node       : v7.4.0
npm        : 4.3.0 
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b

This is not a valid command. Please post the exact command you are using and its output.


this is the proper command : ionic cordova build ios --prod

You might want to update this to Cordova 7.0.1 and also new plattforms.

Please post the output you get when building - maybe the reason for the not updating is hidden there.

I updated cordova with this command :npm install -g cordova and it worked!

Thanks a lot!

1 Like