MacOS: Is it possible to have sandbox extension inside non-sandbox app?

Hello, our app is non-sandboxed app, but we do want to support widget extension and safari extension. Those extensions require sandboxing. Is it possible to do this without sandboxing our app? Thank you!

Answered by DTS Engineer in 829209022
Written by ilikebluesky in 776568021
Is it possible to do this without sandboxing our app?

Yes. That’s a common approach used by directly distributed apps that container app extensions.

However, I have a general recommendation to sandbox your app even if you distribute it directly. I’ve talked about this many times on DevForums, so I decided to write it up property in The Case for Sandboxing a Directly Distributed App.

Now, this isn’t appropriate for all apps, but it’s something to consider as you plan your product’s evolution.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Written by ilikebluesky in 776568021
Is it possible to do this without sandboxing our app?

Yes. That’s a common approach used by directly distributed apps that container app extensions.

However, I have a general recommendation to sandbox your app even if you distribute it directly. I’ve talked about this many times on DevForums, so I decided to write it up property in The Case for Sandboxing a Directly Distributed App.

Now, this isn’t appropriate for all apps, but it’s something to consider as you plan your product’s evolution.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

MacOS: Is it possible to have sandbox extension inside non-sandbox app?
 
 
Q