evermeer / EVReflection

Reflection based (Dictionary, CKRecord, NSManagedObject, Realm, JSON and XML) object mapping with extensions for Alamofire and Moya with RxSwift or ReactiveSwift
Other
965 stars 119 forks source link

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

Open krunalgoswami opened 3 years ago

krunalgoswami commented 3 years ago

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 ?