After adding a sandbox application, some features, like partitioning, may stop working.

We've developed a macOS application that helps users manage other applications. This includes features like resizing applications through our application. However, this functionality works fine before integrating the sandbox, but stops working afterward.

In essence, our application is unable to resize other applications after being sandboxed. Any guidance on how to achieve this functionality within the sandbox restrictions would be greatly appreciated.

Thank you in advance for your assistance.

This includes features like resizing applications

You mean resizing their windows?

If so, I suspect you’re doing that via the Accessibility API. That API is not available to sandboxed apps, something we call out in the Review functionality that is incompatible with App Sandbox section of Protecting user data with App Sandbox.

If you’re distributing your app directly, using Developer ID signing, and thus sandboxing it because it’s the right thing to do, there are ways around this. Lemme know if that’s the case.

If you’re sandboxing your app to distribute it via the Mac App Store, I recommend that you consider distributing your app directly.

Share and Enjoy

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

your assumption is correct, in our application trying to resize other applications using Accessibility API's.

We are planned to distribute our application via Mac App store, But from your replay we are understanding that Accessibility API's are not available when sandbox is enabled.

So if we need to achieve the functionality, need to distribute the app directly. Not possible via Mac store. could you please verify our understanding is correct or not ?

We would like to know that, is there is any possible way to achieve the Accessibility API's in sandbox mode by adding any exceptions in entitlement file.

Regarding the sandbox mode we have one more issue in crontab commands, can we club this in previous issue or going one by one?

After adding a sandbox application, some features, like partitioning, may stop working.
 
 
Q