I have an app on the store for which I want to start rewriting the entire application \"from scratch\". When I try to build and execute the new app on my device (iPhone 4) w
For simulating upgrade through App store, do the following exercise
Prepare a code signed binary (.ipa) of the new code with the same credentials as the old one (same bundle ID, dev profile, version # can be different)
Now load the binary through iTunes syncing in your device. It would upgrade on top of the existing application.
If everything goes okay then your app should be good.