您的位置:首页 > 移动开发 > Swift

Swift 3.0 第三方库不适配报(SWIFT_VERSION)问题

2016-12-09 17:50 399 查看
Swift 3.0 第三方库不适配问题

“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.


1.点击项目中的Pods。

2.选中你的第三方框架。

3.选中Build Settings,然后在右边搜索框输入:swift

4.找到Swift Compoiler - Version 下的 Use Legacy Swift Language Version:把后面的改成NO即可



再次编译就OK了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  swift