我正在开发我的第一个iOS应用程序,我正在尝试将洗净集成到我的项目中。
我在Xcode中拖动Cleanse.xcodeproj并放入一个工作区。
我还添加了Cleanse.framework作为目标依赖项,并嵌入了它。
但是,我得到以下错误:
Build Target Cleanse
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.PS :我正在使用苹果Swift 3.0版(迅捷-800.0.46.2 clang-800.0.38)
发布于 2016-10-02 02:40:52
你遵循这些指示了吗?看来Cleanse不是使用Swift 3构建的,它需要更新到最新的语法。按照这些指示,选择框架,然后选择Swift 3,这应该是您所需要的。
如果你需要进一步的澄清,请告诉我。希望这能有所帮助。
https://stackoverflow.com/questions/39811112
复制相似问题