Running the latest version of XCode, I run into the problem that when I try to start apps on the simulator multiple times. I have to quit the actual running app by clicking twice on the home button (multitasking task manager) in the simulator and quit the app. Otherwise a new 'build and run' simply opens the current running app in the simulator again (and in the same state as before). Where can I change that behavior?
A:
Step 1. Reset your iPhone simulator Step 2. Press Cmd + Shift + K ( Clean all targets ) Step 3. Remove Build directory from your project source directory. Step 4. Xcode Menu - Empty Cache Step 5. Quit iPhone Simulator. Step 6. Build your project & run.
Edit : You should quit simulator - before you click on Build & go option for that.
Check below given image to reset your iPhone simulator.
sugar
2010-07-10 04:39:42
Hi! Thanks for the quick response. But I dont want to do all these steps everytime I want to try something on the simulator. In former times it was possible just to press the build and run button to quit the actual running app on the simulator and restart with the new one. Now, the old is still running and dont quit.
Stefan Mayr
2010-07-10 04:47:04
sugar
2010-07-10 04:59:07
+2
A:
If you quit the simulator between builds, it should always re-install the app when you build and run.
chrispix
2010-07-10 06:03:02