【发布时间】:2016-09-22 10:53:20
【问题描述】:
我正在开发一个包含 20 多个框架依赖项的应用程序,但并非所有这些依赖项都在 3.0 上。所以我想继续使用 Swift 2.3。但是,将我的 Xcode 更新到 8.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.
我还不想将整个项目转换为 3.0。
所以我的问题是如何在 Xcode 8.0 更新后保持一切不变?
【问题讨论】:
-
我已经回答了和你类似的问题:stackoverflow.com/questions/39485577/…你应该可以用它来调整你的框架