Title: Signing and sandboxing for the Mac App Store
|Product: LispWorks for Macintosh|
OS: Mac OS X
There are two key requirements for creating an application that can be uploaded to the Mac App Store.
1) The app bundle must be signed with a certificate that you get from Apple.
2) You have to enable sandboxing for the app and add any other "entitlements" that it needs (see Apple's documentation).
The entitlements are stored in a plist file, e.g. sandbox.entitlements such as this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
You can sign it and add the entitlements by delivering the app with :split :resources and then running
/usr/bin/codesign --entitlements sandbox.entitlements -s ... MyApplication.app
|See Also: |