iOS 8 - 无法安装企业应用程序 [英] iOS 8 - Can't Install Enterprise App

查看:189
本文介绍了iOS 8 - 无法安装企业应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们公司有一个应用程序,可以使用Enterprise Distribution通过网站下载。

Our company has an app that can be downloaded through a website using Enterprise Distribution.

在iOS 8 Beta 5中,点击下载链接会显示预期的弹出窗口(网站)想安装(App Name)。在该对话框上点击安装会导致应用程序卡住等待...

In iOS 8 Beta 5, tapping the download link brings up the expected pop-up "(website) would like to install (App Name)". Tapping 'install' on that dialog first causes the app to get stuck "Waiting..."

直到最终显示:无法下载应用程序(应用程序名称)此时无法下载。

Until it finally indicates: "Unable to Download App (app name) could not be downloaded at this time."

使用iOS 7安装按预期工作。

Installing works as expected using iOS 7.

在iOS 8下从Xcode运行应用程序。

Running the app from Xcode under iOS 8 works.

我们如何支持iOS 8企业分发?

How do we support Enterprise Distribution iOS 8?

也许需要对Manifest文件进行更改?当我尝试在Xcode 6 Beta 7中构建应用程序时,Enterprise Archival进程没有提示我创建清单文件...

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)

我不知道的原因,Apple使我的一半个人资料无效没有提醒我进入developer.apple.com后找到任何无效的个人资料:

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.

然而 - 至少有一个我的应用程序的坏消息是无法安装。通过控制台看我没什么。我确信这是一个苹果虫,所以提出了雷达:17622725

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

我希望你的问题是个人资料问题,否则我们可能要等到今晚1800GMT才能看到苹果已修复它。

I hope your issue is a profile problem otherwise we may have to wait until tonight 1800GMT to see if apple have fixed it.

编辑

使用iOS8 GM - 我只是得到等待... - 我会告知您错误报告的进展情况。

With iOS8 GM - I just get Waiting... - I will keep you informed with the bug report progress.

编辑

在对一些修复程序进行故障排除后发现:

After troubleshooting a few of fixes have been found:

修复1

从iOS8开始,如果您在清单plist中链接的图像不存在 - Apple将不会在手机上安装该应用程序 - 清单是您在下载时链接到的文件页面: itms-services://?action = download-manifest& url = {url}

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}

确保全尺寸图片 display-image 存在:

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

修复2

如果由于iOS8的错误,以前在iOS7上存在企业应用程序将无法安装。控制台中出现错误:

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}

这可以通过暂时更改清单文件中的 bundleID 来修复,但是苹果我们知道他们将错误报告标记为重复。在进行内部测试后,您还可以通过休息主屏幕布局常规 - >来解决问题。重置 - >重置主屏幕布局

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

修复3

如果你看到应用程序进入安装... 阶段而不是 loading ... 几乎肯定是问题是嵌入式配置文件已过期,用于修复您需要使用新的更新配置文件重新存档应用程序的下载。

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.

修正4

如果您看到应用程序转到安装... 阶段和您的配置文件有效 - 在连接到控制台时下载应用程序。 (Xcode 6> Window> Devices> Bottom Left Button [v]),您可能会发现安装失败并且验证阶段失败稍后会出现错误消息。在我的情况下(配置配置文件不允许发现的权利) - 对于此错误,请转到developer.apple.com并更新您的应用程序标识符以包含正确的服务。对我来说需要启用应用程序组。然后重新生成配置文件

If you see the application get to the installing... stage and your provisioning profile is valid - Download the application whilst attached to your console. (Xcode 6 > Window > Devices > Bottom Left Button [v]), You will probably find that the install failed with Verification Stage Failed a little below will be the error message. In my case (Entitlements found that are not permitted by provisioning profile) - For this error goto developer.apple.com and update your App Identifier to include the correct service. For me App Groups needed to be enabled. Then regenerate your provisioning profile

这篇关于iOS 8 - 无法安装企业应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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