gpt4 book ai didi

ios - 我可以将 Alamofire 更新到版本 4 并在我的应用程序中仍然支持 iOS 8 吗?

转载 作者:可可西里 更新时间:2023-11-01 00:21:34 29 4
gpt4 key购买 nike

我有一个结论,因为我是初学者,我只是想得到别人的证实。

在我必须支持 iOS 8 的 iOS 应用程序(Swift 2.2、Xcode 7)中,我使用 Alamofire 进行服务器通信。现在我的结论是我将无法将应用程序迁移到 Xcode 8 和 Swift 2.3 或 3.0,因为我必须使用 Alamofire 版本 4 而该版本不支持 iOS 8。所以我的应用程序必须保留 Alamofire 版本3 这意味着它必须保留 Swift 2.2 和 Xcode 7。我理解正确吗?

Alamofire 4 要求: https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%204.0%20Migration%20Guide.md

Alamofire 3 要求: https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%203.0%20Migration%20Guide.md

最佳答案

不,你不能 Alamofire 4.0 要求:

  • iOS 和 tvOS 9.0+、macOS 10.11.0+、watchOS 2.0+
  • Xcode 8.0+
  • swift 3.0+

如果您想在 iOS 8 或 macOS 10.9 上使用 Alamofire,请使用支持 Swift 2.2 和 2.3 的最新标记 3.x 版本。

Reference

关于ios - 我可以将 Alamofire 更新到版本 4 并在我的应用程序中仍然支持 iOS 8 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39654959/

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