Migrate from swift 2.2 to swift 3.0 in xcode 8

2019-09-15 13:59发布

How to migrate from swift 2.2 to swift 3.0 on Xcode 8.0.

Do i need to update all the 3rd party libraries also ?

Please help !!!

1条回答
祖国的老花朵
2楼-- · 2019-09-15 14:30

Swift 2.2 unfortunately doesn't work with Xcode 8. But Apple made a good move still supporting Swift 2.3, which is basically almost the same as 2.2.

The problem is with 3rd party libraries, which must be in the same version of Swift as your project.

So, if you're using Swift 2.3, you can't use libraries, that are written in Swift 3.0.

查看更多
登录 后发表回答