target overrides the FRAMEWORK_SEARCH_PATHS build
今天遇到报这样的错:
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.
原因是cocoapod自己的配置文件和你的FRAMEWORK_SEARCH_PATHS配置冲突了,解决办法如下:

把你配置第三方库的路径都删掉,只加一个$(inherited),因为cocoapod会帮你配置第三方的路径。
但是如果是手动添加的第三方库,还是要在$(inherited)下面添加路径的,不然会报错找不到库。
原文链接:http://zoulu1.lofter.com/post/267d89_6b4bad4
本文介绍了解决CocoaPods安装过程中遇到的`FRAMEWORK_SEARCH_PATHS`设置冲突问题的方法。通过调整项目的配置避免与CocoaPods自带配置产生冲突,并确保正确引入第三方库。
1614

被折叠的 条评论
为什么被折叠?



