码迷,mamicode.com
首页 > Web开发 > 详细

企业签名打包错误+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]:

时间:2017-03-27 21:23:24      阅读:1828      评论:0      收藏:0      [点我收藏+]

标签:相关   dai   nbsp   front   error:   签名   target   frame   img   

一、问题现象

  debug连接真机情况下面,编译正常,调试也是正常的。

  使用企业签名命令行编译打包 xcodebuild -target dailybuildipa -configuration DailyBuild -sdk iphoneos10.2

  出包正常,安装的时候一圈快满的时候,失败。

 

二、解决

  连接真机,用iTunes安装企业签名的包,通过Device下面的Console查看log

  技术分享

 

 发现出现以下提示:

Mar 27 18:23:48 qqvipfunctionde-iPhone installd(Security)[47] <Notice>: [leaf CheckLeafMarkerOid IssuerCommonName SubjectCommonName]
Mar 27 18:23:48 qqvipfunctionde-iPhone installd(MobileSystemServices)[47] <Notice>: 0x16e1af000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 147: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.mIbQFu/extracted/Payload/LiveAssistant.app/Frameworks/TXRTMPSDK.framework : 0xe8008019 (The application does not have a valid signature.)
Mar 27 18:23:48 qqvipfunctionde-iPhone installd(MobileSystemServices)[47] <Notice>: 0x16e1af000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Mar 27 18:23:48 qqvipfunctionde-iPhone SpringBoard(FrontBoard)[57] <Info>: Removing app termination assertion for pid:47 - <FBApplicationTerminationAssertion: 0x170c4c420; serial: 49; reason: critical; bundleID: com.penguin.gray>
Mar 27 18:23:48 qqvipfunctionde-iPhone installd(MobileInstallation)[47] <Notice>: <private>:Install (New):0:Fail:End
Mar 27 18:23:48 qqvipfunctionde-iPhone atc(MobileInstallation)[38] <Notice>: <private>:InstallApplication:2:Fail:<private>

 经过查询,发现

技术分享

  下面引入了同样的Framework,删除Embed栏目中的Framework,打包安装正常

 

三、iOS签名相关的问题,有些问题确实很麻烦,尤其在没有错误提示的情况下,折腾了一下午。

 

企业签名打包错误+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]:

标签:相关   dai   nbsp   front   error:   签名   target   frame   img   

原文地址:http://www.cnblogs.com/doudouyoutang/p/6628666.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!