Search code examples
iossharekitcocoapods

CocoaPods install ShareKit issue


I got this message in my terminal. I have setup ShareKit before for empty project and it was installed without any issues.

enter image description here

[!] From now on use `Quiz.xcworkspace`.

[!] The target `Quiz [Debug]` overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Pods.xcconfig'.
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The target `Quiz [Debug - Release]` overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Pods.xcconfig'.
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.
Alexanders-Mac-Pro:Quiz alexander$ 

Solution

  • You have somehow previously set different values for header_search_paths and that value needs to be changed to $(inherited) to inherit the Cocoapods header search paths settings.

    See the Cocoapods FAQ https://github.com/CocoaPods/CocoaPods/wiki/Creating-a-project-that-uses-CocoaPods#faq

    Screenshot of xcode build settings