I'm using ‘Alamofire’, ‘~> 5.0.0-beta.5’
via CocoaPods in my swift project . Now I'm trying to use Alamofire (~> 5.0.0-rc.2)
.
Unfortunately I got the following error after applied "pod install" command line:
CocoaPods could not find compatible versions for pod "Alamofire": In Podfile: Alamofire (~> 5.0.0-rc.2)
Any help?
As the release is new (only 2 days ago), you first need to update your local specs repositories.
In your Podspec
file, put this:
pod 'Alamofire', '~> 5.0.0-rc.2'
On the terminal, run:
pod update
Then:
pod install
Output:
Analyzing dependencies
Downloading dependencies
Using Alamofire (5.0.0-rc.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.