Sandboxing Your Mac OS X Application
Go Up to Mac OS X Application Development
Sandboxing restricts an application's access to system resources and is one way that Apple ensures that apps are safe and do not contain any malware. You must sandbox your Mac OS X applications if you want to submit them to the Mac App Store.
This topic describes how to sandbox your Mac OS X applications using the Appmethod IDE. If you cannot use the IDE for the sandboxing process, you can alternatively sandbox your application manually.
Before you sandbox your Mac OS X application, you must:
Generating a Sandboxed Application Package
To generate a sandboxed application package file of your Mac OS X application:
- Run the Platform Assistant on the Mac.
- Build your project on Appmethod.
- On the Project Manager:
- 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 OS X target platform to select that platform. The selected target platform is displayed using a bold font.
- Expand the OS X 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.
- Select Project > Deployment and click the Deploy button to deploy your application.
Appmethod builds your application using the SDK you previously added to the IDE, connects to your Mac using the connection profile you configured for the OS X platform, and the Platform Assistant running on the Mac generates a sandboxed application package file of your application.
Your application, generated on the Mac, is then copied over to your development system. You can find your final application file (
.pkg) in your project's folder. For example:
C:\Users\<user>\Documents\Embarcadero\Studio\Projects\ProjectFolder\OSX\Release\ProjectName.pkg. You can submit this package to the Mac App Store.
- Sandboxing Your Mac OS X Application Manually
- Configuring an Application Entry on iTunes Connect to Wait for Upload
- Preparing a Mac OS X 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