我是靠谱客的博主 沉默黄蜂,这篇文章主要介绍cocapods `HEADER_SEARCH_PATHS` `OTHER_CFLAGS`的问题,现在分享给大家,希望可以做个参考。

今天在用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 

对应的是

  1. Preprocessor Macros

最后

以上就是沉默黄蜂最近收集整理的关于cocapods `HEADER_SEARCH_PATHS` `OTHER_CFLAGS`的问题的全部内容,更多相关cocapods内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(46)

评论列表共有 0 条评论

立即
投稿
返回
顶部