I deleted the ios folder in platforms, renamed the project in config.xml, re ran
ionic cordova platform add ios
and opened the .xcodeproj in XCODE and set the team.
On running the emulator changes showed up, but on subsequent builds / runs it reverts to an old version of the app.
How do i avoid this and get the latest version running in the emulator?