Alamofire iOS 7

Alamofire with iOS 7

我需要支持 iOS 7. 我的 podspec 文件中有 Alamofire,因为它是我正在构建的独立库的内部库。当我 运行 pod lib lint 时,出现以下错误:

The platform of the target `Pods` (iOS 7.0) is not compatible with `Alamofire (1.1.4)` which has a minimum requirement of iOS 8.0 - OS X 10.9.

当我尝试将库添加到支持 iOS 7 的项目的常规 Podfile 时,我遇到了同样的错误。有人知道这个问题吗?

Dynamic Frameworks 在 iOS 7. 手动拖入文件。

引自 AlamoFire 的 README:

Embedded frameworks require a minimum deployment target of iOS 8 or OS X Mavericks.

To use Alamofire with a project targeting iOS 7, you must include the Alamofire.swift source file directly in your project. See the 'Source File' section for instructions.

For Swift 1.2 using the Xcode 6.3 Beta, use the xcode-6.3 branch.