我尝试将我的项目更新为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?
发布评论