1.target overrides the FRAMEWORK_SEARCH_PATHS build
具体报错log
[!] The `xxxx [Debug]` target overrides the `FRAMEWORK_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-xxxx/Pods-xxxx.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target.
原因是cocoapods自己的配置文件和你的FRAMEWORK_SEARCH_PATHS配置冲突了,解决办法如下:
添加一个$(inherited)在searchPath里,与自己的第三方库并存即可
或者先把你配置第三方库的路径都删掉,只加一个$(inherited),重新执行pod install因为cocoapod会帮你配置第三方的路径。
然后手动添加的第三方库,还是要在$(inherited)下面添加路径的,不然会报错找不到库。