Alamofire: Version 3.5 not found on Cocoapods Specs

Created on 8 Sep 2016  路  14Comments  路  Source: Alamofire/Alamofire

Hi there,

So, today I've decide to give Xcode-8 GM a go, and tried to update Alamofire to version 3.5 from Cocoapods. Unfortunately, it's not finding this version in Cocoapods specs repo.
https://github.com/CocoaPods/Specs/tree/master/Specs/Alamofire

Could you push 3.5 to the specs repo?

cocoapods support swift

Most helpful comment

Until this is resolved, you can use the 3.5.0 release by specifying the tag directly.

pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :tag => '3.5.0'

All 14 comments

the same problem~ and the branch 2.3 is not exit too.

Bumped into the same. Would be great if you could push 3.5 to the CocoaPods spec repo.

Until this is resolved, you can use the 3.5.0 release by specifying the tag directly.

pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :tag => '3.5.0'

Hi @emrekyv After doing that XCode 8 GM asks me to convert to swift syntax.
Is :tag => '3.5.0' is pointing to swift3 merge?

3.5.0 is the last of the 3.x line and Swift 2.2/2.3 compatible. 4.0.0 is coming with Swift 3 compatibility.

Thanks @jshier I was using swift3 branch but now with Xcode GM doesn't work... Maybe will be useful to open another issue...

master is now the Swift 3 branch.

There are 194 issues in the master branch 3.5.0 when trying to compile with Xcode 8 GM.

If I force master doesn't work also with XCode 8 GM... Installing Alamofire 4.0.0-beta.2
I'm getting the same message saying I need to convert the swift syntax.

Make sure you're using an updated version of CocoaPods.

I am using the latest prerelease of CocoaPods 1.1.0.beta2. Just double checked to make sure.

The 3.5.0 tag only supports Swift 2.2/2.3. For Swift 3 use master. Both build just fine.

Sorry my mistake, i was using

pod 'Amamofire'

Had to force it and it works now. Thanks.

pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'master'

I'm going to close this issue out. The 3.5.0 tag builds just fine with the Xcode 8 GM. If it's not building correctly for you, you don't have things set up correctly. The 3.5.0 podspec is now available in the public spec repo.

Cheers. 馃嵒

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shivang2902 picture shivang2902  路  3Comments

Footjy picture Footjy  路  3Comments

Tulleb picture Tulleb  路  3Comments

tib picture tib  路  3Comments

solomon23 picture solomon23  路  3Comments