Benches Uncategorized

5

Adhoc distribution not working, error e80…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

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

5 replies

Sign in or join Beachball Help to reply.

  1. 0

    dstewartms

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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.

  2. 0

    seahorsejl

    Imported from the Apple Support Forums via the Wayback Machine 🔗

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

    Thanks!

  3. 0

    Bruce Geerdes

    Imported from the Apple Support Forums via the Wayback Machine 🔗

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

  4. 0

    NavX

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Worked exactly as described. Thank you!

  5. 0

    ElegantMac

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    brilliant! thanks dstewartms!