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

    1. <small id='JKFtn'></small><noframes id='JKFtn'>

    2. <tfoot id='JKFtn'></tfoot>

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

      删除 Xcode 中未使用的框架?

      时间:2023-05-17

      <tfoot id='VYpaD'></tfoot>

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

          <bdo id='VYpaD'></bdo><ul id='VYpaD'></ul>
            <tbody id='VYpaD'></tbody>
          1. <small id='VYpaD'></small><noframes id='VYpaD'>

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

              1. 本文介绍了删除 Xcode 中未使用的框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                限时送ChatGPT账号..

                随着时间的推移,当您开发应用程序时,您会向其中添加新库,这些库需要新的框架才能正常工作.然后删除库,如果您像我一样忘记删除最初添加的框架.

                Over time when you develop an application you add new libraries to it, new frameworks needed for the libraries to work. Then you remove libraries and if you are like me you have forgotten to remove the frameworks that you initially added.

                有没有办法找出我的代码需要哪些框架才能运行?

                Is there a way to find out what frameworks are needed for my code to function?

                推荐答案

                我只是从 Xcode 中的链接阶段(或 xcconfig,如果你在那里定义它们)中删除有问题的框架,然后根据 ld 的错误重新引入框架.

                I just delete the questionable frameworks from the link phase in Xcode (or the xcconfig, if you define them there) and reintroduce the frameworks based on ld's errors.

                如果您的目标是多个操作系统版本,那么构建和链接这些 SDK 可能是个好主意,因为事情可能会发生一些变化.

                If you are targeting multiple OS versions, it may be a good idea to also build and link against those SDKs since things can move around a bit.

                我通常也不会将静态库链接到它们的依赖项,而是将其保留给最终的可执行文件.

                I also do not typically link static libraries to their dependencies, reserving that for the final executable.

                该阶段完成后,您可以从 Xcode 项目中删除未链接的框架.

                Once that phase is complete, you can remove the frameworks you do not link from your Xcode project.

                这篇关于删除 Xcode 中未使用的框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:我应该使用哪个框架在 Android 上运行 OData API? 下一篇:链接到在应用程序扩展中使用不安全的 dylib 的警告消息

                相关文章

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

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

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

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

                    <tfoot id='E0gSa'></tfoot>