Is it possible to have a common accessible file location for the main application in the sandbox and its extension app plugin

I'm trying to launch an app on the app store for mac. The bundle of the main application and everything inside it is on sandbox.

The main application Bundle identifier is com.xxx.core.app . The identifier for the internal Plugin Finder Extension application Bundle is com.xxx.core.app.extensions .

Now the problem is the extension inner finder is also available in sand and trying to read a file written by the main application.

The main application writes the file location depending on mac OS X, for example temp/var/folder/jv11743453495593/T/com.xxx.core.app

But the internal Plugins try to read/var/folder/jv11743453495593/T/com.xxx.core.app/extensions

Because of the different bundle identifiers, they have different containers.

Can someone let me know how to limit the same application and its plugins to the same folder location. Does perform a work around for this problem.

Hello yuktikapahwa,

See the Sandbox Apple Guide under the ApplicationDirectory group container

You must create a group that your container can access. I'm not 100% certain that this will work with extensions of Finder, but it seems the most logical place to start.

Tags: iOS Developer

Similar Questions

Maybe you are looking for