<bdo id='FMnkO'></bdo><ul id='FMnkO'></ul>

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

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

    2. <tfoot id='FMnkO'></tfoot>
    3. 链接到在应用程序扩展中使用不安全的 dylib 的警告消息

      时间:2023-05-17
      <tfoot id='BLDUl'></tfoot>
    4. <small id='BLDUl'></small><noframes id='BLDUl'>

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

                <tbody id='BLDUl'></tbody>

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

            • <i id='BLDUl'><tr id='BLDUl'><dt id='BLDUl'><q id='BLDUl'><span id='BLDUl'><b id='BLDUl'><form id='BLDUl'><ins id='BLDUl'></ins><ul id='BLDUl'></ul><sub id='BLDUl'></sub></form><legend id='BLDUl'></legend><bdo id='BLDUl'><pre id='BLDUl'><center id='BLDUl'></center></pre></bdo></b><th id='BLDUl'></th></span></q></dt></tr></i><div id='BLDUl'><tfoot id='BLDUl'></tfoot><dl id='BLDUl'><fieldset id='BLDUl'></fieldset></dl></div>
                本文介绍了链接到在应用程序扩展中使用不安全的 dylib 的警告消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                限时送ChatGPT账号..

                我收到一条错误提示

                <块引用>

                链接到在应用程序扩展中使用不安全的 dylib

                我查看了解决此问题的其他问题,唯一有答案的问题没有解决我的问题,其余的根本没有得到任何答案.

                我尝试构建一个根本没有任何内容的框架,并将该框架添加到我的意图应用扩展的常规选项卡中的链接框架和库中,但我仍然收到此消息.

                当我向框架添加代码时,我仍然收到警告消息.

                这是我的代码:

                导入 UIKit类小部件:NSObject {}

                我一定会按照

                I am receiving an error that says

                linking against a dylib which is not safe for use in application extensions

                I have looked at the other questions that address this, the only one that had answers did not solve my problem, and the rest had received no answers at all.

                I tried just building a framework with nothing in it at all, and adding the framework to Linked Frameworks and Libraries in the General tab of my intents app extension, and I still get this message.

                When I add code to the framework, I still get the warning message.

                Here is my code:

                import UIKit
                
                class Widget: NSObject {
                
                }
                

                I am sure to follow instructions at Some APIs Are Unavailable to App Extensions and at Using an Embedded Framework to Share Code but I still get the same warning message. I have read that Apple App Store will not pass my app for review if I have this issue.

                解决方案

                If you are linking against a framework you control, select the framework target in your project. In the General tab, look at Deployment Info and you will see a line:

                App Extensions: [ ] Allow app extension API only
                

                Select the checkbox, and you should be able to link against this framework.

                This checkbox ensures that only calls to APIs that are valid within App Extensions are used.

                这篇关于链接到在应用程序扩展中使用不安全的 dylib 的警告消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:删除 Xcode 中未使用的框架? 下一篇:带有 libxml 的 Swift 框架

                相关文章

                    <legend id='8dhgA'><style id='8dhgA'><dir id='8dhgA'><q id='8dhgA'></q></dir></style></legend>
                  1. <small id='8dhgA'></small><noframes id='8dhgA'>

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

                      <bdo id='8dhgA'></bdo><ul id='8dhgA'></ul>
                    <tfoot id='8dhgA'></tfoot>