开发者

iPhone simulator doesn't quit previous version of app

开发者 https://www.devze.com 2023-01-06 20:26 出处:网络
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 click开发者_如何学Cing twice on the

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 click开发者_如何学Cing 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?


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消