danielgindi / ChartsRealm

A Realm.io module for Charts
Apache License 2.0
133 stars 47 forks source link

RealmSwift dependency locked to 2.10 #16

Closed leenabeena closed 6 years ago

leenabeena commented 6 years ago

Hello,

We're trying to integrate this library into our app through cocoapods. Our app uses RealmSwift 3.0.2, but ChartsRealm requires 2.10.0. Is there a reason the library is locked to an older version of realm? Is it not compatible with 3.0+?

Thanks!

liuxuan30 commented 6 years ago

oh. I didn't update pod yet. I updated carthage. I can change to >=.

BTW RealmSwift does not have prebuilt framework for swift 4.0.3 yet, do you need swift 4.0.3? I don't know if pods can rebuild from source? carthage can do that.

liuxuan30 commented 6 years ago

sorry, I tried to push pod however multiple compile errors while carthage does not have. I think it's due to I'm building from Realm master instead of 3.0.2.

There is no solution right now, as 3.0.2 does not work with latest ChartsRealm. You have to wait Realm release a new one. Or use Carthage.

marchv commented 6 years ago

Hi :)

Could this one be reopened please? It is not possible to use Realm 3.1.0 and ChartsRealm using Cocoapods :S

Thanks a lot in advance :)

liuxuan30 commented 6 years ago

pod have to wait as no prebuilt binary works. I don't know why. You could file a PR to make it work and I can merge it. When RealmSwift released a 4.0.3 compatible version, we will update pod.