【问题标题】:Is it possible to add Swift 4.1 to Xcode 10是否可以将 Swift 4.1 添加到 Xcode 10
【发布时间】:2018-12-14 14:58:48
【问题描述】:

我的应用目前在 Xcode 9.4.1 中使用 Swift 4.1。 Apple 宣布自 2019 年 3 月起,他们将只允许使用 Xcode 10 构建的应用程序。Xcode 10 现在仅支持 Swift 3.3、4.0 和 4.2。 我的应用只能在 Swift 4.1 上运行(由于某些原因)。

是否可以让 Xcode 10 运行 Swift 4.1?

【问题讨论】:

    标签: swift xcode xcode10 swift4.2 swift4.1


    【解决方案1】:

    如果你真的想使用 Swift 4.1,你可以尝试使用 the GitHub project 从源代码构建你自己的 Swift 4.1。我不确定这是一个很好的解决方案。在我看来,这太复杂了。没办法用4.1。 顺便说一句,您可以尝试使用 Swift9.4.1 中的旧 xcodebuild 系统来编写代码。

    【讨论】:

      【解决方案2】:

      我在 swift 4.1 中有我的项目,然后我下载了 xcode 10 并选择了 swift 语言版本 swift 4,它必须在我的项目中工作。但 swift 4.1 在 xcode 10 中不可用。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2016-08-16
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2022-11-02
        • 2020-01-24
        • 2017-11-02
        相关资源
        最近更新 更多