user9713861
user9713861

Reputation: 73

The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift

I am developing iOS application in objective c I want to use swift file in this application but when I run the application I get the fallowing error:

The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.

Upvotes: 0

Views: 4364

Answers (1)

vadian
vadian

Reputation: 285290

The error is pretty clear.

  • In the project navigator select the (blue) project
  • Select the target which uses Swift
  • Click on Build Settings
  • Scroll down to Swift Language Version or in the search field type Swift L
  • In the popup of the setting select the language version

Upvotes: 1

Related Questions