I've been working on a Content Blocking application for some time now. I have a switch in the main app that should turn of the blocking filter. The value of this switch is saved in an NSUserDefaults property that's enabled with App Groups so the blocking extension can read whether it's enabled or not (if blocking is enabled it returns a full json list and if not it returns an empty one).
On Simulator this works just fine, but when I start running it on a device (tested on 5s and 5c) the extension can't read the properties from the UserDefaults anymore (it always returns nil) and the application can't read the properties from the extension anymore.
I think it has something to do with the App Groups, but I can't seem to find any problems with that (it's enabled in Capibilities etc.) so I'm a bit lost. Has anyone ever had this problem? If so, were you able to fix it?
I'm using Xcode 7 beta, iOS 9 beta2 and Mac OS X Yosemite.