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

纵饮孤独 提交于 2020-01-24 11:34:32

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!