I am using pods first time in the project . I created a new project and followed following process :
Downloaded master from the github ,as terminal asked me to do it manually
fired : pod init method . This command generated Podfile in my Xcode project folder
Then I added a line in the pod file :
pod 'Alamofire', '2.0.2'
4 . Then I fired pod install command and I am getting following error in the terminal window :
Setting up CocoaPods master repo [!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`. You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`. I am following this tutorial : https://www.raywenderlich.com/97014/use-cocoapods-with-swift Please suggest workaround for this issue. following is my pod file :
platform :ios, "8.0" use_frameworks! target 'PodsTest' do # Uncomment this line if you're using Swift or would like to use dynamic frameworks # use_frameworks! # Pods for PodsTest pod 'Alamofire', '2.0.2' target 'PodsTestTests' do inherit! :search_paths # Pods for testing end target 'PodsTestUITests' do inherit! :search_paths # Pods for testing end end