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

Type 'EVObject' does not conform to protocol 'EVReflectable' #308

Open TipsyFingers opened 5 years ago

TipsyFingers commented 5 years ago

Hello evermeer,

I am trying to build Swift 4 project using XCode 10.2.1 I've tried using EVReflection v5.5.2 (version that last release was built with) along with v5.6.2, v5.7.0, v5.8.0 and v5.9.0 with no success. In all scenarios I get following error: "Type 'EVObject' does not conform to protocol 'EVReflectable'" just like @corteggo in this issue https://github.com/evermeer/EVReflection/issues/299

Problem is with == operators from EVReflectable protocol which can't be implemented. What is the solution in this scenario? How to solve this issue?

evermeer commented 5 years ago

I'm also using Xcode 10.2.1 and have no problems with swift 4 and 5. Do you have the line 'import EVReflection' at the top of your files that use EVReflection? Could you show me some code where the problem is?

tobyworks commented 5 years ago

Having the same issue after upgrading from xCode 10.1 to xCode 10.3

Edit: Updating to pod 5.10.1 fixed the issue

Sikandarkhan commented 4 years ago

I am using XCode 10.3 Swift 5

Issue resolved with

pod 'EVReflection', '~> 5.10'