Topic : Adhoc distribution not working, error e8008016 displays as 0xE8000001

Topic Archived This topic has been archived - replies are not allowed.


This question is answered. "Helpful" answers available: 2 . "Solved" answers available: 1 .



            Permlink
            Replies : 5 - Pages : 1 - Last Post : Dec 11, 2008 9:56 PM by: ElegantMac
dstewartms

Posts: 10
From: Seattle
Registered: Jul 12, 2008
Adhoc distribution not working, error e8008016 displays as 0xE8000001
Posted: Jul 12, 2008 5:11 PM
 

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_installation_proxy2489 <Error>: verify_executable: Could not validate signature: e8008016
Sat Jul 12 17:02:48 unknown mobile_installation_proxy2489 <Error>: preflight_application_install: Could not verify /var/tmp/install_staging.W4mu/myApp.app/myApp
Sat Jul 12 17:02:48 unknown mobile_installation_proxy2489 <Error>: install_application: Could not preflight application install
Sat Jul 12 17:02:49 unknown mobile_installation_proxy2489 <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)    
dstewartms

Posts: 10
From: Seattle
Registered: Jul 12, 2008
Re: Adhoc distribution not working, error e8008016 displays as 0xE8000001
Posted: 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.

MacBook Pro   Mac OS X (10.5.4)   iPhone 2.0  
seahorsejl


Posts: 103
Registered: Jul 12, 2007
Re: Adhoc distribution not working, error e8008016 displays as 0xE8000001
Posted: Jul 23, 2008 7:16 AM   in response to: dstewartms
 

This was the best explanation out there.. and it worked perfectly!

Thanks!

iPhone 8G   Mac OS X (10.5.2)   MBPro  
Bruce Geerdes


Posts: 44
Registered: Jan 12, 2005
Re: Adhoc distribution not working, error e8008016 displays as 0xE8000001
Posted: Jul 23, 2008 8:43 AM   in response to: seahorsejl
 

Apple has updated their Portal User Guide to include the above information. Look for v1.1.

  Mac OS X (10.5.3)    
NavX

Posts: 9
From: Pacific North West
Registered: Aug 22, 2008
Re: Adhoc distribution not working, error e8008016 displays as 0xE8000001
Posted: Sep 2, 2008 10:14 AM   in response to: dstewartms
 

Worked exactly as described. Thank you!

iMac   Mac OS X (10.5)    
ElegantMac

Posts: 32
Registered: Dec 7, 2006
Re: Adhoc distribution not working, error e8008016 displays as 0xE8000001
Posted: Dec 11, 2008 9:56 PM   in response to: dstewartms
 

brilliant! thanks dstewartms!

24" iMac   Mac OS X (10.5.5)   16GB 3G iPhone