2016-12-29 30 views
2

我在Xcode 8.2中有一个Objective-C项目。Xcode 8.2使用传统的Swift问题

我收到以下错误:

“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.

+0

你有使用Swift传统语言版本密钥在生成设置? –

+2

请参阅此:http://stackoverflow.com/questions/38446097/xcode-8-beta-3-use-legacy-swift-issue –

+0

您的问题是*相同* http://stackoverflow.com/q/ 38446097/1187415,只有将“Xcode 8 Beta 3”替换为“Xcode 8.2” –

回答

0

转到构建设置,然后更改快捷版本号,而不是是的。