解决: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)

posted @ 2019-09-17 15:46  米太白  阅读(2246)  评论(0编辑  收藏  举报