简体   繁体   English

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

[英]Ad-Hoc distributed app does not installing on device

I am signing my app for the ad-Hoc distribution. 我正在为ad-Hoc分发签名我的应用程序。 I have created certificate and Provisioning profile and also checked the device UDID. 我创建了证书和配置文件,还检查了设备的UDID。

But when i first time create distribution certificate and sign the app with that certificate and appropriate Provisioning profile than app works. 但是,当我第一次创建分发证书并使用该证书和适当的配置文件对应用程序进行签名时,该应用程序会起作用。

But when i use same Certificate and Provisioning profile for second time app doesn't work. 但是,当我为第二次应用程序使用相同的证书和配置文件时,则无法正常工作。 its displaying grey out icon on device and iTunes display installing.. in app. 它在设备上显示为灰色图标,而iTunes在应用程序中显示正在安装。

I have checked my crash log and this is printed 我已经检查了我的崩溃日志,并且已打印

.................
..................
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

I encountered something similar - in iTunes the status was stuck on "Installing..." and similarly on the phone the app had a disabled icon and would not launch. 我遇到了类似的情况-在iTunes中,状态停留在“正在安装...”上,类似地,在电话上,该应用程序具有禁用的图标,无法启动。

The solution in my case was to correct the "Team" identity in Xcode (Target > General > Identity > Team) and choose a valid iOS Distribution certificate (set up at https://developer.apple.com/account/ios/certificate/certificateList.action ). 在我的情况下,解决方案是更正Xcode中的“团队”身份(目标>常规>身份>团队),然后选择有效的iOS分发证书(在https://developer.apple.com/account/ios/certificate上设置) /certificateList.action )。 I had inadvertently left this setting as "None". 我无意间将此设置保留为“无”。 This certificate must be the one referenced in the "Distribution" iOS Provisioning Profile that you choose after archiving, in the Organizer window of Xcode. 该证书必须是您在存档后在Xcode的Organizer窗口中选择的“分发” iOS Provisioning Profile中引用的证书。

Only when everything matches will your ad hoc app install & launch. 仅当一切都匹配时,您的临时应用程序才会安装和启动。 See the bottom of this page: 请参阅此页底部:

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

under the section titled "Ad Hoc Provisioning Profiles in Depth" 在标题为“深度的临时设置配置文件”的部分下

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM