Ad-Hoc分布式应用程序不会在设备上安装

时间:2014-04-07 14:44:00

标签: ios iphone xcode provisioning-profile ad-hoc-distribution

我正在为ad-Hoc发布的应用签名。我创建了证书和配置文件,并检查了设备UDID。

但是,当我第一次创建分发证书并使用该证书和适当的配置文件签署应用程序而不是应用程序。

但是,当我第二次使用相同的证书和配置文件时,应用程序无法正常工作。它在设备上显示灰色图标,iTunes显示在应用程序中安装..

我已经检查了我的崩溃日志并打印了

.................
..................
Apr  7 20:17:19 Dilip-Maneks-iPad librariand[114] <Error>: ubiquity account is not configured (or is disabled for this client), not creating collection
Apr  7 20:17:19 Dilip-Maneks-iPad librariand[114] <Error>: error in _handle_client_request: LibrarianErrorDomain/10/Unable to configure the collection.
Apr  7 20:17:19 Dilip-Maneks-iPad geod[94] <Warning>: Can't get bundle identifier for process 424
Apr  7 20:17:23 Dilip-Maneks-iPad mobileassetd[107] <Error>: mobileassetd - _ASAssetDeletionPriorityAtDate: Unexpected value for keys __LastAccessDate, __InstallDate
Apr  7 20:17:23 Dilip-Maneks-iPad mobileassetd[107] <Error>: mobileassetd - _ASAssetDeletionPriorityAtDate: Unexpected value for keys __LastAccessDate, __InstallDate
Apr  7 20:17:23 Dilip-Maneks-iPad medialibraryd[93] <Warning>: {MediaLibrary} [MLWriter] ending transaction <__NSConcreteUUID 0x124530320> 7B9EAD03-51E8-4DE5-AF91-ECE8BBABA5E0. shouldCommit=0.
Apr  7 20:17:23 Dilip-Maneks-iPad librariand[114] <Error>: ubiquity account is not configured (or is disabled for this client), not creating collection
Apr  7 20:17:23 Dilip-Maneks-iPad librariand[114] <Error>: error in _handle_client_request: LibrarianErrorDomain/10/Unable to configure the collection.
Apr  7 20:17:23 Dilip-Maneks-iPad deleted[424] <Error>: 0x100484000 __DeleteLibrarian_block_invoke: unable to determine evictable space: The operation couldn’t be completed. (LibrarianErrorDomain error 10 - Unable to configure the collection.)
Apr  7 20:17:29 Dilip-Maneks-iPad librariand[114] <Error>: ubiquity account is not configured (or is disabled for this client), not creating collection
Apr  7 20:17:29 Dilip-Maneks-iPad librariand[114] <Error>: error in _handle_client_request: LibrarianErrorDomain/10/Unable to configure the collection.
Apr  7 20:17:29 Dilip-Maneks-iPad atc[1020] <Warning>: {MediaLibrary} Database validation succeeded
Apr  7 20:17:29 Dilip-Maneks-iPad librariand[114] <Error>: ubiquity account is not configured (or is disabled for this client), not creating collection
Apr  7 20:17:29 Dilip-Maneks-iPad librariand[114] <Error>: error in _handle_client_request: LibrarianErrorDomain/10/Unable to configure the collection.
Apr  7 20:17:29 Dilip-Maneks-iPad geod[94] <Warning>: Can't get bundle identifier for process 424

1 个答案:

答案 0 :(得分:1)

我遇到了类似的东西 - 在iTunes中状态被困在&#34;安装...&#34;同样在手机上,该应用程序有一个禁用的图标,无法启动。

我的解决方案是纠正&#34; Team&#34; Xcode中的身份(目标&gt;常规&gt;身份&gt;团队)并选择有效的iOS分发证书(在https://developer.apple.com/account/ios/certificate/certificateList.action设置)。我无意中将此设置保留为&#34;无&#34;。该证书必须是&#34; Distribution&#34;中引用的证书。您在归档后选择的iOS配置文件,在Xcode的管理器窗口中。

只有当所有内容都匹配时,您的即席应用才会安装&amp;发射。请参见本页底部:

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/TestingYouriOSApp/TestingYouriOSApp.html

标题为&#34; Ad Hoc Provisioning Profiles in Depth&#34;