OS x10.10 pods solutions for all kinds of weird problems (covering two error cases)

Source: Internet
Author: User
Tags install cocoapods

Grumble about, about the development, about Baidu, each search the same issue is always the title of the content of the same, C reprint B,b reprint A, are from a writer, and a lot of no comments, or have comments no reply, this is a fucking world, if not solve the problem, The answer to the search doesn't even give you any idea, just a cookie-cutter to tell you next. Forget Baidu, choose Google Bar, no stackoverflow not programming.


I'm going to tell you what to do.


First of all, (believe me, you searched for all this)

The phenomenon goes without saying, everywhere.

1. Open Xcode 6
2. Enter Preferences
3. Click the Locations option
4. Change the Command line Tools version to Xcode 6.0
5. Uninstall the Cocoapods and enter it in the terminal

[Ruby]View Plaincopy
    1. $ sudo gem uninstall cocoapods


6. Install the xcodeproj and enter it in the terminal [Ruby]View Plaincopy
    1. $ sudo gem install xcodeproj


7. Install the Cocoapods and enter it in the terminal [Ruby]View Plaincopy
    1. $ sudo gem install Cocoapods


8. Test pod for successful installation, enter in Terminal

[Ruby]View Plaincopy
    1. $ pod--version
If you solve the problem, congratulations, your error situation is not complex enough, your project is very pure and clean.

Error still error no hair run? Who are you looking for?


The second scenario, (it is recommended to try the first scenario first)

The first scenario, the idea is that the pod version has a problem, let you update the version, or the equivalent of a problem restart the system, is a unloading load, theoretically solve the problem is very small.

If you're having a similar problem

[!] The ' your project name [Debug] ' target overrides the ' header_search_paths ' build setting defined in ' Pods/target support Files/pods /pods.debug.xcconfig '. This can leads to problems with the CocoaPods installation

-Use the ' $ (inherited) ' Flag,

Or-remove the build settings from the target.


This look is not the problem of pod, how to solve? put a connection, Http://stackoverflow.com/questions/26070241/cocoapods-no-longer-builds-project-after-update
This post provides the idea, though not correctly solved the problem,

-Use the ' $ (inherited) ' Flag,

Or-remove the build settings from the target.

Found itheader_search_pathsto remove something? Removed what, did not say, how to remove,then add it, find Target's header_search_paths Add $ (inherited),
now re-execute pod update, the world is clear!

OS x10.10 pods solutions for all kinds of weird problems (covering two error cases)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.