caiyue1993/IceCream

Crash with previous records containing non ASCII characters

dbmrq opened this issue · 2 comments

dbmrq commented

I just commented about this here: #191 (comment)

I have an app on the App Store running with IceCream for a while now, and my primary keys already had non ASCII characters. Now I tried upgrading to IceCream's latest version and it crashes when trying to sync because primary keys can't contain ASCII characters anymore. However, the records are already on iCloud with those keys! IceCream will fetch the records from iCloud and then crash because they contain those characters. But I can't even change them before fetching them.

Are there any workarounds to this?

dbmrq commented

@aehlke For now I just forked the repo and added the transform suggested in the first comment of the PR mentioned above (#191). But it's not ideal.