“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured

错误提示:

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.


如图所示:

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured_第1张图片

解决方案如图所示:

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured_第2张图片

你可能感兴趣的:(Swift记录)