美文网首页IOS 学习
pod --- $(inherited)警告处理

pod --- $(inherited)警告处理

作者: CoderLF | 来源:发表于2018-12-28 20:06 被阅读6次

    在 pod install时,就会有告警信息提示:

    xxx target overrides the OTHER_LDFLAGS build setting defined in `Pods/Target Support Files/Pods/Pods.debug.xcconfig'. This can lead to problems with the CocoaPods installation

    xxx 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

    xxx 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_LDFLAGS 指的是 other linker flags;
    • OTHER_CFLAGS 指的是 other c flags;
    • HEADER_SEARCH_PATHS 指的是 header search paths.

    通过添加 $(inherited) flag 可以解决该问题。
    将这三处修改完毕后再次运行pod install,可以发现告警信息已经不再出现了。

    相关文章

      网友评论

        本文标题:pod --- $(inherited)警告处理

        本文链接:https://www.haomeiwen.com/subject/mdgelqtx.html