我使用HTMLKit作为pod,它在模拟器上工作但在设备上没有。这是尝试在iPhone上运行时崩溃的日志:
dyld: Library not loaded: @rpath/HTMLKit.framework/HTMLKit
Referenced from: /var/containers/Bundle/Application/224DD69B-25A6-4D52-85F7-242C9B070BE0/QT.app/QT
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/224DD69B-25A6-4D52-85F7-242C9B070BE0/QT.app/Frameworks/HTMLKit.framework/HTMLKit: code signing blocked mmap() of '/private/var/containers/Bundle/Application/224DD69B-25A6-4D52-85F7-242C9B070BE0/QT.app/Frameworks/HTMLKit.framework/HTMLKit'
/private/var/containers/Bundle/Application/224DD69B-25A6-4D52-85F7-242C9B070BE0/QT.app/Frameworks/HTMLKit.framework/HTMLKit: code signing blocked mmap() of '/private/var/containers/Bundle/Application/224DD69B-25A6-4D52-85F7-242C9B070BE0/QT.app/Frameworks/HTMLKit.framework/HTMLKit'
/private/var/containers/Bundle/Application/224DD69B-25A6-4D52-85F7-242C9B070BE0/QT.app/Frameworks/HTMLKit.framework/HTMLKit: code signing blocked mmap() of '/private/var/containers/Bundle/Application/224DD69B-25A6-4D52-85F7-242C9B070BE0/QT.app/Frameworks/HTMLKit.framework/HTMLKit'
答案 0 :(得分:0)
答案是:
转到https://www.apple.com/certificateauthority/并下载"全球开发者关系 - G2证书"根据" Apple中级证书" 安装证书 清洁,建造和运行。