Iphone – adhoc app installation failed in iPhone , why

adhocinstallationiphone

I am developing an iPhone application .

As the application is location aware I am testing it on a different (where I am not present).

For that I am sending my friend a .mobileprovision profile and the application adhoc build.

But At his end the application installation stops in between .

In the device log it gives me the following log :

2:42:30 unknown mobile_installationd[164] <Error>: 00808800 install_embedded_profile: Skipping the installation of the embedded profile
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 verify_executable: Could not validate signature: e8008017
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 preflight_application_install: Could not verify /var/tmp/install_staging.HreENJ/foo_extracted/Payload/RestaurantApp .app/RestaurantApp
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 install_application: Could not preflight application install
Wed Nov 11 12:42:31 unknown mobile_installation_proxy[163] <Error>: handle_install: Installation failed
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 handle_install: API failed
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 send_message: failed to send mach message of 64 bytes: 10000003
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 send_error: Could not send error response to client

So can anyone tell me what this error says so the installation fails ?

I found this is a very common and frustrating problem . And not even one has a perfect solution.

The apple technical note :http://developer.apple.com/iphone/library/technotes/tn2009/tn2242.html

Best Answer

Looks as though your provisioning profile is duff in some way. Here's now I normally work around the problem:

  1. Delete your whole build folder. Clean All should do this for you but does seem to leave bits behind from time to time
  2. Check the device ID in the Developer Center. Edit it if you need to.
  3. Download the profile again.
  4. Install the profile again.
  5. Quit Xcode and reload.
  6. Make sure you've set Xcode to use the new, ad hoc profile rather than your developer profile, for the Code Signing Identity of the configuration you will be using for the archive.
  7. Build
  8. Take a copy of the executable straight away

It would be neat if there was some way of finding which step went wrong, but until that happens it's usually best just to start from scratch unless you have very patient (or local) testers.

Related Topic