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
- $ sudo gem uninstall cocoapods
6. Install the xcodeproj and enter it in the terminal
[Ruby]View Plaincopy
- $ sudo gem install xcodeproj
7. Install the Cocoapods and enter it in the terminal
[Ruby]View Plaincopy
- $ sudo gem install Cocoapods
8. Test pod for successful installation, enter in Terminal
[Ruby]View Plaincopy
- $ 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)