AlamofireObjectMapper not supporting ios8 when updating to swift 3?

左心房为你撑大大i 提交于 2019-12-01 13:14:00

问题


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

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

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?

Thanks in advance.


回答1:


EDIT Alamofire 4.1.0

Support for iOS 8.0 and macOS 10.10 is back!


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 : https://github.com/Alamofire/Alamofire/issues/1367#issuecomment-235803404

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.



来源:https://stackoverflow.com/questions/39703996/alamofireobjectmapper-not-supporting-ios8-when-updating-to-swift-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!