我在 Swift 2 中开发了一个应用程序,我使用的是 objectMapper。
现在 iOS 10 已经到来,我更新了我的代码和 pod 文件,现在我正在使用 iOS 10 并在 Swift 3 中工作。
我更新了我的 pod 文件 AlamofireObjectMapper 4.0,它不支持 iOS 8。
我用谷歌搜索过,但没有找到任何解决方案。
我在这里给出了相同的答案:https://stackoverflow.com/a/39822443/4552438
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.
关于ios - AlamofireObjectMapper 在 iOS 8 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39785419/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |