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

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

    <tfoot id='QJhuM'></tfoot>
  • <small id='QJhuM'></small><noframes id='QJhuM'>

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

        未找到自动链接框架

        Auto-Linking framework not found(未找到自动链接框架)
            <tbody id='4hHY8'></tbody>
          1. <small id='4hHY8'></small><noframes id='4hHY8'>

            <legend id='4hHY8'><style id='4hHY8'><dir id='4hHY8'><q id='4hHY8'></q></dir></style></legend>

              <bdo id='4hHY8'></bdo><ul id='4hHY8'></ul>
            • <tfoot id='4hHY8'></tfoot>

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

                  本文介绍了未找到自动链接框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我已经创建了一个名为 BTNavigationDropdownMenu 的框架(用于 ios 的 swift 项目).在我尝试将依赖项添加到我创建的分支中的最新版本之前,一切正常.无论我是通过 podfile 还是通过 Carthage 添加其他框架(DYBadge),问题都是一样的.

                  I have forked a framework called BTNavigationDropdownMenu (swift project for ios). all worked fine till I tried to add a dependency to the latest version in the branch I created. the problem is the same whether I add the other framework (DYBadge) through a podfile or through Carthage.

                  找不到自动链接框架DYBadge.

                  DYBadge 中的 UIView 扩展似乎有问题.

                  It seems to have a problem with a UIView extension that is part of DYBadge.

                  DYBadge 在我正在开发的主应用程序中运行良好(我在应用程序目标中也需要它).

                  DYBadge works fine in my main app I'm working on (I also need it in the app target).

                  以下错误.感谢您提供正确方向的任何提示.

                  errors below. thanks for any hints into the right direction.

                  ld:警告:未找到自动链接框架 DYBadge 未定义架构 x86_64 的符号:(在DYBadge):__ObjC.UIView.getBadge() -> DYBadge.DYBadge?",引用从:Demo.BTNavigationDropdownMenu.updateBadge(text: Swift.String, at: Swift.Int) -> () in BTNavigationDropdownMenu.o ld: 符号不是为架构 x86_64 clang 找到:错误:链接器命令失败退出代码 1(使用 -v 查看调用)

                  ld: warning: Auto-Linking framework not found DYBadge Undefined symbols for architecture x86_64: "(extension in DYBadge):__ObjC.UIView.getBadge() -> DYBadge.DYBadge?", referenced from: Demo.BTNavigationDropdownMenu.updateBadge(text: Swift.String, at: Swift.Int) -> () in BTNavigationDropdownMenu.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

                  推荐答案

                  Xcode 无法找到您的框架,因为 FRAMEWORK_SEARCH_PATHS 可能未设置或错误(发生在我身上,因为我移动了Info.plist 文件).

                  Xcode is not able to find your frameworks because the FRAMEWORK_SEARCH_PATHS is probably not set or is wrong (happened to me because I moved the Info.plist file).

                  您可以通过进入目标并调整构建设置来解决此问题.只需在那里搜索 FRAMEWORK_SEARCH_PATHS 并添加正确的,通常是 $(PROJECT_DIR)/Carthage/Build/iOS (用于 iOS 项目).$(inherited) 也应该在其中作为第一个条目.

                  You can fix this by going into your target and adapt the Build Settings. Simply search in there for FRAMEWORK_SEARCH_PATHS and add the correct one, which is usually $(PROJECT_DIR)/Carthage/Build/iOS (for iOS projects). $(inherited) should also be in there as the first entry.

                  这是评论中@user3122959 回答的帖子,它帮助我和其他人解决了这个问题,并被要求作为这个问题的答案.

                  这篇关于未找到自动链接框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  iOS 6 rotations: supportedInterfaceOrientations doesn#180;t work?(iOS 6 旋转:supportedInterfaceOrientations 不起作用?)
                  CABasicAnimation rotate returns to original position(CABasicAnimation 旋转返回原始位置)
                  UITabBarController Rotation Issues in ios 6(ios 6 中的 UITabBarController 旋转问题)
                  iOS: How to run a function after Device has Rotated (Swift)(iOS:设备旋转后如何运行函数(Swift))
                  How to rotate an image 90 degrees on iOS?(如何在 iOS 上将图像旋转 90 度?)
                  iOS 8 Rotation Methods Deprecation - Backwards Compatibility(iOS 8 旋转方法弃用 - 向后兼容性)

                        <tfoot id='NoR7U'></tfoot>
                          <tbody id='NoR7U'></tbody>
                        1. <small id='NoR7U'></small><noframes id='NoR7U'>

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