0xjmp / ObjectMapper-Realm

An ObjectMapper extension that serializes arbitrary JSON into Realm's List class
Other
178 stars 43 forks source link

Can't using with pod file #4

Closed lexuanquynh closed 8 years ago

lexuanquynh commented 8 years ago

22

0xjmp commented 8 years ago

What version of swift are you using? You should be using 0.1 for <=swift2.3, and 0.2 for swift 3.

patonz commented 8 years ago

Ive the same issue, i think with normal pod 'ObjectMapper+Realm' the default version is 0.1 instead of the last 0.2 @Jakenberg have you missed to update the pod? im trying to use pod 'ObjectMapper+Realm', '~> 0.2'but the install command give me an error about wrong name or version not avaible

0xjmp commented 8 years ago

Hm that is strange. I just double checked and I'm able to download 0.2 fine. Perhaps your Podfile.lock is configured for 0.1 already, and you just need to run pod update ObjectMapper+Realm?

lexuanquynh commented 8 years ago

thanks all. I fixed it :D I using pod with version 0.39.0, so I must use: pod 'ObjectMapper+Realm', '~> 0.2' Thanks so much.