解决: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`的主要内容,如果未能解决你的问题,请参考以下文章