问题
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?
回答1:
As for Carthage use
github "Alamofire/Alamofire" "5.0.0-beta.3"
in your Cartfile
来源:https://stackoverflow.com/questions/55353418/unable-to-build-alamofire-framework-in-new-xcode-10-2-ios-12-2