Use Legacy Swift Language Version - Xcode 8.2

后端 未结 9 676
滥情空心
滥情空心 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:29

    Close Xcode and open the corresponding project.pbxproj in a text editor of your choice.

    Replace SWIFT_VERSION = 3.0.1; with SWIFT_VERSION = 3.0; for all targets.

    Reopen Xcode.

提交回复
热议问题