简体   繁体   中英

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?

As for Carthage use

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

in your Cartfile

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM