objective-c - Xcode8中如何使用Swift2.2
我想大声告诉你
我想大声告诉你 2017-05-02 09:30:27
0
2
458

最近Xcode8发布了正式版本,在App Store中也有相应的更新提示,然后我也将Xcode更新到了Xcode8.更新完Xcode8后发现以前用Xcode7.3.1写的swift2.2项目打开后各种错误999+,请问应该如何在Xcode8中使用Swift2.2呢?

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

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