I just had the same problem. There seems to be an issue with NSUserDefaults
when first running the iOS8 or 9 simulator and then the iOS10 simulator.
Rebooting the mac solved the issue for me.
More Related Contents:
- NSLog on devices in iOS 10 / Xcode 8 seems to truncate? Why?
- How to use call directory extension to identify a incoming call in my application?
- Found a strange issue. Default value of BOOL is returning TRUE for iOS 10 [closed]
- All NSUserDefaults, all in tableview
- How to store custom objects in NSUserDefaults
- Hide strange unwanted Xcode logs
- Attempt to set a non-property-list object as an NSUserDefaults
- Save string to the NSUserDefaults?
- Why NSUserDefaults failed to save NSMutableDictionary in iOS?
- Easy way to see saved NSUserDefaults?
- Clearing NSUserDefaults
- Xcode error: Code signing is required for product type ‘Application’ in SDK ‘iOS 10.0’
- App rejected due to missing usage descriptions (Xcode8)
- Layout issues after updating to Xcode 8
- What is ‘Vary for Traits’ in Xcode 8?
- SecItemAdd always returns error -34018 in Xcode 8 in iOS 10 simulator
- Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3
- Delete all keys from a NSUserDefaults dictionary iOS
- iOS 10 error [access] when using UIImagePickerController
- What is Mach-O type should I use it in my iOS Objective-C project?
- Since Xcode 8 and iOS10, views are not sized properly on viewDidLayoutSubviews
- openURL: deprecated in iOS 10
- Storing authentication tokens on iOS – NSUserDefaults vs Keychain?
- How to save NSMutablearray in NSUserDefaults
- The document Main.storyboard requires Xcode 8.0 or later
- How do I set an NSCalendarUnitMinute repeatInterval on iOS 10 UserNotifications?
- MKMapView show incorrectly saved region
- Change UITabBar height
- What is the right way to check for a null string in Objective-C?
- How to asynchronously load an image in an UIImageView?