当前位置: 移动技术网 > 移动技术>移动开发>IOS > 解决:target overrides the `GCC_PREPROCESSOR_DEFINITIONS`

解决:target overrides the `GCC_PREPROCESSOR_DEFINITIONS`

2019年09月17日  | 移动技术网移动技术  | 我要评论

[!] 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)

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网