Reputation: 130
My problem is about changes in xcode for a new version of a IOS app.
Step 1 :
In terminal : cordova build ios.
Step 2 :
I open it on xcode (.xcode file)
Step 3 :
I do a archive build (for dev test)
Step 4 :
I do a change on my controller.js for example in xcode. (simple alert('test')) Step 5 :
I RE do a archive build... But it's like nothing has changed.
Where is my problem ? Do I have to rebuild cordova build ios EACH time ?
Upvotes: 0
Views: 425
Reputation: 1628
when you open the .xcode file in the project structure you will see the Staging folder which has www folder of the project.
Changes will only reflect when you have done the changes in staging folder. then just run the app through xcode no need for any cli command.
hope this will help
Upvotes: 2
Reputation: 53301
For propagating changes you just have to run
cordova prepare ios
, it's going to be faster that a full build.
BTW, you don't need to archive, just hit the run button (triangle) and if you have a device connected it will install and run the app
Upvotes: 1