AlamofireObjectMapper在更新到swift 3时不支持ios8?

编程入门 行业动态 更新时间:2024-10-26 10:35:35
本文介绍了AlamofireObjectMapper在更新到swift 3时不支持ios8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我尝试将我的项目更新为Swift 3,我的项目也支持ios8。

I tried to update my project to Swift 3, my project has support for ios8 as well.

在尝试更新cocoapods时,我遇到的问题是AlamofireObjectMapper需要更高的部署目标。

While trying to update the cocoapods, I am getting issue that AlamofireObjectMapper requires higher deployment target.

在更改为ios9时,pod安装没有任何错误,但我仍然想支持ios8。

On changing to ios9 the pods install without any error, but I still want to support ios8.

可以有谁可以帮忙解决这个问题?

Can anyone help on how this can be achieved?

提前致谢。

推荐答案

编辑Alamofire 4.1.0

支持iOS 8.0和macOS 10.10又回来了!

Support for iOS 8.0 and macOS 10.10 is back!

你不能在不放弃对iOS 8的支持的情况下更新到Swift 3,我担心。原因是Alamofire的Swift 3版本是4.0,开发人员决定放弃对iOS 8.0的支持。原因可以在这里找到: github/Alamofire/Alamofire / issues / 1367#issuecomment-235803404

You cannot update to Swift 3 without dropping support for iOS 8, I'm afraid. The reason is that the Swift 3 version of Alamofire is 4.0 and the developers have decided to drop support for iOS 8.0. The reasons can be found here : github/Alamofire/Alamofire/issues/1367#issuecomment-235803404

因此,您可以使用最新的Alamofire(3.5.1)和AlamofireObjectMapper的Swift 2.3版本继续支持iOS 8或者放弃对iOS 8的支持。

Therefore you can continue supporting iOS 8 by using the latest Swift 2.3 release of Alamofire (3.5.1) and AlamofireObjectMapper or drop support for iOS 8.

更多推荐

AlamofireObjectMapper在更新到swift 3时不支持ios8?

本文发布于:2023-11-26 22:09:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1635397.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不支持   新到   AlamofireObjectMapper   swift

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!