Alamofire“通用响应对象序列化”无法编译

时间:2015-09-26 16:51:33

标签: xcode7 alamofire

我从Swift 1.2,xcode 6.4和Alamofire 1.x升级到: Swift 2.0,xcode 7,alamofire 2.0.2来自Carthage。

我的旧“通用响应对象序列化”破了,所以我从自述文件中做了一个剪切n粘贴,但是它不会编译,它给了我下面图片中的错误,请帮忙!

enter image description here

1 个答案:

答案 0 :(得分:1)

想出来。 README的当前状态是2.0(安装说明)和3.0-beta(代码示例)的混合(混乱?)

解决方案是使用2.0.2版本中README的代码示例,因此了解github如何工作。