Search code examples
iossimulatorios6

Is iOS6 simulator buggy when deleting applications?


Frequently, when I try to delete an app on the iOS 6 simulator that comes with Xcode 4.5, the simulator freezes. What I do is just long press on the app. Delete dialog doesn't come up and the icons keep on wiggling. Quitting and re-opening the simulator does not help to delete the app.

I've tried to delete the app's folder from /Library/Application Support/iPhone Simulator/5.1/Applications folder. Sometimes this helps but sometimes even this doesn't delete the icon from the simulator.

This behavior is independent of the iOS version or the device model. It's the same whichever model/iOS I choose.

The only thing that helps is using the Reset Contents and Settings option of the simulator.

Do you experience the same frustration? If so, have you figured out a workaround besides resetting the simulator completely?


Solution

  • I've run into this as well and it only seems to be a problem for me when I have the simulator set to version = iOS 5.0 or iOS 5.1. In any case, what I did to delete my app w/o completely resetting the simulator is the following:

    1. Quit iOS Simulator
    2. In the Finder or Terminal, go to ~/Library/ApplicationSupport/iPhone Simulator/5.1
    3. Delete the folder containing the app you want to remove from the simulator
    4. Restart the simulator (or just Build + Run from XCode) and your app gone/freshly installed

    In step #2, replace "5.1" with the iOS simulator version you want to remove your app from.

    The OP mentioned that this solution didn't work. My guess is they did not do step #1. If you don't quit the simulator first, deleting the app folder may not be possible if the app is running in the simulator and won't visually show up until a restart anyway.