Miki
Miki

Reputation: 921

Unable to build Alamofire framework in new Xcode 10.2 (iOS 12.2)

I am unable to build Alamofire for swift 5 in Xcode 10.2, iOS 12.2, because of the following error

SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'Alamofire iOS')

Is there a solution to this?

Upvotes: 3

Views: 1390

Answers (1)

ares777
ares777

Reputation: 3628

As for Carthage use

       github "Alamofire/Alamofire" "5.0.0-beta.3"

in your Cartfile

Upvotes: 6

Related Questions