Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ad Hoc iOS .ipa file won't install for devices added to profile since iOS 7 came out

I have an iOS app that I've developing for a while. Initially there were around 8 devices in the iOS dev account, ad builds were prepared and distributed through Hockey App, no problems. Recently, we've added a bunch more devices, but for some reason the ad hoc builds won't install on those devices (but continues to install just fine on the original set).

I have been over and over the certificates, devices and provisioning profiles in the iOS Dev Center. I've triple checked all the Build Settings in XCode. The app is for iOS 6 and iOS 7 only. It is built in XCode 5. I've tried installing the app through HockeyApp and direct through iTunes.

When attempting to install the app on a device, this is the output from the console:

Sep 24 21:45:02 Micks-iPad itunesstored[88] : LaunchServices: updating placeholder for com.purifier.ios with icons
Sep 24 21:45:02 Micks-iPad installd[62] : 0x304000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/3119681654421541181.app" requested by itunesstored
Sep 24 21:45:02 Micks-iPad installd[62] : 0x304000 MobileInstallationInstall_Server: Installing app com.purifier.ios
Sep 24 21:45:02 Micks-iPad installd[62] : 0x304000 install_application: Installing placeholder
Sep 24 21:45:03 Micks-iPad installd[62] : 0x304000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.14s; LS Sync: 0.00s; Overall: 0.15s
Sep 24 21:45:06 Micks-iPad itunesstored[88] : LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.purifier.ios (Placeholder) withPhase:0
Sep 24 21:45:06 Micks-iPad lsd[74] : LaunchServices: Updating installState for parent  to LSInstallStateWaiting
Sep 24 21:45:06 Micks-iPad lsd[74] : LaunchServices: Updating installPhase for parent  to 0
Sep 24 21:45:19 Micks-iPad SpringBoard[33] : Killing com.purifier.ios for app installation
Sep 24 21:45:19 Micks-iPad itunesstored[88] : LaunchServices: installing app for existing placeholder LSApplicationProxy: com.purifier.ios (Placeholder)
Sep 24 21:45:19 Micks-iPad itunesstored[88] : LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.purifier.ios (Placeholder) withPhase:1
Sep 24 21:45:19 Micks-iPad lsd[74] : LaunchServices: Updating installPhase for parent  to 1
Sep 24 21:45:19 Micks-iPad installd[62] : 0x304000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/3119681654421541181/-915963357124799252" requested by itunesstored
Sep 24 21:45:20 Micks-iPad installd[62] : 0x304000 MobileInstallationInstall_Server: Installing app com.purifier.ios
Sep 24 21:45:20 Micks-iPad installd[62] : profile not valid: 0xe8008012
Sep 24 21:45:20 Micks-iPad installd[62] : 0x304000 install_embedded_profile: Could not install embedded profile: 0xe8008012
Sep 24 21:45:21 Micks-iPad securityd[77] : OCSPResponse: now > latestNextUpdate
Sep 24 21:45:22 Micks-iPad installd[62] : 0x304000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.AFwPty/foo_extracted/Payload/Purifier.app/Purifier: 0xe8008015
Sep 24 21:45:22 Micks-iPad installd[62] : 0x304000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.AFwPty/foo_extracted/Payload/Purifier.app
Sep 24 21:45:22 Micks-iPad installd[62] : 0x304000 install_application: Could not preflight application install
Sep 24 21:45:22 Micks-iPad itunesstored[88] : 0x441000 MobileInstallationInstallForLaunchServices: failed with -1
Sep 24 21:45:22 Micks-iPad itunesstored[88] : ERROR: MobileInstallationInstallForLaunchServices returned nil
Sep 24 21:45:22 Micks-iPad lsd[74] : LaunchServices: installation failed for app com.purifier.ios
Sep 24 21:45:22 Micks-iPad itunesstored[88] : LaunchServices: installPhaseFinishedForProgress: com.purifier.ios.Installing -  called, removing progress from cache
Sep 24 21:45:22 Micks-iPad installd[62] : 0x304000 handle_install_for_ls: API failed
Sep 24 21:45:31 Micks-iPad SpringBoard[33] : Killing com.purifier.ios for app installation

I've tried absolutely everything I can think of. Any help, even ideas about how to diagnose the problem, would be greatly appreciated.

like image 895
Mick Byrne Avatar asked Sep 24 '13 11:09

Mick Byrne


People also ask

Why IPA file is not installing on iPhone?

The iOS device is incompatible because: The app to be installed does not support the OS version of the device (check minimum supported OS version of the iOS device) The app to be installed does not support the required device capabilities and OS architecture. This usually happens if you are trying to install your .

How Install IPA from Mac to iPhone without iTunes?

Download Cydia Impactor from its official website > Install and launch it on your computer. Step 2. Drag and drop the . ipa file you saved into Cydia Impactor > Enter your Apple ID and password in a pop-up dialogue box > Then tap OK to confirm.

How do I download and Install an IPA file?

Find and click on “App Library”. Drag and drop . ipa file that you already download and save on your computer(or you can click on “Open with iTunes” by right-click). Then you can see the files on the “APP” section of iTunes, what you need to do is install it on your device.


3 Answers

The problem was that the UDID was wrong (thanks @neilco). The reason the UDID was wrong was because the UDID app I'm using is giving the wrong UDID as of iOS7.

I checked a bunch of other UDID apps and they're all giving the wrong UDID in iOS7. It seems that anything that starts with a bunch of FFFFFFFF... is wrong.

Back to bloody iTunes...

like image 193
Mick Byrne Avatar answered Oct 07 '22 17:10

Mick Byrne


Here's the source of your problem:

Sep 24 21:45:20 Micks-iPad installd[62] : profile not valid: 0xe8008012

0xE8008012 is "The UUID of the device does not match any in the Provisioning Profile being loaded"

Check and double-check the UUIDs associated with the profile in the Provisioning Portal and make sure you're using the correct and current profile to sign the app. Also check you only have the current developer certs in your keychain. Remove any previous certs.

like image 24
neilco Avatar answered Oct 07 '22 19:10

neilco


Ensure you re-download the provisioning profile after adding the new devices to it.

You need to edit the profile and tick the new devices in the list. Then re-dwonload it.

like image 32
CW0007007 Avatar answered Oct 07 '22 19:10

CW0007007