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.
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>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With