Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

My iOS app failed to install on my real iPad

When I sync my real iPad to save my ipa, I get the message "my app name failed to install".


Back in Xcode 4.3.1:


1) select the Organizer - Archives

2) click "Distribute"

3) select "Save for Enterprise or Ad Hoc Deployment"

4) click "Next"

5) Code Signing Identity appears = "John Love (iOS Distribution)"

6) click "Next"

7) save the ipa to my hard drive

8) drag the ipa on top of the iTunes app

9) asks me if I wish to overwrite and I select YES

10) iTunes does its thing and presents the message "my app name failed to install"


BTW:


(a) the ipa did Validate


(b) I never, ever had a problem until the current version of Xcode = 4.3.1 - previous versions worked just dandy.


John Love

Posted on Mar 22, 2012 5:07 AM

Reply
11 replies

Mar 23, 2012 9:13 AM in response to xnav

I wonder if "my cousin Vinney" would cop a plea of insanity ?


To continue, here's an update:



1) Provisioning Profiles in the Finder:


http://webpages.charter.net/jolove/Forum_Graphics/1.png



2) Xcode Target:


http://webpages.charter.net/jolove/Forum_Graphics/2.png



3) Xcode Signing Identity popup:


http://webpages.charter.net/jolove/Forum_Graphics/3.png



4) Xcode Organizer:


http://webpages.charter.net/jolove/Forum_Graphics/4.png



Now, what's really weird is that if I refresh (via the icon in lower-right corner), the Ad Hoc Distribution and the App Store Release profiles disappear both in the Organizer and in the Finder folder "Provisioning Profiles".



5) Even with this disappearance, in my iOS Provisioning Portal all is intact:


http://webpages.charter.net/jolove/Forum_Graphics/5.png


http://webpages.charter.net/jolove/Forum_Graphics/6.png


http://webpages.charter.net/jolove/Forum_Graphics/7.png


I definitely need some help here - either mental or legal would be gratefully accepted.


John Love

Mar 24, 2012 10:30 AM in response to K T

I have done the following:


1) created brand new Ad Hoc Distribution + Development Provisioning Profiles (all of which the Organizer stares are valid)


2) left the iOS Team Provisioning Profile alone (also, listed as valid in the Organizer)


3) created a new ios_distribution.cer and ios_development.cer which are listed as valid in Keychain Access


4) got away from automatic selection for the Target and Project and carefully chose specific Code Signing Identities


(a) iPhone Developer: John Love (EN96VUN9DJ) Love Song to America development

(b) iPhone Distribution: John Love Love Song to America Ad Hoc Distribution

(c) iPhone Distribution: John Love Love Song to America App Store Release


ALL brand new and listed under both the Certificates and the Devices Detail tab of the iOS Provisioning Portal


5) looking as I write this at the 3 Profiles on my iPad:


(a) Love Song to America development

(b) Love Song to America Ad Hoc Distribution

(c) iOS Team Provisioning Profile: *


ALL listed as Verified √

Apr 1, 2012 4:38 AM in response to xnav

At precisely 0726 hours on April 1st, I just successfully installed my Ad Hoc app on my real iPad.


PROBLEM:


1) had Entitlements.plist "get task allow" set to YES.


2) should have been NO for a Ad Hoc distribution


3) however, according to my very good friend, TN 2250:


You only need to specify a custom Code Signing Entitlements file if your application is utilizing custom keychain access sharing or iCloud


4) so, I deleted it from the Projects / Targets


SUCCESS!


P.S. this is no joke, in spite of the date


John Love

Apr 1, 2012 8:37 AM in response to johnlove123

Here is one way to do it, but it requires that you don't code sign your app.


  1. Open a new Finder window.
  2. Navigate to the Xcode.app that you are using.
  3. Right-click and chose 'Show Package Contents'.
  4. Click Contents.
  5. Click Developer.
  6. Click Platforms.
  7. Click iPhoneOS.platform.
  8. Click Developer.
  9. Click SDKs.
  10. Click whichever SDK you are using with your iPad.
  11. Open SDKSettings.plist.
  12. Expand DefaultProperties and change the value in CODE_SIGNING_REQUIRED to no.
  13. Change the ENTITLEMENTS_REQUIRED to no.
  14. Quit Xcode.
  15. Reopen Xcode.
  16. Open the project that you are trying to distribute to your iPad.
  17. Click on the project name, where it has what SDK it is underneath it.
  18. Click on the Build Settings.
  19. Navigate down to Code Signing, and expand it if it isn't already.
  20. Make all of the values in those sub-categories "Don't Code Sign".


You will need root access to do this.

This should solve the problem, because it won't have to check your program memberships, because it isn't code signing.


awesomesauce52

My iOS app failed to install on my real iPad

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.