How to change Swift version from 5 to 4 in Xcode?

大憨熊 提交于 2021-02-20 04:28:06

问题


I am programming with Swift in Xcode (MacBook Air 2015) and I want to change my Swift version from 5 to 4. How to do that?


回答1:


Project ► (Select Your Project Target) ► Build Settings ► (Type
'swift_version' in the Search bar) Swift Compiler Language ► Swift
Language Version ► Click on Language list

Here you can change your version.



来源:https://stackoverflow.com/questions/56894082/how-to-change-swift-version-from-5-to-4-in-xcode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!