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