Migrate from swift 2.2 to swift 3.0 in xcode 8

流过昼夜 提交于 2019-12-12 02:16:54

问题


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:


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.



来源:https://stackoverflow.com/questions/39490103/migrate-from-swift-2-2-to-swift-3-0-in-xcode-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!