NSUserDefaults not deleted when app is deleted in simulator

Originator:cfleser
Number:rdar://18540702 Date Originated:03-Oct-2014
Status:Dupe. Closed Resolved:
Product:iOS Simulator Product Version:8.0
Classification:Serious Bug Reproducible:Yes
 
Summary:
NSUserDefaults are not deleted when an app is deleted from the simulator running iOS 8. NSUserDefaults are deleted when an app is deleted from the simulator running iOS 7.1 as well as from a device regardless which version of iOS is running.

Steps to Reproduce:
1. Create / install an application that stores values in NSUserDefaults and run the application.
2. Delete the application
3. Re-install and launch the app and before storing any values in NSUserDefaults, note that they are already present.

I've included a sample app that you can use to confirm this.

Expected Results:
Expected behavior is for user defaults to be removed upon app deletion as it does in iOS 7 and on the device. 

Actual Results:
User defaults is not deleted.

Version:
Xcode 6.0.1 (6A317) / OS X 10.9.5 (13F34)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!