2016-11-16 134 views
1

工作的一個項目的iOS和沒有足夠的時間來解決潛在的衝突莢,讓運行時,「pod install無法安裝莢的CocoaPods版本

The `master` repo requires CocoaPods 1.0.0 - (currently using 0.39.0) 

使用--no-repo-update標誌似乎以下錯誤忍不住拋出一個警告

https://github.com/CocoaPods/CocoaPods/issues/6163

Unable to find specification for 

...手動更換TE莢主回購..但沒有工作..

Unable to find a specification in CocoaPods

被迫使用最新版本的...(--verbose ..還指出,我需要更新)

when running pod install I get The `master` repo requires CocoaPods 0.32.1, try updating but still in 0.31

+2

頂部

使用source "https://github.com/CocoaPods/Old-Specs"如果你不想更新的CocoaPods版本,並希望繼續使用較舊的版本,然後使用源代碼https://github.com/CocoaPods/Old-Specs「'在此處給出的pod文件頂部http://blog.cocoapods.org/Sharding/ – iHulk

+0

@iHulk感謝分享! –

回答

1

由於iHulk國他的評論:在您的POD文件