Search code examples
xcode7alamofire

Alamofire "Generic Response Object Serialization" does not compile


I upgraded from Swift 1.2, xcode 6.4 and Alamofire 1.x to: Swift 2.0, xcode 7, alamofire 2.0.2 via Carthage.

My old "Generic Response Object Serialization" broke, so I did a cut n paste from the readme, but it wont compile, it gives me the errors in the image below, help please!

enter image description here


Solution

  • Figured it out. The current state of the README is a mix (mess?) of 2.0 (install instructions) and 3.0-beta (code example)

    Solution was to use the code example from the README at the 2.0.2 release, so it was due to my bad knowledge of how github works.