今天在用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
最后
以上就是沉默黄蜂最近收集整理的关于cocapods `HEADER_SEARCH_PATHS` `OTHER_CFLAGS`的问题的全部内容,更多相关cocapods内容请搜索靠谱客的其他文章。
发表评论 取消回复