gpt4 book ai didi

xcode - 如何修复 Xcode 10.2 中的 "SWIFT_VERSION ' 3. 0' is unsupported, supported versions are: 4.0, 4.2, 5.0"错误?

转载 作者:行者123 更新时间:2023-12-03 04:56:23 25 4
gpt4 key购买 nike

我正在尝试运行从应用程序下载的内容,尝试在 Xcode 中打开并出现错误:

" Showing Recent Messages
:-1: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'SimpleWeather')"

Screenshot added

最佳答案

在项目中选择目标“SimpleWeather”并更改语言版本Target->build设置-> Swift编译器语言->选择5、4.2等

image of build setting for changing compiler language

关于xcode - 如何修复 Xcode 10.2 中的 "SWIFT_VERSION ' 3. 0' is unsupported, supported versions are: 4.0, 4.2, 5.0"错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55366024/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com