Asked 8 years ago
30 Sep 2016
Views 1332
QuickIos

QuickIos posted

Alamofire Error - Use Legacy Swift Language Version

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift.

Mitul Dabhi

Mitul Dabhi
answered Nov 30 '-1 00:00

i think you did not post full error and also did not read it well , never mind

go to Edit > Convert >To Convert Swift Syntax
and choose latest version supported by your Xcode

update it !! will work !!
jagdish

jagdish
answered Nov 30 '-1 00:00

dont do anything .dont covert it . its not useful .
if you using
pod 'Alamofire', '~> 4.0’
need requirement
Xcode 8.0+
Swift 3.0+
pls upgrade it . if not work after upgrade than pls close workspace and open it again Xcode

Check requirement for particular Alamofire before press covert to swift version .
https://github.com/Alamofire/Alamofire
Post Answer