I create keyboard extension, and in need to get access to CoreData. It works well from container app AppDelegate. But from extension I can't gain access to data. First of all I need instance of NSManagedObjectContext, which I don't have.
So how can I obtain this context by using AppGroup or something else?
By the way, when extension start it print in log next message:
Warning: CFFIXED_USER_HOME is not set! It should be set to the simulated home directory.
Failed to inherit CoreMedia permissions from 16808: (null)
What can be wrong with it?