Adhoc distribution error E8008016

From…

Apple – Support – Discussions – Adhoc distribution not working, error … thanks to dstewartms

First, look at your ad-hoc provisioning file in text edit (just view it, don’t overwrite it!)

If it does NOT contain a line that says “<key>get-task-allow</key>” then you need to go to the program portal and get a NEW ad-hoc provisioning profile. There is a workaround where you can use the provisioning profile without this key, but Apple apparently has added this key to the ad-hoc provisions, and you might as well have the latest.

However, that is not the final fix.

The next thing you have to do is add a new file to the root of your project … file, new file, iphone, code signing, entitlements. Call it “dist.plist” …

Open that file, and it will say “get-task-allow” with a checkmark for “true” — this needs to be FALSE. Uncheck the checkbox, or if in text mode, type in “false”

OK, almost there!!!

Open the target build info window and where it says “Code Signing Entitlements” add “dist.plist”

CLEAN THE BUILD

BUILD AND GO

ENJOY.

1 thought on “Adhoc distribution error E8008016

Comments are closed.