cnak2
cnak2

Reputation: 1841

Ionic build on mac not updating to latest code

I don't get it!

I've been working with Ionic 3 for months now. I've had no trouble with builds. But for some reason now, every time I build I get the same version of code I previously had.

I've update cordova, so I have cordova 8. I've deleted my ios platform and rebuild I've done everything I can think of, and still I can't get the code to update through 'ionic cordova run ios' or through resetting versions and rebuilding through XCode.

I see others have run into this and none of their solutions have worked.

Has anyone figured out what's going on???

Upvotes: 2

Views: 1844

Answers (3)

Adway Lele
Adway Lele

Reputation: 394

Another solution is to run following:

cordova clean

Upvotes: 1

xenospn
xenospn

Reputation: 13

Did you update your Xcode to a beta version? This happened to me after I had updated to Xcode 10 Beta and I had to revert back to Xcode 9. Check your 'xcode-select' output and reset it to the defaults.

Upvotes: 0

BRass
BRass

Reputation: 3838

This is a big stretch, but I've run into this when using things like Code Push. I'll deploy my latest code to the device, forgetting that after startup Code Push will just go out and grab whatever code I deployed to Code Push last.

Upvotes: 4

Related Questions