since iOS 10 (with iOS 9 everything was ok) i have an problem with the NSUserDefaults
.
I already asked Google, but didn't get a solution for this.
When i want to save something to userDefaults sometimes this code appears and everything after that will not be saved:
"[User Defaults] Failed to write value for key xxx in CFPrefsPlistSource<0x1700f3680> (Domain: xxx, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null)): Path not accessible, switching to read-only"
My programm runs on device and it also appears without being connected to Xcode.
I hope someone did solve this issue. Thank you!