The user defaults are not cleared on deleting an app in XCode 6 iOS 8 simulator. The user defaults are cleared only on resetting the simulator. In iOS 7 simulator, this is not a problem at all. Any other solution rather than resetting the simulator?
Asked
Active
Viewed 416 times
1
-
What is your question? – Rugmangathan Nov 12 '14 at 06:46
-
I guess his question would be "Is this a bug, and if not, what am I doing wrong?" – Nicolas Miari Nov 12 '14 at 06:51
-
Wasn't this fixed in Xcode 6.1? – rmaddy Nov 12 '14 at 06:52
-
I think this fixed in Xcode 6.1 and simulator iOS 8.1. – Parag Shinde Nov 12 '14 at 06:58
3 Answers
1
Yes, i too observed that in iOS 8 simulator ...do this for clearing NSUserDefaults data.
iOS Simulator ---> Reset Content and Settings… ---> Ok

Teja Kumar Bethina
- 3,486
- 26
- 34
0
This is a bug in the iOS 8.0 simulator runtime as mentioned in multiple other posts here on Stack Overflow, Apple's Dev Forums, and the Xcode 6 Release Notes which indicate that the issue is fixed in the iOS 8.1 simulator runtime.
Deleting an app from iOS Simulator now deletes user defaults as expected. (18307910)

Jeremy Huddleston Sequoia
- 22,938
- 5
- 78
- 86
-1
Clear the /Library/Developer/Xcode/DerivedData folder.
Also reset the simulator. And clean and build the Xcode.
Hope this may help you.

Neenu
- 6,848
- 2
- 28
- 54