Pratik Panchal Pratik Panchal - 4 months ago 10x
Swift Question

Pod Installlation Getting Long Time and Not Install

I am trying to install Cocoapods, and it kind of hang while downloading

Anyone have faced similar issue?

1) Open terminal

2) sudo gem install cocoapods
sudo gem install -n /usr/local/bin cocoapods

3) pod setup

4) create a xcode project

5) cd "path to your project root directory"

6) pod init

7) open -a Xcode Podfile

8) pod 'Alamofire', '~> 3.4'

It just feel like hanged and not sucessfull even after long wait!

Thanks in Advance!!!


Use this one in your pod file ->

**source ''
platform :ios, '9.0'
target 'Pod DemoTests' do
pod 'Alamofire', :git => ''

this will solve your problem ..