Asked 8 years ago
18 Sep 2016
Views 8581
QuickIos

QuickIos posted

pod install unable to Setting up CocoaPods

after setting up PodFile at project with
pod 'Alamofire', '~> 3.1.2'
i run

pod install


but it give me error like below

[!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.


instead the setting up CocoaPods i got above error so help


dilip

dilip
answered Nov 30 '-1 00:00

error itself says what need to do
"add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.
You can try adding it manually in `~/.cocoapods/repos`"


go to /.cocoapods/repos by below command

cd  ~/.cocoapods/repos

and try to add source by below command

git clone https://github.com/CocoaPods/Specs.git master



its take time to download about 331.66 MiB so sit back and relax now

its work for me .. thanks - QuickIos  
Sep 19 '16 08:12
Post Answer