Mac App Store Rejection - App sandbox not enabled
Asked Answered
B

3

8

I've submitted my app to the Mac App Store and it validated fine. However, I keep getting Invalid Binary messages with the following;

App sandbox not enabled - The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list. Refer to the App Sandbox page for more information on sandboxing your app.

This is despite having the entitlements enabled in the app (both the app and the helper) with the following contents;

<?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/>
</dict>
</plist>

Not sure what to check next.

Boyes answered 17/5, 2013 at 7:39 Comment(0)
B
5

Okay, solved this one myself and posting here for completeness. It would seem that despite the existence of the entitlement file in the project, unless the app is codesigned it will not recognise the sand box entitlement. This is even though the app validates successfully.

Boyes answered 18/5, 2013 at 13:15 Comment(1)
So has your app been accepted now ? would you like to share a link ? I am curious ;)Aer
E
0

I had the same error message, but for me the problem was the fact that I forgot to sign the app.

Eleen answered 28/6, 2015 at 12:49 Comment(0)
H
0

I tracked down the problem to the Build Settings, Signing, CODE_SIGN_ENTITLEMENTS had multiple values. The values looked all the same, so I just re-entered the path for the entitlement file, the multiple values went away, and I no longer got the Sandbox not enabled error.

Holmic answered 2/6, 2020 at 10:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.