views:

1654

answers:

4

Hello all ,

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

+2  A: 

It appears that the device on which your friend is trying to install your app is not able to validate the application's signature. Basically this means that the provisioning profile you sent to your friend does not match the actual signature (if any) applied when compiling for ad hoc distribution. Try checking the following:

  1. verify that you added a correct Entitlements.plist file to your application.
  2. verify that you added the Entitlements.plist file to your Ad Hoc settings for building the app.
  3. verify that the certificate you are using to sign the application (in your Ad Hoc settings) actually is valid for ad hoc distribution.
  4. verify that you actually built the application using a base sdk related to the device, not the simulator and the Ad Hoc distribution settings.
  5. verify that the provisioning profile you sent is meant for ad hoc distribution and that it includes correctly the device of your friend.
unforgiven
first , second and fourth verifications are ok.But for third I am not sure to use "Use Base SDK" or "iPhone Device 3.0" with adhoc distribution settings .Also what can be wrong about the Entitlements.plist file I just have to uncheck the get-task-allow ,isn't it ?
hib
Yes, you have to uncheck get-task-allow. For your build settings, do the following: set as base sdk the latest possible version, 3.1.2 currently, and set iPhone OS Deployment target to the first possible sdk, 3.0 (because you do not want to allow running on older 2.x devices). Then check carefully that the code signing identity refers to your ad hoc distribution provisioning and that the related AppID is correct: do not forget to set the application identifier according to your AppID in the properties pane of your target.
unforgiven
where can I find the "iPhone OS Deployment target". ?
hib
it is the last setting in the Deployment section.
unforgiven
ok I got it was on iphone device 3.0 which was correct .
hib
+1  A: 

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
  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.

Stephen Darlington
Hello stephen ,can you tell me should I take the executable from the product section or the executables section . Deleting the whole folder won't make any change to my project ? Atlast what should I choose to build "Use Base SDK" or "iPhone Device 3.0" with adhoc distribution/
hib
+1  A: 

For error message "Could not install application on device: Error: A signed resource has been added, modified or deleted."

this could be one probable solution: http://www.iphonedeveloperlabs.com/2009/11/05/adhoc-installation-issues-on-windows-pc/

Ravi korukonda
So can it be the wild card character in the bundleID like :com.comp_name.*
hib
A: 

Make sure there are no traces of SVN left behind in the .app package, had the same issue, after removing the hidden SVN directories, everything installed fine hope this helps..

frank