企業簽名打包錯誤+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]:

來源:互聯網
上載者:User

標籤:相關   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 failedMar 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:EndMar 27 18:23:48 qqvipfunctionde-iPhone atc(MobileInstallation)[38] <Notice>: <private>:InstallApplication:2:Fail:<private>

 經過查詢,發現

  下面引入了同樣的Framework,刪除Embed欄目中的Framework,打包安裝正常

 

三、iOS簽名相關的問題,有些問題確實很麻煩,尤其在沒有錯誤提示的情況下,折騰了一下午。

 

企業簽名打包錯誤+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]:

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.