2016-12-29 31 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

轉到構建設置,然後更改快捷版本號,而不是是的。