AlamofireObjectMapper
AlamofireObjectMapper copied to clipboard
Giving error when install latest version through pod
Hello i am getting complier error when run the project. i did install the latest version of it.
Error :
"Generic type 'DataResponse' specialised with too few type parameters (got 1, but expected 2)"
here i attach screenshot for more reference.

Any update on this
No, Still i am waiting for someone give me solution.
Hi @codal-jayeshk , I had the same issue after updating of pods in the project. In my case, AlamofireObjectMapper version was downgraded from 6.2.0 to 6.0.0 automatically. And this caused errors. So I fixed it via manual version setting. Consider it to be temp solution.
pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire', :branch => '5.0.0-rc.3'
pod 'AlamofireObjectMapper', :git => 'https://github.com/tristanhimmelman/AlamofireObjectMapper', :branch => 'master'
Not sure what happened there. Probably, some issues with versioning on Alamofire dependencies.
.responseObject(completionHandler: { (response: DataResponse<Type, AFError>) in Should work.