Where is Xcode's “TOOLCHAINS” set?

前端 未结 5 455
[愿得一人]
[愿得一人] 2020-12-31 10:27

I upgraded my project from Swift 2.2 to 2.3 (Xcode 7 to 8), and committed everything on one Mac. When I pulled from git on my other Mac, and built, I get:

W         


        
5条回答
  •  长情又很酷
    2020-12-31 11:06

    Toolchains are set under the Xcode menu then Toolchains. It should be set to Xcode 8. There is also a build setting in Xcode 8 called "Use legacy swift version" that should be set to YES so that you use Swift 2.3 instead of 3.

提交回复
热议问题