我们公司有一个应用程序,可以使用Enterprise Distribution通过网站下载。
在iOS 8 Beta 5中,点击下载链接会弹出预期的弹出窗口“(网站)想要安装(应用程序名称)”。在该对话框上点击“安装”会首先导致应用卡住“正在等待...”
直到最后指示:“目前无法下载无法下载的应用(应用名称)”。
使用iOS 7可以按预期进行安装。
在iOS 8下可以从Xcode运行该应用程序。
我们如何支持Enterprise Distribution iOS 8?
Perhaps a change needs to be made to the Manifest file? When I tried building the app in Xcode 6 Beta 7, the Enterprise Archival process did not prompt me to make a manifest file...
Looking through the console of the phone whist attempting to install one of my apps, I discovered:
Sep 9 12:16:56 iPhone misagent[94] <Error>: attempt to install invalid profile: 0xe8008011
Sep 9 12:16:56 iPhone installd[40] <Error>: 0x100484000 -[MIInstallableBundle _installEmbeddedProfileInBundle:]: Could not install embedded profile: 0xe8008011 (Expired)
Reasons unbeknown to me, apple invalidated half of my profiles and failed to alert me. After going into developer.apple.com find any invalid profiles:
Hit Edit
- > Generate
-> Download
Rebuild the application with the new profile.
However - The bad news still at least one of my apps is failing to install. Looking through the console gives me nothing. I am convinced this is an apple bug so have filed a radar: 17622725
I hope your issue is a profile problem otherwise we may have to wait until tonight 1800GMT to see if apple have fixed it.
EDIT
With iOS8 GM - I just get Waiting...
- I will keep you informed with the bug report progress.
EDIT
After troubleshooting a few of fixes have been found:
Fix 1
As of iOS8, if the images you are linking to in the manifest plist do not exist - Apple will not install the application on the phone - The manifest being the file that you link to on the download page: itms-services://?action=download-manifest&url={url}
Make sure both full-size-image
and display-image
exist:
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>https://{path_to_real_image}</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>https://{path_to_real_image}</string>
</dict>
Fix 2
Enterprise applications will not install if they existed previously on iOS7 due to a bug with iOS8. An error appears in the console:
Ignore manifest download, already have bundleID: {bundle_id}
This can be fixed by temporarily changing the bundleID
in the manifest file, but apple are aware as they marked the bug report as duplicated. After internal tests you an also fix the problem by resting the home screen layout General -> Reset -> Reset Home Screen Layout
Fix 3
If you see the application get into the installing...
stage as opposed to loading...
almost certainly the problem is the embedded provisioning profile
has expired, to fix the download you will need to re-archive you application with a new, updated provisioning profile.
Fix 4
如果您看到该应用程序已installing...
登台,并且您provisioning profile
的应用程序有效,则-在连接到控制台的同时下载该应用程序。(Xcode 6>窗口>设备>左下方按钮[v]),您可能会发现安装失败并Verification Stage Failed
显示以下一些错误消息。就我而言(Entitlements found that are not permitted by provisioning profile)
-对于此错误,请转到developer.apple.com并更新您的应用程序标识符以包含正确的服务。对我来说App Groups
需要启用。然后重新生成provisioning profile
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句