“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift."

前端 未结 7 1584
南方客
南方客 2021-02-02 14:27

Ever since I\'ve updated to Xcode 8.2 (GM seed, from the App Store), I have been stuck at the following error:

Use Legacy Swift Language Version” (SWIFT_V

7条回答
  •  臣服心动
    2021-02-02 14:59

    Just in case anyone else runs into the same issue I just had.

    I had an app that was ready to launch onto the app store but i was waiting, meanwhile i updated to Xcode 9 beta and was messing around, changed a few things in my app. I went to upload it to the app store and it said you could not use beta versions to upload so i went back to Xcode 8 but it started giving me the “Swift Language Version” (SWIFT_VERSION)..." error.

    My fix

    Under your project Build Settings > Swift Compiler Version > I had to change this from Swift 4(currently not supported) to Swift 3.

    Problem Solved :)

提交回复
热议问题