Protecting user data with App Sandbox
Guard user data and operating system resources from malicious attacks by limiting your app’s access to files, network connections, and hardware capabilities.
Embedding a command-line tool in a sandboxed app
Add a command-line tool to a sandboxed app’s Xcode project so the resulting app can run it as a helper tool.
Discovering and diagnosing App Sandbox violations
Determine when your macOS app behaves incorrectly because of a sandbox violation, and fix sandbox-related issues.