App Groups problem

I have an app with CallKit Extension and when I try to pass data from ViewController to the Directory Extension with App Groups and UserDefaults I have this error:



2017-11-12 13:42:07.199664+0100 CallKitTest[6851:2093165] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x101a25f60> (Domain: group.com.rubenfernandez.CallKitTest, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd



Any ideas?


Thanks!

Answered by DTS Engineer in 277708022

Is the only thing of concern here the log message? Or is

UserDefaults
actually failing?

Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Accepted Answer

Is the only thing of concern here the log message? Or is

UserDefaults
actually failing?

Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"