pod update时的错误提示

重新升级了MAC OS,XCODE版本后,pod update更新依赖包时,出现如下提示:

[!] The `XXX_dev_debug [Distribution]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.distribution.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

而之前是正常的,估计是XCODE升级带来的问题吧。

按提示,在编译选项里,如上面的OTHER_LDFLAGS里添加$(inherited)添加进去就可以了

猜你喜欢

转载自godjohnny.iteye.com/blog/2292215
pod
今日推荐