Search code examples
iphoneadhocentitlements

iOS4.3 Entitlements.plist for Ad Hoc Distribution


Ok, I've done three Ad Hoc distributions and each one has had its own problems in one way or the other, but this one has me completely perplexed. I've set everything up like I normally do, but after distributing the dreaded "Entitlements are invalid" error appears after attempting to install.

I'm using iOS4.3 and Xcode 4 GM 2.

I have Entitlements set up as follows:

enter image description here

(Source view):

<?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>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
    <key>keychain-access-groups</key>
    <array>
        <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
    </array>
</dict>
</plist>

Same as every Entitlement I've ever used. Confirmed that the Build has Code Signing Entitlements set to Entitlements.plist.

Get no error during "Archive" and no error generating the .ipa. Only on installation.

At a lose, any help would be appreciated.

Additional Note:

I tried setting the "application-identifier" and "keychain-access-groups" explicitly as mentioned in http://twoappguys.com/blog/ios4-and-the-wildcard/, but it did not solve the issue.


Solution

  • If you're using another configuration than Release, you need to review your Archive-Scheme and change it to your new Build Configuration.