如何在 Xcode 9.3 中切换到 Swift 4.0? [英] How can I switch to Swift 4.0 in Xcode 9.3?
问题描述
似乎我只能选择转到 3.3 或未指定:
It seems like I have only options to go to 3.3, or unspecified:
我可以以某种方式切换到 4.0 吗?
Can I switch to 4.0 somehow?
推荐答案
确保您已更新 xCode,然后在 Build Settings 下,检查 Swift Compiler - Language 的下拉选项.
Make sure you have updated xCode then under Build Settings, check the drop down options for Swift Compiler - Language.
此外,如果您愿意,您可以从 Apple 下载门户 下载 Xcode 8.x 和 9.xve 高级开发者帐户(apple id).您可以安装 &在单个 (mac) 系统中同时使用 Xcode 9 和 Xcode 8.x.(确保您的命令行工具支持两个版本的 Xcode,以使用终端)
Furthermore, You can download Xcode 8.x and 9.x from Apple Download Portal, if you've premium developer account (apple id). You can install & work with both Xcode 9 and Xcode 8.x in single (mac) system. (Make sure you've Command Line Tools supporting both version of Xcode, to work with terminal)
这篇关于如何在 Xcode 9.3 中切换到 Swift 4.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!