gpt4 book ai didi

ios - 在 Swift 2.3 中使用 swift 3 框架

转载 作者:搜寻专家 更新时间:2023-10-31 08:17:59 25 4
gpt4 key购买 nike

我相信答案是否定的,但我想确定。你能编译包含 swift 3.0 框架的 swift 2.3 应用程序吗?

最佳答案

答案是否定的:/正如 Apple 所说:

Swift 3 is the primary development language supported within Xcode 8 so there are a couple notes to consider if you chose to continue using Swift 2.3. First, Swift 2.3 and Swift 3 are not binary compatible so your app's entire code base needs to pick one version of Swift.

Source and more informations on the Apple Swift Blog .

您必须在 2.3 和 3.0 之间做出选择。如果可以的话,我认为最好的办法是直接移动到 3.0(因为 2.3 只是一个“临时”版本)。

关于ios - 在 Swift 2.3 中使用 swift 3 框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39080893/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com