I’m having a huge issue. None of my changes I am making to my views are being built when I build iOS. I run sudo cordova build ios. Then I open Xcode and “sign” it. I then run from Xcode to my test device. But no changes are made. Even when I remove the iOS platform, add it back, rebuild iOS, run from Xcode, my changes still have not taken effect in the build. Am I missing something?
- try and perform “ionic serve” so it republishes the files,
- then “cordova platform rm ios”
- followed by “cordova platform add ios”.
If that doesn’t work, remove the www folder from the project files, and repeat the above steps.
Hope that fixes the issue for you.
It seems to have fixed my problem! However do I have to do all this every time I make a change and want to test on a device?
Make a change, and try and rebuild iOS app without the steps I mentioned and see if you do. If it doesn’t show the latest version, perhaps remove node_modules folder from your project and run npm install. If that doesn’t fix it, perhaps re-install Ionic.
Okay thanks for the tips!