Xcode 4.5 - 无法通过iTunes安装开发人员.ipa文件 [英] Xcode 4.5 - can't install developer .ipa files via iTunes

查看:211
本文介绍了Xcode 4.5 - 无法通过iTunes安装开发人员.ipa文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾多次为开发人员构建测试用途,一切正常。是!将我的Xcode更新到4.5版后,我无法通过iTunes安装我的开发人员版本。
我在配置资料中的每台设备上的情况都是一样的。

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.

我有什么以及与其他开发人员一起检查了两次,以避免个人错误:
1)开发人员证书
2)开发者提供配置文件,添加了正确的设备
3)正确的构建过程

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

成功构建app me和其他开发人员尝试通过iTunnes(10.7)安装它,但只显示同步失败的错误对话框。

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.

非常重要的信息是,我可以在xCode 4.2中构建可运行的应用程序,并通过iTunnes安装它,没有任何相同的证书和配置文件的麻烦

我可以直接运行应用程序设备,如果我通过Xcode运行

检查所有苹果的推荐,我没事: https://developer.apple.com/library/ios/#tec hnotes / tn2009 / tn2242.html

Checked all apple's recommendation and I have all right: https://developer.apple.com/library/ios/#technotes/tn2009/tn2242.html

检查了许多类似问题的论坛,我已经做了很多步骤,尝试从撤销所有证书开始减少此问题,使用特定设备制作新的开发人员配置文件,在Xcode中使用build dir清理tmp文件夹。我从KeyChain删除了所有证书,密钥并导入了新密钥。删除设备上的所有配置文件并安装新配置文件。清理项目,更改构建体系结构armv,基础SDK - 最新iOS 6。

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.

非常感谢您的回复!!!

这是来自设备的日志文件的一部分(iPhone5 iOS 6.1)

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


推荐答案

重要的是这一行:

installd [31]:个人资料无效:0xe8008012

installd[31] : profile not valid: 0xe8008012

我最近在使用我们的一个IPA时看到了这个错误。通过从iOS Provisioning门户重新发布配置文件(只需进行简单更改,撤消,然后提交 - 应该重新生成配置文件),更新Xcode代码签名身份以使用新配置文件,重新启动设备,然后又试了一次。它似乎安装得很好。

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.

这篇关于Xcode 4.5 - 无法通过iTunes安装开发人员.ipa文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆