http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/
MichaeldeMac-mini:SimpleWeather md004$ pod install
Analyzing dependencies
[!] Pod::Executable pull
Updating e58ae61..794df03
error: Your local changes to the following files would be overwritten by merge:
ARAnalytics/2.4.0/ARAnalytics.podspec
CrittercismSDK/4.0.2/CrittercismSDK.podspec
CrittercismSDK/4.0.3/CrittercismSDK.podspec
CrittercismSDK/4.0.4/CrittercismSDK.podspec
CrittercismSDK/4.0.5/CrittercismSDK.podspec
CrittercismSDK/4.0.6/CrittercismSDK.podspec
CrittercismSDK/4.1.0/CrittercismSDK.podspec
CrittercismSDK/4.1.1/CrittercismSDK.podspec
CrittercismSDK/4.1.2/CrittercismSDK.podspec
CrittercismSDK/4.3.0/CrittercismSDK.podspec
Please, commit your changes or stash them before you can merge.
error: The following untracked working tree files would be overwritten by merge:
ACDCryptsyAPI/1.0.0/ACDCryptsyAPI.podspec
AFDownloadRequestOperation/2.0.1/AFDownloadRequestOperation.podspec
AGBlurTransition/0.0.1/AGBlurTransition.podspec
AGPhotoBrowser/1.0.4/AGPhotoBrowser.podspec
AGPhotoBrowser/1.0.5/AGPhotoBrowser.podspec
AGPhotoBrowser/1.0.6/AGPhotoBrowser.podspec
AGPhotoBrowser/1.1.0/AGPhotoBrowser.podspec
AKForm/0.0.3/AKForm.podspec
AMInfiniteScrollView/0.1.0/AMInfiniteScrollView.podspec
APLSlideMenu/0.0.8/APLSlideMenu.podspec
ARSafariActivity/0.0.1/ARSafariActivity.podspec
ARSwipeToSelectGestureRecognizer/0.3/ARSwipeToSelectGestureRecognizer.podspec
ARSwipeToSelectPickerController/0.3/ARSwipeToSelectPickerController.podspec
AVCaptureMultipeerVideoDataOutput/0.0.1/AVCaptureMultipeerVideoDataOutput.podspec
AVOSCloud/2.2.0/AVOSCloud.podspec
AVOSCloudSNS/2.2.0/AVOSCloudSNS.podspec
AXStatusItemPopup/0.0.2/AXStatusItemPopup.podspec
AlgoliaSearch-Client/3.1.6/AlgoliaSearch-Client.podspec
Analytics/0.9.2/Analytics.podspec
AraneaKit/0.0.3/AraneaKit.podspec
Ask4AppReviews/0.1/Ask4AppReviews.podspec
Ask4AppReviews/0.2/Ask4AppReviews.podspec
Async/0.1.0/Async.podspec
AsyncImageView/1.5.1/AsyncImageView.podspec
AsyncImageView/1.5/AsyncImageView.podspec
BEMSimpleLineGraph/1.2.1/BEMSimpleLineGraph.podspec
BGUtilities/1.1/BGUtilities.podspec
BNHtmlPdfKit/0.3.1/BNHtmlPdfKit.podspec
BOZPongRefreshControl/0.1.1/BOZPongRefreshControl.podspec
BRYParseKeyboardNotification/1.0.0/BRYParseKeyboardNotification.podspec
BRYVarArgs/1.0.0/BRYVarArgs.podspec
BTSharingService/1.1/BTSharingService.podspe
BTUtils/1.3/BTUtils.podspec
BZGFormField/1.1.1/BZGFormField.podspec
BZGFormViewController/1.0.0/BZGFormViewController.podspec
BackgroundBlurEffectUIView/0.0.1/BackgroundBlurEffectUIView.podspec
Braintree/2.2.6/Braintree.podspec
CCHMapClusterController/1.2.0/CCHMapClusterController.podspec
CDI/1.0.0-beta2/CDI.podspec
CDI/1.0.0-beta3/CDI.podspec
CDZQRScanningViewController/1.0.6/CDZQRScanningViewController.podspec
CMPopTipView/2.1.0/CMPopTipView.podspec
CPPickerView/1.1.0/CPPickerView.podspec
CPPickerView/1.2.0/CPPickerView.podspe
CRGradientNavigationBar/0.3.2/CRGradientNavigationBar.podspec
CSSSelectorConverter/1.0.0/CSSSelectorConverter.podspec
CTFeedback/1.0.6/CTFeedback.podspec
CWDropDownMenu/0.0.1/CWDropDownMenu.podspec
CXFeedParser/0.1.2/CXFeedParser.podspec
Calabash/0.9.163/Calabash.podspec
CardFlight/1.1.2/CardFlight.podspec
CardFlight/1.1.3/CardFlight.podspec
CardFlight/1.2/CardFlight.podspe
CardIO/3.4.3/CardIO.podspec
Cedule/0.0.1/Cedule.podspec
Classy/0.2.2/Classy.podspec
ClassyLiveLayout/0.2.0/ClassyLiveLayout.podspe
ColorUtils/1.1.2/ColorUtils.podspec
Colours/3.2/Colours.podspec
ConstraintFormatter/1.0.0/ConstraintFormatter.podspec
CoreTextLabel/1.5.3/CoreTextLabel.podspec
Countly/2.0.0
CrashlyticsLumberjack/1.0.1/CrashlyticsLumberjack.podspec
CrittercismSDK/4.3.1/CrittercismSDK.podspec
CryptoPill/1.0.1/CryptoPill.podspec
CubeController/1.2.1/CubeController.podspec
DDMultipeerLogger/0.0.2/DDMultipeerLogger.podspe
DFPickerView/0.0.1/DFPickerView.podspec
DKCountryPicker/0.0.2/DKCountryPicker.podspec
DLWidgetMenu/1.0/DLWidgetMenu.podspec
DMDynamicWaterfall/0.1.5/DMDynamicWaterfall.podspec
DRBOperationTree/0.0.1/DRBOperationTree.podspec
DTCollectionViewManager/2.0.0/DTCollectionViewManager.podspec
DTModelStorage/0.3.0/DTModelStorage.podspec
DZCategories/1.0.3/DZCategories.podspec
DZNPhotoPickerController/1.0.2/DZNPhotoPickerController.podspe
EAIntroView/2.1.0/EAIntroView.podspec
EAIntroView/2.1.1/EAIntroView.podspec
EAIntroView/2.2.0/EAIntroView.podspec
ECSlidingViewController/2.0.0/ECSlidingViewController.podspec
EvernoteNotebookPicker/0.0.2/EvernoteNotebookPicker.podspec
FDSoundActivatedRecorder/0.0.1/FDSoundActivatedRecorder.podspec
FDStatusBarNotifierView/0.1.1/FDStatusBarNotifierView.podspec
FDTake/0.1.1/FDTake.podspec
FDWaveformView/0.1.2/FDWaveformView.podspec
FODFormKit/0.1.1/FODFormKit.podspec
FUIVerticalTabBarController/1.0.1/FUIVerticalTabBarC
Aborting
MichaeldeMac-mini:SimpleWeather md004$
Google 搜索‘Your local changes to the following files would be overwritten by merge’
https://github.com/CocoaPods/CocoaPods/issues/776
执行
$ cd ~/.cocoapods/master
$ git reset HEAD --hard
执行
$ sudo rm -rf ~/.cocoapods
Google 搜索 ‘cocoapods The following untracked working tree files would be overwritten by merge’
http://stackoverflow.com/questions/18224627/error-on-pod-install
http://stackoverflow.com/questions/14970877/error-on-sudo-pod-install
执行
MichaeldeMac-mini:SimpleWeather md004$ sudo rm -rf ~/.cocoapods
Password:
MichaeldeMac-mini:SimpleWeather md004$ pod install
Setting up CocoaPods master repo
Setup completed (read-only access)
Analyzing dependencies
Downloading dependencies
Installing HexColors (2.2.1)
Installing LBBlurredImage (0.1.0)
Installing Mantle (1.3.1)
Installing ReactiveCocoa (2.1.8)
Installing TSMessages (0.9.4)
Generating Pods project
Integrating client project
[!] From now on use `SimpleWeather.xcworkspace`.
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
MichaeldeMac-mini:SimpleWeather md004$
终于可以pod install了
祝您愉快开心 ^_^