美文网首页
Swift中使用cocoapods继承报错

Swift中使用cocoapods继承报错

作者: Paladiners | 来源:发表于2017-06-29 16:26 被阅读19次

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.


QQ20170629-161834@2x.png

解决方法:

Build settings -> search swift, choice use legacy swift language version

Toggled no to yes -> build. You will get more error.

Back toggled yes to no. build -> success!

上图:


QQ20170629-162513@2x.png

参考文章:
https://stackoverflow.com/questions/41157874/use-legacy-swift-language-version-swift-version-is-required-to-be-configured

相关文章

网友评论

      本文标题:Swift中使用cocoapods继承报错

      本文链接:https://www.haomeiwen.com/subject/jmzmcxtx.html