需要为使用Swift的目标正确配置"Swift语言版本"(SWIFT_VERSION) [英] “Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift
问题描述
我刚刚进行了最后的Xcode更新(8.3),并且收到消息:
I just did the last Xcode update (8.3), and I have the message :
需要为使用Swift的目标正确配置"Swift语言版本"(SWIFT_VERSION).使用菜单选择一个Swift版本,或使用构建设置"编辑器直接配置构建设置.
知道使用旧版Swift语言版本"选项刚刚从构建设置中删除后,如何在Swift 2.3中生成我的应用程序而无需立即进行任何转换?
Knowing that the "Use Legacy Swift Language Version" option has just been removed from the build settings, how can I generate my app in Swift 2.3 without doing any conversion for now ?
推荐答案
在导航器选择栏中,单击放大镜,然后搜索"SWIFT_VERSION
".您将在项目中找到可以调整快速度的位置.版本相应.
In the navigator selection bar, click the magnifying glass, then search for "SWIFT_VERSION
" You will find the places in the project where you can adjust the swift version accordingly.
这篇关于需要为使用Swift的目标正确配置"Swift语言版本"(SWIFT_VERSION)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!