美文网首页
pod报错- Use the `$(inherited)` fl

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

作者: guoshengboy | 来源:发表于2017-09-26 09:32 被阅读0次

    开始是把极光推送的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)就可以了

    相关文章

      网友评论

          本文标题:pod报错- Use the `$(inherited)` fl

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