I want to access the container application file in my custom keyboard extension through the application group function. For this purpose, I created a group identifier on my Apple portal, and also added it to both of my targets (keyboard and application). I successfully access the data through NSUserDefaultsmy work, I can access the data. But I'm stuck in getting a file from a container application. I have an access url
NSURL *containerURL = [[NSFileManager defaultManager]
containerURLForSecurityApplicationGroupIdentifier:@"group.com.company.app"];
NSURL Returns the URL as follows.
/Users/AxisCyberTech1/Library/Developer/CoreSimulator/Devices/1649BBF4-6615-4E53-BFC9-A3D07F3CA70A/data/Containers/Shared/AppGroup/49A4F24B-30A8-474E-8FFA-072E0DF61CBD/
but this path does not have access to any file from the container source package. How can I access the container container file
source
share