简体   繁体   中英

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.

在此处输入图片说明

[!] 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$ 

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

Xcode构建设置的屏幕截图

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM