<tfoot id='9bmJD'></tfoot>
  • <legend id='9bmJD'><style id='9bmJD'><dir id='9bmJD'><q id='9bmJD'></q></dir></style></legend>
    1. <i id='9bmJD'><tr id='9bmJD'><dt id='9bmJD'><q id='9bmJD'><span id='9bmJD'><b id='9bmJD'><form id='9bmJD'><ins id='9bmJD'></ins><ul id='9bmJD'></ul><sub id='9bmJD'></sub></form><legend id='9bmJD'></legend><bdo id='9bmJD'><pre id='9bmJD'><center id='9bmJD'></center></pre></bdo></b><th id='9bmJD'></th></span></q></dt></tr></i><div id='9bmJD'><tfoot id='9bmJD'></tfoot><dl id='9bmJD'><fieldset id='9bmJD'></fieldset></dl></div>

          <bdo id='9bmJD'></bdo><ul id='9bmJD'></ul>

        <small id='9bmJD'></small><noframes id='9bmJD'>

        签署嵌入式框架在 Xcode 11.2.1 中不起作用

        时间:2023-05-19

        • <i id='0OR0c'><tr id='0OR0c'><dt id='0OR0c'><q id='0OR0c'><span id='0OR0c'><b id='0OR0c'><form id='0OR0c'><ins id='0OR0c'></ins><ul id='0OR0c'></ul><sub id='0OR0c'></sub></form><legend id='0OR0c'></legend><bdo id='0OR0c'><pre id='0OR0c'><center id='0OR0c'></center></pre></bdo></b><th id='0OR0c'></th></span></q></dt></tr></i><div id='0OR0c'><tfoot id='0OR0c'></tfoot><dl id='0OR0c'><fieldset id='0OR0c'></fieldset></dl></div>
            <bdo id='0OR0c'></bdo><ul id='0OR0c'></ul>
              <tbody id='0OR0c'></tbody>

          • <tfoot id='0OR0c'></tfoot>
            • <legend id='0OR0c'><style id='0OR0c'><dir id='0OR0c'><q id='0OR0c'></q></dir></style></legend>

                <small id='0OR0c'></small><noframes id='0OR0c'>

                  本文介绍了签署嵌入式框架在 Xcode 11.2.1 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我有一个小型概念验证应用程序,我试图在我的框架 (AequumPOCFramework.framework) 中嵌入(并签署)一个框架 (Alamofire),但是,当我尝试部署到我的设备时,它一直给我错误

                  I have a small proof-of-concept app, where I am trying to embed (and sign) a framework (Alamofire) inside of my framework (AequumPOCFramework.framework), however, when I try to deploy to my device, it keeps giving me the error

                  ....在使用库验证的过程中无效:映射文件没有 cdhash,完全未签名?代码必须至少是临时签名的.

                  ....not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

                  如果我只是尝试部署自己的框架,而不在其中嵌入 Alamofire,那么一切正常.

                  If I just try to deploy my own framework, without having Alamofire embedded in it, everything works fine.

                  部署到我的 iphone 时的完整错误是:

                  The complete error at deploy to my iphone is:

                  dyld:库未加载:@rpath/Alamofire.framework/Alamofire引用自:/private/var/containers/Bundle/Application/EDB697EB-EA15-4301-B4B6-A8FE1F0212BE/PocIOS.app/Frameworks/AequumPOCFramework.framework/AequumPOCFramework原因:没有找到合适的图片.发现:/private/var/containers/Bundle/Application/EDB697EB-EA15-4301-B4B6-A8FE1F0212BE/PocIOS.app/Frameworks/AequumPOCFramework.framework/Frameworks/Alamofire.framework/Alamofire:代码签名在(/private/var/containers/Bundle/Application/EDB697EB-EA15-4301-B4B6-A8FE1F0212BE/PocIOS.app/Frameworks/AequumPOCFramework.framework/Frameworks/Alamofire.framework/Alamofire) 在使用库验证的过程中无效:映射文件没有 cdhash,完全未签名?代码必须至少是临时签名的.

                  dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire Referenced from: /private/var/containers/Bundle/Application/EDB697EB-EA15-4301-B4B6-A8FE1F0212BE/PocIOS.app/Frameworks/AequumPOCFramework.framework/AequumPOCFramework Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/EDB697EB-EA15-4301-B4B6-A8FE1F0212BE/PocIOS.app/Frameworks/AequumPOCFramework.framework/Frameworks/Alamofire.framework/Alamofire: code signature in (/private/var/containers/Bundle/Application/EDB697EB-EA15-4301-B4B6-A8FE1F0212BE/PocIOS.app/Frameworks/AequumPOCFramework.framework/Frameworks/Alamofire.framework/Alamofire) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

                  我做错了什么?

                  推荐答案

                  iOS 不支持嵌套框架(请参阅 技术说明).目前唯一合法的解决方案是将嵌入式"框架直接链接到托管应用程序.

                  Nested frameworks are not supported on iOS (see technotes). The only legit solution at the moment is to link "embedded" frameworks directly to a hosting app.

                  *XCFramework 主要是平台特定二进制文件的聚合,不幸的是与嵌入框架无关.

                  * XCFramework is mainly an aggregation of platform specific binaries' and has nothing to do with embedding frameworks unfortunately.

                  这篇关于签署嵌入式框架在 Xcode 11.2.1 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:IOS静态框架,里面有资源 下一篇:iOS - 将框架故事板链接到 ViewController 以在主项目中使用

                  相关文章

                  • <bdo id='cCscA'></bdo><ul id='cCscA'></ul>

                  <legend id='cCscA'><style id='cCscA'><dir id='cCscA'><q id='cCscA'></q></dir></style></legend>

                  1. <i id='cCscA'><tr id='cCscA'><dt id='cCscA'><q id='cCscA'><span id='cCscA'><b id='cCscA'><form id='cCscA'><ins id='cCscA'></ins><ul id='cCscA'></ul><sub id='cCscA'></sub></form><legend id='cCscA'></legend><bdo id='cCscA'><pre id='cCscA'><center id='cCscA'></center></pre></bdo></b><th id='cCscA'></th></span></q></dt></tr></i><div id='cCscA'><tfoot id='cCscA'></tfoot><dl id='cCscA'><fieldset id='cCscA'></fieldset></dl></div>
                  2. <tfoot id='cCscA'></tfoot>

                    <small id='cCscA'></small><noframes id='cCscA'>