pod报错- Use the `$(inherited)` fl

2017-09-26  本文已影响0人  guoshengboy

开始是把极光推送的sdk直接拉到项目里,后来用cococapods到工程里,运行的时候报错,并且终端报以下报错,

[!] The `easyhospital [Debug]` target overrides the `LIBRARY_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-easyhospital/Pods-easyhospital.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `easyhospital [Debug]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-easyhospital/Pods-easyhospital.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `easyhospital [Release]` target overrides the `LIBRARY_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-easyhospital/Pods-easyhospital.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `easyhospital [Release]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-easyhospital/Pods-easyhospital.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

解决方法:把报错的LIBRARY_SEARCH_PATHS、HEADER_SEARCH_PATHS原先的极光路径删除,并添加$(inherited)就可以了

上一篇 下一篇

猜你喜欢

热点阅读