Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ad hoc distribution: App failed to install

I have created an ad hoc archive and a .ipa file for the application I am trying to distribute. I have also created a distributing provisioning profile with the UDIDs of the devices that I plan on distributing my application to. When I drag the .ipa and .mobileprovision files into iTunes and try to sync the application to the device, an error message on the phone pops up reading "'myapp' failed to install". By the way, I have a standard iOS developer's license ($99 per year) and am using Xcode version 4.2.1. I am pretty new to the developer program, so please try to keep your answers as simple as possible. Let me know if you need any extra information. Thank you!

like image 432
bgottlob Avatar asked Mar 04 '12 04:03

bgottlob


People also ask

Why does it say unable to install app iOS?

There can be many reasons such as ? poor Internet connection, low storage space on your iOS device, a bug in the App Store, faulty iPhone settings, or even a restriction setting on your iPhone that prevent the apps to download.


1 Answers

I had the exact same issue. My issue was simple to fix. Check your Code Signing Identities for Project & Target in your project Build Settings. Mine were pointing to my Development Profile.

The Code Signing Identities need to point to the Ad hoc Distribution Profile that you created.
Make this change and then recreate the Archive and .ipa file. I then deleted the old App in iTunes, and then dragged the .ipa file onto the iTunes icon (Windows). Then I was able to use iTunes to install the App successfully.

like image 148
user589642 Avatar answered Oct 04 '22 16:10

user589642