在尝试安装我的一个应用程序时查看手机控制台,我发现:
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)
由于我不知道的原因,苹果使我一半的个人资料失效,并且没有提醒我。进入developer.apple.com后找到任何无效的配置文件:
Hit Edit
- > Generate
-> Download
使用新配置文件重建应用程序。
然而 - 坏消息仍然是我的至少一个应用程序无法安装。通过控制台查看没有给我任何信息。我确信这是苹果的错误,因此已提交雷达:17622725
我希望您的问题是配置文件问题,否则我们可能要等到今晚 1800GMT 才能查看苹果是否已修复该问题。
EDIT
有了 iOS8 GM - 我就明白了Waiting...
- 我会随时向您通报错误报告的进展情况。
EDIT
经过故障排除后,发现了一些修复:
Fix 1
从 iOS8 开始,如果您在清单 plist 中链接到的图像不存在 - Apple 不会在手机上安装该应用程序 - 清单是您在下载页面上链接到的文件:itms-services://?action=download-manifest&url={url}
确保两者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
由于 iOS8 的错误,如果企业应用程序以前存在于 iOS7 上,则不会安装。控制台中出现错误:
Ignore manifest download, already have bundleID: {bundle_id}
这可以通过临时更改来解决bundleID
在清单文件中,但苹果知道,因为他们将错误报告标记为重复。内部测试后,您还可以通过休息主屏幕布局来解决问题General -> Reset -> Reset Home Screen Layout
Fix 3
如果您看到应用程序进入installing...
阶段而不是loading...
几乎可以肯定问题是embedded 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