The integrated cross-platform development tool for ANSI Common Lisp LispWorks logo

Lisp Knowledgebase



Title: Signing and sandboxing for the Mac App Store

ID: 17066


Product: LispWorks for Macintosh
Version: All
OS: Mac OS X

Description:
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">
<plist version="1.0">
<dict>
       <key>com.apple.security.app-sandbox</key>
       <true/>
       <key>com.apple.security.files.user-selected.read-write</key>
       <true/>
</dict>
</plist>


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:
Workaround:
Patch:

Hardware:N/A
Summary:
Bug#:
Patch Enhancement#:
Reported:

Top | Back