An Entitlements.plist file is required for testers to install ad-hoc builds. The default iOS templates don't include one. In XCode 3.2.4 you create one like this:
- From the menu, choose "File > New File…"
- Under iOS Templates, there's a Code Signing section. Choose the certificate icon named Entitlements. Name the file "Entitlements.plist"
- Select Entitlements.plist in your source tree.
- Choose "View > Property List Type > iPhone Entitlements Plist"
- Add a new key to the property list (select the top line, press return)
- The item will probably be named "Can be debugged". If not, choose that from the available options. This is equivalent to "get-task-allow".
If you don't yet have one, create an 'ad-hoc' build profile:
- Select your target in the source tree.
- From the menu, choose "File > Get Info"
- In the inspector. select the "Build" tab.
- Under 'Configuration', choose "Edit Configurations…'
- Select your 'Release' configuration, click 'Duplicate' at the bottom of the screen.
- Rename the new configuration "Ad-Hoc Distribution"
Now you've created an Entitlements.plist, you need to add it to your build settings.
- Select your target in the source tree.
- From the menu, choose "File > Get Info"
- In the inspector. select the "Build" tab.
- Make sure the configuration selector is set to "Ad-Hoc Distribution"
- In the "Code Signing" group, change the value of "Code Signing Entitlements" to "Entitlements.plist" - XCode may have put in a relative path for you. If so, change it.
Note - you'll have errors installing the app on your own device if you build & run with "Code Signing Entitlements" set for other build configurations.
Finally, check that the Entitlements.plist has been added to your target.
- Select Entitlements.plist in the source tree.
- From the menu, choose "File > Get Info".
- Select the "Targets" tab.
- Make sure the checkbox next to your target is checked.
You should now be able to distribute your ad-hoc builds without this error.
Most of this was gleaned from Apple's Managing Application Entitlements Guide, the rest by trial & error.