美文网首页
The “Swift Language Version” (SW

The “Swift Language Version” (SW

作者: who_young | 来源:发表于2018-04-17 11:25 被阅读105次

    今天尝试写一个MVVM+RAC的demo,项目中用pod引入ReactiveCocoa后运行报错:
    The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
    解决办法如下:

    swiftVersion.png

    分别选中TARGETS里的ReactiveCocoa、ReactiveSwift、Result, 将Swift Language Version选项改为Swift 4.0即可

    相关文章

      网友评论

          本文标题:The “Swift Language Version” (SW

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