欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  移动技术

解决:target overrides the `GCC_PREPROCESSOR_DEFINITIONS`

程序员文章站 2022-03-28 12:21:44
解决: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)