使用cocoapods导入第三方出现这样的问题

发布于 2022-09-01 05:39:29 字数 561 浏览 15 评论 0

[!] The `TestDemo [Debug]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation

    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

编译报错:

ld: library not found for -lPods-AFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)

在 HEADER_SEARCH_PATHS 加入了 $(inherited) 还是报错。

如何解决这个问题,跪谢!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

谁把谁当真 2022-09-08 05:39:29

你打开的是不是不是.cxworkspace?

许你一世情深 2022-09-08 05:39:29

在 HEADER_SEARCH_PATHS 加入了 $(inherited) 还是报错

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文