Alamofire compiled with older version of Swift language (2.0) than previous files (3.0) for architecture x86_64

前端 未结 4 993
被撕碎了的回忆
被撕碎了的回忆 2020-12-18 05:07

When I move my program to the XCode8, I got this error: Alamofire compiled with older version of Swift language (2.0) than previous files (3.0) for architecture x86_64. I ha

4条回答
  •  [愿得一人]
    2020-12-18 05:10

    For me the issue was with Carthage because i have set manualy the version of Alamofire the old version.

    github "Alamofire/Alamofire" ~> 3.0
    

    To solve the issue, Go in Cartfile and just delete the version like this :

    github "Alamofire/Alamofire"
    

    Go in the console and tap :

    carthage update

    Now your framework is generated with the good version

提交回复
热议问题