Sandboxing Your macOS Application
Go Up to MacOS Application Development
Sandboxing restricts the access of an application to system resources and is one way that Apple ensures that apps are safe and do not contain any malware. You must sandbox your macOS applications if you want to submit them to the Mac App Store.
This topic describes how to sandbox your macOS applications using the RAD Studio IDE. If you cannot use the IDE for the sandboxing process, you can alternatively sandbox your application manually.
Prerequisites
Before you sandbox your macOS application, you must:
Generating a Sandboxed Application Package
To generate a sandboxed application package file of your macOS application:
- Run the Platform Assistant on the Mac.
- On the Projects Window:
- Expand the Build Configurations node and double-click the Release configuration, or any other platform-agnostic configuration that you want to use to build your sandboxed application package.
- Expand the Target Platforms node and double-click the macOS target platform to select that platform. The selected target platform is displayed using a bold font.
- Expand the macOS node, expand the Configuration node within, and double-click the Application Store platform configuration node to select that platform configuration. The selected platform configuration is displayed using a bold font.
- Build your project on RAD Studio.
- Select Project > Deployment and click the Deploy button to deploy your application.
RAD Studio builds your application using the SDK you previously added to the IDE, connects to your Mac using the connection profile you configured for the macOS platform, and the Platform Assistant running on the Mac generates a sandboxed application package file of your application.
You can submit this package to the Mac App Store.
See Also
- Sandboxing Your macOS Application Manually
- Configuring an Application Entry on iTunes Connect to Wait for Upload
- Preparing a macOS Application for Deployment
- Submitting Your App to the Mac App Store
- App Sandboxing
- App Sandbox Design Guide
- App Sandbox Quick Start
- Deploying Your iOS Application for Submission to the App Store