今天在用cocapods的时候遇到以下问题
[!] The `Unity-iPhone [Release]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The `Unity-iPhone [Release]` target overrides the `OTHER_CFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation
得到以下解决方法
对于 OTHER_CFLAGS
在target
->Build Settings -> Other linker flags ->靠右边双击 . 添加一行$(inherited)
同理对于
HEADER_SEARCH_PATHS 在target
->Build Settings
-> Search Paths-> Header Search Paths->靠右边双击 . 添加一行
$(inherited)
如果还有 GCC_PREPROCESSOR_DEFINITIONS
对应的是
- Preprocessor Macros