Alamofire: hey im getting error after install xcode 8

Created on 20 Sep 2016  ·  10Comments  ·  Source: Alamofire/Alamofire

i updated xcode to 8 and its force me to do covert code in to current syntax with this message.

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

any have idea about that?
screen shot 2016-09-20 at 1 45 27 pm

support

Most helpful comment

same problem here, and the solution on #1526 does not work.

All 10 comments

to resolve your problem set Pods>Alamofire>Use Legacy ... to No (look at the screenshot)
capture d ecran 2016-09-20 a 15 05 20

but after this i have lot of issues, so if someone know how to resolve these please tell me
capture d ecran 2016-09-20 a 15 09 42

same problem here, and the solution on #1526 does not work.

Same problem for me too. After changing it to NO getting Plethora of errors. any solution guys???

solution #1526 not working

same error. I tried to force a specific version of the pod, but still the same. 😢

Looks like you are using a older release. You must use

  • 3.5.0 for Swift 2.3
  • 4.0.0 for Swift 3.0

and also CocoaPods 1.1.0.rc.2 for Xcode 8: gem update cocoapods --pre.

Same error.I need use Alamofire in swift2.3&Xcode8.0. But have not found any solution

Thank you @ikesyo! 🍻

For anyone still having issues, please refer to @ikesyo's solution.

Hi @cnoon I am using CocoaPods 1.1.0.rc.2 with Xcode 8 but still when I compile my project got above errors. I think solution should work for all. What do you suggest?

thanks

Wipe your DerivedData folder @amirpervaiz086. If you continue to have questions then you should move your question to Stack Overflow.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

simonliotier picture simonliotier  ·  3Comments

Tulleb picture Tulleb  ·  3Comments

filippovdev picture filippovdev  ·  3Comments

lvandal picture lvandal  ·  3Comments

Footjy picture Footjy  ·  3Comments