How to use Swift2.2 in Xcode8
我想大声告诉你
我想大声告诉你 2017-05-02 09:30:27
0
2
486

Recently, Xcode8 has released an official version, and there are corresponding update prompts in the App Store. Then I also updated Xcode to Xcode8. After updating Xcode8, I found various errors after opening the swift2.2 project previously written with Xcode7.3.1. 999 , how to use Swift2.2 in Xcode8?

我想大声告诉你
我想大声告诉你

reply all(2)
阿神

Why not fix the error?


Another clear way:
Do as @山河永愿 said, but Swift 2.2 is no longer available, you need to go this way:

Build Settings -> Swift Compiler - Version -> Use Legacy Swift Language Version
Then set it to YES and you can use Swift 2.3.

洪涛

Xcode8 adds a new Use Legacy Swift Language Version field, set it to YES to compile using a compatible version of Swift

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template