Ad-Hoc Distributed Application Failed to Launch in Time

adhoc app installation failed in iPhone , why?

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.

Application Failed to Launch in Time

You're probably doing a lot of setup work in your AppDelegate's application:didFinishLaunching method.

You should make sure this function exits as soon as possible. Any setup-work that takes time (network access for example) should be done asynchronously in your application. While this is going on, you can show a spinner to indicate to the user that the application is loading.

Ad-hoc distribution fail

Check the mime-type configuration in the web-server. You need:

application/xml for the .plist file, and

application/octet-stream for the .ipa file.

Ad hoc distribution: failed to install app

Couple of things to try out:

  1. Check that the UDID you added to the portal is ticked for use under the AdHoc provision. When adding a new UDID it's possible to forget to manually update the provision profile with the new UDID.
  2. Don't create the link yourself and don't use a plist. Just drag the ipa you created to a site like http://www.diawi.com/ and share that link with your tester.

Good Luck



Related Topics



Leave a reply



Submit