+1
I'm running Xcode 8 Beta 6 and iOS 10 Beta 8 and have the application group properly set on both iOS container app and notification container extension. The app is built and signed properly.
Running the app on device results in the following error when I try to either read or write to a NSUserDefaults instance instantiated with initWithSuiteName:
[User Defaults] Failed to read values in CFPrefsPlistSource<0x1742fba00> (Domain: xxxx, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null)): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
If I am writing then I get the following additional error:
[User Defaults] Attempt to set a non-property-list object {
8400 = 1;
} as an NSUserDefaults/CFPreferences value for key kUserDefaultsFeatureTrackingKey
However the object I am writing to NSUserDefaults is a standard NSDictionary with NSNumber as key and NSString as value.
Did anyone succeed in getting NSUserDefaults with App Groups working properly on iOS 10?
Thanks!