You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Adhoc distribution not working, error e8008016 displays as 0xE8000001

I'm having trouble trying to deploy my app as ad-hoc signed to another device, and sometimes to my own device. My device has my development provision (works great) and an adhoc provision (sometimes works, somestime). My tester's device has my adhoc provision. I've validated the device ID over and over again, so I know it is right. But every time I deploy, I get this in the console of the XCode organizer window:

Sat Jul 12 17:02:48 unknown mobile installationproxy[2489] <Error>: verify_executable: Could not validate signature: e8008016
Sat Jul 12 17:02:48 unknown mobile installationproxy[2489] <Error>: preflight applicationinstall: Could not verify /var/tmp/install_staging.W4mu/myApp.app/myApp
Sat Jul 12 17:02:48 unknown mobile installationproxy[2489] <Error>: install_application: Could not preflight application install
Sat Jul 12 17:02:49 unknown mobile installationproxy[2489] <Error>: handle_install: Installation failed

although the error shows up in XCode or iTunes as "0xE8000001" ... not sure what to do ... I'm sure the cert and provision are OK since I have had success with it a few times on my device.

Message was edited by: dstewartms

iPhone 2.0, Mac OS X (10.5.4)

Posted on Jul 12, 2008 5:11 PM

Reply
5 replies

Jul 19, 2008 5:01 PM in response to dstewartms

SOLVED.

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.

Adhoc distribution not working, error e8008016 displays as 0xE8000001

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.