Use Legacy Swift Language Version - Xcode 8.2

后端 未结 9 695
滥情空心
滥情空心 2020-12-25 13:47

After updating to Xcode 8.2 the compiler throws one error for my App target:

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

9条回答
  •  庸人自扰
    2020-12-25 14:32

    I got the same error when converting parts of my app (both Obj C and Swift) to a framework, but in my case it was that the "Swift Language Version" under Build Settings wasn't set. I set it to Swift 3 (the only option), and the error went away.

提交回复
热议问题