ios - AlamofireObjectMapper 在 iOS 8 中不起作用
<p><p>我在 Swift 2 中开发了一个应用程序,我使用的是 objectMapper。 </p>
<p>现在 iOS 10 已经到来,我更新了我的代码和 pod 文件,现在我正在使用 iOS 10 并在 Swift 3 中工作。</p>
<p>我更新了我的 pod 文件 AlamofireObjectMapper 4.0,它不支持 iOS 8。</p>
<p>我用谷歌搜索过,但没有找到任何解决方案。</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>我在这里给出了相同的答案:<a href="https://stackoverflow.com/a/39822443/4552438" rel="noreferrer noopener nofollow">https://stackoverflow.com/a/39822443/4552438</a> </p>
<blockquote>
<p>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 : <a href="https://github.com/Alamofire/Alamofire/issues/1367#issuecomment-235803404" rel="noreferrer noopener nofollow">https://github.com/Alamofire/Alamofire/issues/1367#issuecomment-235803404</a></p>
<p>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.</p>
</blockquote></p>
<p style="font-size: 20px;">关于ios - AlamofireObjectMapper 在 iOS 8 中不起作用,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/39785419/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/39785419/
</a>
</p>
页:
[1]