目标将覆盖FRAMEWORK_SEARCH_PATHS构建设置 [英] target overrides the FRAMEWORK_SEARCH_PATHS build settings

查看:312
本文介绍了目标将覆盖FRAMEWORK_SEARCH_PATHS构建设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想问再回答这个问题.

I'd like to ask and then answer this question.

我想更新内置在我的应用程序中的CocoaPods,所以我从终端运行了pod install.

I'd like to update the CocoaPods built into my app, so I ran pod install from the terminal.

那是我收到此错误的时间:

That's when I got this error:

[!] The `APP_NAME [Debug]` target overrides the `FRAMEWORK_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.

您如何使用$(继承)标记?

推荐答案

选择Projects,targets->应用程序,然后选择Build Settings,在其中添加$(inherited)行,删除之前在此引用的任何特定pod:

Selected the Project, targets-> app, then Build Settings where I added the $(inherited) line, deleting whatever specific pod had been referenced there before:

我希望这对某人有帮助.

I hope this helps someone.

这篇关于目标将覆盖FRAMEWORK_SEARCH_PATHS构建设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆