Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error, no entitlements found in bundle " "

Please can someone assist me!

I archived my app, and I get this error:

ERROR ITMS-9000 "Missing code signing entitlements. No entitlements found in bundle "com...." for executable.

How can I resolve this? Thank you.

like image 461
Mr Big Problem Avatar asked Sep 30 '13 19:09

Mr Big Problem


1 Answers

I was having this very problem, due to a recently-introduced automated build script. The script was codesigning the resultant app bundle manually and it turned out I needed to explicitly reference an entitlements file in the codesigning step:

/usr/bin/codesign --force --sign "$CERTIFICATE" --identifier "$BUNDLE_ID" --entitlements Entitlements.plist Payload/${BUNDLE_NAME}.app

The Entitlements.plist file is pretty standard:

<?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>get-task-allow</key>
    <false/>
    <key>application-identifier</key>
    <string>fully-qualified bundleid</string>
    <key>keychain-access-groups</key>
    <array>
        <string>fully-qualified bundleid</string>
    </array>
</dict>
</plist>
like image 101
devios1 Avatar answered Nov 02 '22 13:11

devios1