I have done this a dozen times successfully and cannot figure out what is wrong for this instance. I created the deployment certificate, added my devices, and then created my ad-hoc profile using the deployment cert and all devices.
I have a website that allows the user to install the profile and app. The app starts to install and gets to where it is almost done and then it just sits there. It fails for all devices with different flavors of iOS on them.
Any ideas what could be wrong? This is the console output where (altered) line 3 is bugging me. I think this is the primary failure point and I am investigating further. It works fine from my desktop.
Aug 5 09:08:29 MFI-Test-iPad-Mini installd[62] <Notice>: 0x3cf000 MobileInstallationInstall_Server: Installing app com.marketforce.Auditor
Aug 5 09:08:36 MFI-Test-iPad-Mini profiled[213] <Notice>: (Note ) profiled: Service stopping.
Aug 5 09:08:37 MFI-Test-iPad-Mini securityd[78] <Notice>: http asynchttp_timer_proc Timeout during GET http://ocsp.apple.com/ocsp-wwdr01/ThisHasBeenChangedInTheInterestOfSecurity%2BThisHasAlsoBeenAlteredForSecuritym67h1P0%3D.
Aug 5 09:08:37 MFI-Test-iPad-Mini installd[62] <Error>: entitlement 'keychain-access-groups' has value not permitted by provisioning profile 'Adhoc Distribution'
Aug 5 09:08:37 MFI-Test-iPad-Mini installd[62] <Error>: 0x3cf000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.nkJObR/foo_extracted/Payload/Auditor.app/Auditor: 0xe8008016
Aug 5 09:08:37 MFI-Test-iPad-Mini installd[62] <Error>: 0x3cf000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.nkJObR/foo_extracted/Payload/Auditor.app
Aug 5 09:08:37 MFI-Test-iPad-Mini installd[62] <Error>: 0x3cf000 install_application: Could not preflight application install
Aug 5 09:08:37 MFI-Test-iPad-Mini itunesstored[89] <Error>: 0x1c3e000 MobileInstallationInstallForLaunchServices: failed with -1
Aug 5 09:08:37 MFI-Test-iPad-Mini itunesstored[89] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Aug 5 09:08:37 MFI-Test-iPad-Mini lsd[166] <Warning>: LaunchServices: installation failed for app com.marketforce.Auditor
Aug 5 09:08:37 MFI-Test-iPad-Mini itunesstored[89] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.marketforce.Auditor.Installing - <NSProgress: phase=Installing; state=Failed;
When I hit ad-hoc distribution errors, I have a couple troubleshooting steps to try to narrow it down.
Can you install just the provisioning profile? You should have either a developer or a distribution profile (depending, often times I install both to be sure).
Can you install the app via the iPhone Configuration Utility?
Answering those two questions will point you in the right direction at least. Good luck!
The app was originally created under a developer's appleID and the published in the Business To Business site. The developer left the company and the company created an appleID to be used for the company's development purposes. (Which is what should have been done to begin with).
The app was then transferred to the company's ID however the transfer didn't work right as it left the AppID under the old developer account so any attempt to use certificates and profiles against either account was doomed to failure while using the original AppID. To do any sort of internal deployment, a different AppID had to be created.
After Apple finally got the app transfer fully complete, all was good and the original AppID could once again be used.
Related
I recently generated a new certificate and provisioning profile and I'm unable to install (install loop) the IPA on a device.
device is registered in the provisioning profile
profile is on the device
profile is valid
profile is listed un Xcode
cert is in my keychain, all green
I'm using Hudson to build the IPA and it all worked fine until I had to updated the cert and the profile.
Console log I'm getting when installing:
Jan 10 12:12:52 Martins-iPhone SpringBoard[1790] : Killing com.wci.turntape for app installation
Jan 10 12:12:52 Martins-iPhone itunesstored[1788] : LaunchServices: installing app for existing placeholder LSApplicationProxy: com.wci.turntape (Placeholder)
Jan 10 12:12:52 Martins-iPhone itunesstored[1788] : LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.wci.turntape (Placeholder) withPhase:1
Jan 10 12:12:52 Martins-iPhone lsd[1787] : LaunchServices: Updating installPhase for parent to 1
Jan 10 12:12:52 Martins-iPhone installd[62] : 0x303000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-3941318386609200153/2973774017215790161" requested by itunesstored
Jan 10 12:12:55 Martins-iPhone installd[62] : 0x303000 MobileInstallationInstall_Server: Installing app com.wci.turntape
Jan 10 12:12:56 Martins-iPhone installd[62] : developer cert trust result = 5
Jan 10 12:12:56 Martins-iPhone installd[62] : 0x303000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.p38MaR/foo_extracted/Payload/Turntape.app/turntape: 0xe8008018
Jan 10 12:12:56 Martins-iPhone installd[62] : 0x303000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.p38MaR/foo_extracted/Payload/Turntape.app
Jan 10 12:12:56 Martins-iPhone installd[62] : 0x303000 install_application: Could not preflight application install
Jan 10 12:12:56 Martins-iPhone itunesstored[1788] : 0x1e60000 MobileInstallationInstallForLaunchServices: failed with -1
Jan 10 12:12:56 Martins-iPhone itunesstored[1788] : ERROR: MobileInstallationInstallForLaunchServices returned nil
Jan 10 12:12:56 Martins-iPhone lsd[1787] : LaunchServices: installation failed for app com.wci.turntape
Does anything in the log ring a bell to anyone?
But all my
I found this guy with the same issue
http://community.phonegap.com/nitobi/topics/error_on_installation-p3psw
But his solution was to renew his expired certificate (which is what I did in the first place).
After spilling a lot of blood, I've found what was causing the problem...
The new certificates now have an organizational unit id (mine was YXW8YWB9K4) has a suffix to the certificate. Hudson was configured to look for the certificate without this suffix.
The problem was that we also had an Enterprise certificate and the build was getting messed up between the two certificates. With the previous certificate, there was no ambiguity because there was no suffix.
So I had to add the suffix my build parameter .
Example:
"iPhone Distribution: Company Inc"
And my certificates were:
"iPhone Distribution: Company Inc (YXW8YWB9K4)"
"iPhone Distribution: Company Inc (Ent)"
Btw for those having an Enterprise account, Apple's advice is to have a separate keychain for those certificates.
Please check once again that the IPA you are distributing is being signed with the correct profile. Make sure your new certificates are having the bundle identifier for the matching profile.
An app downloaded/installed with enterprise distribution worked fine for long time until now, it suddenly stops with the following errors:
<Warning>: Killing xxx.OurApp for app installation
<Error>: 0x2ff99000 handle_install: Install of "/var/mobile/Media/Downloads/-9061050010711031503/-1709014265418617978" requested by itunesstored
<Error>: 0x2ff99000 MobileInstallationInstall_Server: Installing app xxx.OurApp
<Error>: profile not valid: 0xe8008011
<Error>: 0x2ff99000 install_embedded_profile: Could not install embedded profile: 0xe8008011
<Error>: Jul 10 18:10:47 SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
<Error>: 0x2ff99000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.h6dNxf/foo_extracted/Payload/OurApp.app/OurApp: 0xe8008015
<Error>: 0x2ff99000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.h6dNxf/foo_extracted/Payload/OurApp.app
<Error>: 0x2ffcf000 MobileInstallationInstall: failed with -1
<Error>: 0x2ff99000 install_application: Could not preflight application install
<Error>: 0x2ff99000 handle_install: API failed
The weird part is, if we do a rollback of the website containing a link to a .plist and a .ipa to one that worked yesterday, it doesn't work any more. So the exact same .plist and .ipa that worked yesterday, today gives the error above.
The only think we can think of is that we increased the version number of the app from 1.0 to 1.3 in xcode before archiving (and enterprise distributing). But then we reverted back to 1.0 but nothing changed.
Anyone with similar problems?
Seemed to be some error in the new .plist. The problem was that since it went through half of the installation process it placed an half installed app and a broken profile on the phone. If removing both the profile and then the app, we could install the old app with old (correct) .plist
I had many times making a developer builds for testing purpose and everything was working fine. Was! After updating my Xcode to version 4.5 I can't install my developer builds via iTunes.
This situation is the same on every device I had in provision profile.
What I have and what I had checked double times with other developers to avoid personal mistake:
1) developer certificate
2) developer provision profile with added right devices
3) right build process
After success build of app me and other developers try to install it via iTunnes (10.7) but only error dialog appears that Synchronisation failed.
The very important info is, that I can build runnable app in xCode 4.2 and install it via iTunnes without any troubles with the same certificate and provision profiles
I can run the app directly on device if I run it via Xcode
Checked all apple's recommendation and I have all right: https://developer.apple.com/library/ios/#technotes/tn2009/tn2242.html
Checked lots of forums with similar issue and I have done many steps trying to reduce this problem starting with revoking ALL certificates, making new developers profiles with particular devices, cleaned tmp folders in Xcode together with build dir. I had delete all certificates, keys from KeyChain and import new ones. Deleted all provision profiles on device and install new one. Clean project, change a build architecture "armv", base SDK - Latest iOS 6.
Many thanks for your responce!!!
This is a part of log file from device (iPhone5 iOS 6.1)
Nov 7 23:31:04 lockdownd[29] <Notice>: 016ca000 __copy_itunes_value_block_invoke_0: com.apple.mobile.iTunes.store/PurchaseTypes -> (null)
Nov 7 23:31:09 installd[31] <Error>: 0x343000 handle_install: Install of "/var/mobile/Media/PublicStaging/denik4.ipa" requested by itunesstored
Nov 7 23:31:09 installd[31] <Error>: 0x343000 MobileInstallationInstall_Server: Installing app cz.newslab.denik
>
Nov 7 23:31:09 installd[31] <Error>: profile not valid: 0xe8008012
>
Nov 7 23:31:09 installd[31] <Error>: 0x343000 install_embedded_profile: Could not install embedded profile: 0xe8008012
>
Nov 7 23:31:09 installd[31] <Error>: Nov 7 23:31:09 SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
>
Nov 7 23:31:09 mobile_assertion_agent[94] <Notice>: service_one_connection: Connection closed for client iTunes.
>
Nov 7 23:31:10 installd[31] <Error>: entitlement 'keychain-access-groups' has value not permitted by a provisioning profile
>
Nov 7 23:31:10 installd[31] <Error>: entitlement 'aps-environment' has value not permitted by a provisioning profile
>
Nov 7 23:31:10 installd[31] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile
>
Nov 7 23:31:10 installd[31] <Error>: 0x343000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.yDZPNm/foo_extracted/Payload/denik.app/denik: 0xe8008016
>
Nov 7 23:31:10 installd[31] <Error>: 0x343000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.yDZPNm/foo_extracted/Payload/denik.app
>
Nov 7 23:31:10 installd[31] <Error>: 0x343000 install_application: Could not preflight application install
>
Nov 7 23:31:10 itunesstored[66] <Error>: 0x1786000 MobileInstallationInstall: failed with -1
>
Nov 7 23:31:10 installd[31] <Error>: 0x343000 handle_install: API failed
The important line is this one:
installd[31] : profile not valid: 0xe8008012
I've seen this error myself with one of our IPAs recently. It was solved by re-issuing the profile from the iOS Provisioning portal (simply make a simple change, undo it, then submit - that should regenerate the profile), updated the Xcode code signing identity to use the new profile, rebooted the device, and then tried again. It then seemed to install fine.
We weren't able to close in on a root cause of the issue, but once we'd gone through those steps we haven't seen it again.
I am running into a weird issue for my Company. I have setup a build for my ipad app that is built with an AD hoc profile. I followed all the directions on how to set this up and is working correctly with the provision profile and the app for 5 other ipads. What i have noticed is that for some reason its not working on iPad 3 with IOS6. Here is the error i get in the console when trying:
Oct 31 12:00:56 Scotts-iPad SpringBoard[66] <Warning>: could not save thumbnail for downloading icon: image=(null) path='/var/mobile/Library/SpringBoard/DownloadingIconImageCache/com.localbix.online.ipad-9885BA22-13CA-4388-96A0-08EDCABF459E'
Oct 31 12:00:56 Scotts-iPad SpringBoard[66] <Warning>: could not save thumbnail for downloading icon: image=(null) path='/var/mobile/Library/SpringBoard/DownloadingIconImageCache/com.localbix.online.ipad-5C37022E-5875-4C48-A135-03ADD4AA75B8'
Oct 31 12:00:56 Scotts-iPad installd[30] <Error>: 0x343000 handle_install: Install of "/var/mobile/Media/Downloads/8020495531107338408/6723207522652074632" requested by itunesstored
Oct 31 12:00:56 Scotts-iPad installd[30] <Error>: 0x343000 extract_package: Could not extract archive
Oct 31 12:00:56 Scotts-iPad installd[30] <Error>: 0x343000 stage_package: Could not extract /var/mobile/Media/Downloads/8020495531107338408/6723207522652074632 to /var/tmp/install_staging.oIwDCd/foo_extracted
Oct 31 12:00:56 Scotts-iPad installd[30] <Error>: 0x343000 MobileInstallationInstall_Server: Could not stage the package
Oct 31 12:00:56 Scotts-iPad itunesstored[64] <Error>: 0x1c65000 MobileInstallationInstall: failed with -1
Oct 31 12:00:56 Scotts-iPad installd[30] <Error>: 0x343000 handle_install: API failed
Oct 31 12:01:05 Scotts-iPad profiled[4231] <Notice>: (Note ) profiled: Idled.
Oct 31 12:01:05 Scotts-iPad profiled[4231] <Notice>: (Note ) profiled: Service stopping.
The cert does have those ipad UUID's listed so its not that issue. I have ran out of ideas on what could be the issue. Any ideas? I have talked to a few others and said they have noticed the issue on the latest ipads also but have no idea. Any one else running into this issue?
Much Appreciated!
I figured the answer out. It was as simple as my wifi setup on my ipad had our corporate proxy server defined. Because of this websense was blocking downloading of .ipa file. So if i took that same URL and put it on a desktop browser i could see it was getting blocked. Switching off the proxy fixed the issue!
I had something similar, though no VPN, just a plain Wi-Fi setup.
iPhone4, iPhone5 and iPad2 all running iOS6 can install OTA with no issues.
At the same time, iPhone4S and iPad1 running iOS5 fail to install the app OTA.
Normal installation via iTunes sync works fine for all devices.
It's obviously an issue with OS version, but I have no idea where to look for next.
Is it in the build settings for the app or something related to server config (IIS in this case)...
Developed my first iPhone app for internal use and it should be distributed internally.
I am able to successfully install it on to the device when I code sign the build with my developer profile. But not able to install the same app(.ipa) using iTunes when code sign the build with App store distribution profile. I am getting the following error.
Oct 1 15:52:32 unknown installd[462] <Error>: profile not valid: 0xe8008012
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 install_embedded_profile: Could not install embedded profile: -402620398
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 verify_signer_identity: Could not copy validate signature: -402620395
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.1JP9zU/foo_extracted/Payload/mi-ios.app
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 install_application: Could not preflight application install
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 handle_install: API failed
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 send_message: failed to send mach message of 71 bytes: 10000003
Oct 1 15:52:32 unknown installd[462] <Error>: 001d7000 send_error: Could not send error response to client
I made sure the distribution profile is valid(have private key and certificate installed on my mac).
I am not sure what i am missing here. I followed every step given at iOS dev center. Any help would be appreciated.
The App Store profile is, as its name implies, for use only when distributing via the App Store. It exists for signing your app for distribution via the App Store and can't be used for any other purpose. Unless you install an app that has been signed by it via the App Store it will, quite correctly, fail.
If you want to distribute an app for internal use to a few devices and for a relatively short period, you should use an ad hoc profile; if to a lot if users for an extended period, you need to register as a corporate developer and follow a different process.