Error, no rights found in package ""

Please help me!

I archived my application and I got this error:

ERROR ITMS-9000 "There are no rights to sign the code. No rights found in the" com .... "bundle for the executable file.

How can i solve this? Thanks.

+6
source share
1 answer

I am having this kind of problem due to recently introduced automatic build script. The script was the code assignment of the resulting application package manually, and it turned out that I needed to explicitly reference the rights file at the stage of code creation:

/ usr / bin / codesign --force --sign "$ CERTIFICATE" - identifier "$ BUNDLE_ID" - rights 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> 
+3
source

Source: https://habr.com/ru/post/954971/


All Articles