Alamofire 与 XCode 8 Beta 6 的集成

Alamofire integration with XCode 8 Beta 6

我正在尝试在 XCode 8 Beta 6 中添加 Alamofire。我有 Cocoapods 1.1.0.beta.2,我正在使用这个 pod:

平台:ios,'9.0'

目标‘TestProject’做

use_frameworks! 吊舱 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'swift3'

结束

当我 运行 pod install 时,似乎一切正常。但是,当我尝试构建项目时,Alamofire 代码中出现了几个错误。大部分都是类型:“@escaping attribute only applies to function types” 有人可以帮忙吗?

原来是XCode本身的问题。当我下载最新的 XCode 版本 - XCode GM 时,不再出现错误。