Post

Replies

Boosts

Views

Activity

Cannot Access NSUserDefaults in App Group on Device
Hi folks,I just started building an iMessage app onto one of our iOS 10 beta developer devices, and I've run into an issue when attempting to access NSUserDefaults which are stored in our App Group's shared container.This only occurs when building directly to a device - this doesn't happen when building onto the simulator.[User Defaults] Failed to read values in CFPrefsPlistSource (Domain: group.com.company.App, User: kCFPreferencesAnyUser, ByHost: Yes, Container: null: Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsdThis is with XCode Beta 6 and iOS 10 Beta 8.Is anyone else experiencing this? I found this one SO post which seems to be what we're running into: http://stackoverflow.com/questions/38275395/failed-to-read-values-in-cfprefsplistsource-ios-10
8
1
14k
Sep ’16