3
votes

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?

2

2 Answers

2
votes

If you quit the simulator between builds, it should always re-install the app when you build and run.

0
votes

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.

alt text http://img696.imageshack.us/img696/9449/screenshot20100710at100.png