-
-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find type 'ListBase' in scope #243
Comments
I am having the same issue. This issue started happening at Realm Cocoa v10.8.0. |
Had the same issue. You have to use an older version of Realm, to get it to work! |
Same issue. Using Realm v10.7.7 fixed problem, but fix this issue with last version of Realm. |
I've updated it on my fork to be compatible, but not 100% sure if it works properly, can someone help test it?
|
This issue is currently resolved with Realm v10.7.7 and is expected to be compatible with iCream. |
@timefrancesco Well, I have no idea what you did there, but it seems to be working for me! 🍻 |
@caiyue1993 this issue blocks IceCream from using any version of Realm higher or equal than 10.8. The latest RealmSwift version is now 10.15.1. Have you considered applying timefrancesco's patch? (timefrancesco@606cf63) |
Hi @mrezk, sorry now I have no plan to support Realm higher than 10.8 version. And have you guys tested the patch? I don't think |
This reverts commit ca7bdfd.
Turns out this stopped working for me :/ Like I said here, I started getting errors like "cannot use an empty list to initialize a new field" and then sync operations won't even complete at all. :/ |
Hey @caiyue1993 - firstly, genuine big thanks for this library - it's very useful :) Is there anything we, as the community, can do to help you update it (if it's a case of it being a big job, rather than there being another specific reason)? |
Hi guys, I suggest you using Realm before the version of 10.0.0 for the time being(which is v5.3.2 the last former one). Here is the reasons:
Sorry for the delay of the response and the maintenance as I was busy at company. The good news is I've quitted my job and start my indie hacker life! So I can spend more time on the open source project and crafting my own app(which uses IceCream, absolutely:). Let's make IceCream great again. |
@caiyue1993 I was already using realm |
@blackturtle2 Hi, please check the PR #256. You could use that implementation in advance before getting merged into the master branch. |
Compile the project, the following code reports an error
/// We may get List here
/// The item cannot be casted as List
/// It can be casted at a low-level type ListBase
guard let list = item as? ListBase, list.count > 0 else { break }
var referenceArray = CKRecord.Reference
let wrappedArray = list._rlmArray
The text was updated successfully, but these errors were encountered: