解决:target overrides the `GCC_PREPROCESSOR_DEFINITIONS`

Posted xiaobajiu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决:target overrides the `GCC_PREPROCESSOR_DEFINITIONS`相关的知识,希望对你有一定的参考价值。

[!] Please close any current Xcode sessions and use `******.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There are 13 dependencies from the Podfile and 14 total pods installed.

[!] The `aaaaaaa [Release]` target overrides the `GCC_PREPROCESSOR_DEFINITIONS` build setting defined in `******.release.xcconfig‘. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `aaaaaaa [Release]` target overrides the `GCC_PREPROCESSOR_DEFINITIONS` build setting defined in `******.release.xcconfig‘. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

解决:

  我们应该继承而不应该覆盖cocoa pods的预编译宏选项,应该保证debug和release下都有$(inherited)

以上是关于解决:target overrides the `GCC_PREPROCESSOR_DEFINITIONS`的主要内容,如果未能解决你的问题,请参考以下文章

bug2 The method of type must override a superclass method解决方式(去掉@override可以)

Java重写父类使用@Override时出现The method destroy() of type xxx must override a superclass method的问题解决

Eclipse 报错The method xxx of type must override a superclass methodDescription Resource Path Locati

gitlib出现Rabase提示:Merge blocked: the source branch must be rebased onto the target branch.解决办法

解决Invalid character found in the request target. The valid characters are defined in RFC 7230 and RF

解决Invalid character found in the request target. The valid characters are defined in RFC 7230 and RF