Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 6.3 Alamofire.swift file crashed

I'm new in swift. I use Alamofire in my project. Also, I installed XCode 6.3. Then, Alamofire.swift file crashed. I fixed all errors, but I could not fix the code below in Alamofire.swift file:

public func response(completionHandler: (NSURLRequest, NSHTTPURLResponse?, AnyObject?, NSError?) -> Void) -> Self {
    return response(Request.responseDataSerializer(), completionHandler: completionHandler)
}

It says that missing argument for parameter 'serializer' in call.

How can I fix it ?

Thank you for your answers,

Best regards

like image 543
saksut Avatar asked Aug 12 '26 20:08

saksut


1 Answers

Just FYI, Alamofire 1.2.0 was released this morning which fully supports Swift 1.2 and Xcode 6.3. You no longer need to use the xcode-6.3 branch. That will certainly resolve your missing argument for parameter 'serializer' in call issue.

like image 174
cnoon Avatar answered Aug 15 '26 09:08

cnoon