_From @mflmartin on November 2, 2016 21:8_
When Building for IOS with ionic build ios, the modified files of the build are not copied again into platforms/ios, in Windows 10
That they are updated.
Steps to reproduce:
insert any relevant code between the above and below backticks
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Which Ionic Version? 2.x
Run ionic info from terminal/cmd prompt: (paste output below)
Your system information:
Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.39
OS: WINDOWS 10
Node Version: v6.4.0
_Copied from original issue: driftyco/ionic-app-scripts#303_
I think it is related to the .tmp folder not being deleted after it is iused by ionic.
I can confirm that if you delete the trailing .tmp folder that gets there, then ionic prepare ios does the job.
So it might be a question of ionic doing a force remove (rimraf maybe?) of the .tmp folder after it uses it for whatever purpose, because otherwise it is doing a cache of it's contents.
Same problem here... tried the .tmp solution without success.
I'm having this same issue exactly, but it is happening on IOS too. Nothing has seemed to be working. I've tried every single google solution possible.
I am having same issue on iOS.
Running an "ionic serve" before "ionic prepare ios" does the job.
I use "ionic cordova run ios" and it updates the code.
I have the same problem with platform „browser“ on macOS Sierra. First it was working, but now i get everytime an old build.
I‘ve tried the following:
Nothing works. Please give me a hint how to solve this. Thanks.
Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue.
Thank you for using Ionic!
Most helpful comment
Running an "ionic serve" before "ionic prepare ios" does the job.