概述
问题:APP企业发布 部分苹果设备无法下载
Could not install embedded profile: 0xe8008011 (Expired)
目前统计结果:
6(测试机9.1) 可以下载
6(8.1.1) 可以下载4s(7.0) 可以下载
4 (8.4.1) 不可下载
4s(9.0.2) 不可下载
4s(7.0) 改idenidentifier之前可以下载,改之后不可下载,恢复之后不可以下载,重启还是不行
6-plus(2台,9.1)不可下载
ipa包的现状:
无源码、包的时间已有1年半
原因分析:
在 8.1.1 --- 8.4.1 系统之间,苹果一定做了一些改动,导致企业发布APP在部分设备上无法下载
Console日志分析:
a、打开XCode的Devices窗口
b、安装iPa包的主要日志:
机型iPhone6(系统:8.1)安装成功
... ...
Dec 3 11:41:03 feng-phone locationd[1071] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Dec 3 11:41:04 feng-phone installd[1539] <Notice>: 0x1001f0000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.richinfo.thinkmail; Version=1.3.05, ShortVersion=1.3.05>
Dec 3 11:41:04 feng-phone misagent[1469] <Error>: attempt to install invalid profile: 0xe8008011
Dec 3 11:41:04 feng-phone installd[1539] <Error>: 0x1001f0000 -[MIInstallableBundle _installEmbeddedProfileInBundle:]: Could not install embedded profile: 0xe8008011 (Expired)
... ...
feng-phone SpringBoard[53] <Warning>: Installed apps did change.
Added: {(
"com.richinfo.thinkmail"
)}
Removed: {(
)}
Modified: {(
)}
机型iPhone6 Plus(系统:9.1)安装失败
... ...
Dec 3 09:57:05 kaide-iPhone installd[11801] <Notice>: 0x16e247000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.00s; Waiting: 0.00s; Preflight/Patch: 0.00s, Verifying: 0.00s; Overall: 0.09s
Dec 3 09:57:07 kaide-iPhone installd[11801] <Notice>: 0x16e1bb000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.richinfo.thinkmail; Version=1.3.05, ShortVersion=1.3.05>
Dec 3 09:57:07 kaide-iPhone misagent[11781] <Notice>: attempt to install invalid profile: 0xe8008011
Dec 3 09:57:07 kaide-iPhone installd[11801] <Error>: 0x16e1bb000 -[MIInstallableBundle _installEmbeddedProfileInBundle:]: Could not install embedded profile: 0xe8008011 (This provisioning profile has expired.)
Dec 3 09:57:07 kaide-iPhone securityd[11052] <Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
Dec 3 09:57:07 kaide-iPhone securityd[11052] <Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
... ...
Dec 3 09:57:08 kaide-iPhone itunesstored[11094] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Dec 3 09:57:08 kaide-iPhone lsd[11046] <Warning>: LaunchServices: Setting progress = FAILED for app com.richinfo.thinkmail
Dec 3 09:57:08 kaide-iPhone itunesstored[11094] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.richinfo.thinkmail.Installing - <NSProgress: 0x1471dd750> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 called, removing progress from cache
Dec 3 09:57:08 kaide-iPhone itunesstored[11094] <Warning>: [ApplicationWorkspace]: Failed to install application: com.richinfo.thinkmail; /var/mobile/Media/Downloads/1891702469941921889/4921427311076859168; Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=ApplicationVerificationFailed, ErrorDetail=-402620395, ErrorDescription=Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.X9lBoi/extracted/Payload/天安邮件.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)}
c、研究结论:
在 8.1.1 --- 8.4.1 系统之间,苹果一定做了一些改动,导致企业发布APP在部分设备上无法下载 :
苹果在安装iPa包的时候增加了 verify code signature 的功能
d、现阶段iPa包的有效性检测的分析:
a、是否已签名?
b、profile 是否已过期?
可能的解决办法:
重新打一个包:cer签名已有、profile过期?重新整一个新的profile
重签名方法:iReSign 或者使用脚本
本文使用iReSign:下载链接:http://bbs.feng.com/read-htm-tid-2418671.html
重新签名打包,安装iPa,适配了机型
机型(系统):4s(7.0)、4s(8.4.1)、6(8.1)、6(9.1)、6Plus(9.1)
成功解决部分手机安装不了的问题!
最后
以上就是魁梧毛巾为你收集整理的企业发布 Could not install embedded profile: 0xe8008011 (Expired)的全部内容,希望文章能够帮你解决企业发布 Could not install embedded profile: 0xe8008011 (Expired)所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复