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

在 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)警告处理)