Skip to content

Errors on install pod: Generic type 'DataResponse' specialized with too few type parameters (got 1, but expected 2) #324

@krunalgoswami

Description

@krunalgoswami

Hi,
I have installed latest version of  EVReflection/Alamofire pod
pod 'EVReflection/Alamofire'

Screenshot 2021-05-27 at 12 00 09 PM

I have faced this error initially. ERROR: Compiling for iOS 8.0, but module 'Alamofire' has a minimum deployment target of iOS 10.0
Screenshot 2021-05-27 at 11 55 49 AM

To resolve this issue I have changed EVReflection minimum deployment target to 10.0.

Then I faced below 2 errors at total places.

  1. Cannot specialize non-generic type 'DataResponseSerializer' -> Remove '
  2. 'Generic type 'DataResponse' specialized with too few type parameters (got 1, but expected 2)
    Screenshot 2021-05-27 at 11 57 49 AM

Can you please fix that ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions