Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 778
aslisabanci Avatar asked Sep 27 '12 08:09

aslisabanci


4 Answers

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.

like image 106
XJones Avatar answered Nov 05 '22 02:11

XJones


You can reset you simulator configuration from iOS Simulator-> Reset Content and Settings... This will delete all your data on simulator

like image 8
nyanev Avatar answered Nov 05 '22 01:11

nyanev


I have this problem with iPhone/iPad 6.0 simulator. I have Lion and xcode 4.5.2 . The way I solved it was after clicking on the X, to use menu to invoke slide to lock, then unlock it. Then the delete msg box will appear and I can confirm the delete.

I sometimes had to rotate left or right before slide to lock would show after invoking the menu.

like image 3
mark Avatar answered Nov 05 '22 00:11

mark


This occours more if app is running on simulator . so first stop the application then delete the app. may save your time

like image 2
Saad Ur Rehman Avatar answered Nov 05 '22 01:11

Saad Ur Rehman