Closed ransomweaver closed 9 years ago
I had the same thing after updating.
Make sure you remove all old import SRecord
(or whatever it was) from your files, delete derived data and do a clean build.
The problem is that it is still using the old header files.
Could you try what @rdougan mentions @ransomweaver . In that case I will add that comment on the README/Wiki of the project.
Aha! "import SRRealm" is not used now that I have included /Core and /Realm from SugarRecord in my project. Removing those (and cleaning the build presumably; I'd already done that) gets to a good build.
Thinking that I need an import is a bit of my Obj C showing still :)
Great, thanks @ransomweaver for checking. If you need any other thing do not hesitate to ask me!
I pulled sugarrecord submodule HEAD and changed the setup (added core and Realm folders directly to project) and now I get two new errors:
for this code: var dbCards: [Card]? = Card.by("cloudUUID", equalTo: "\"(cardUUID!)\"").find() as [Card]? I get "extra argument equalTo: in call"
and then for card.beginWriting() I get "Ambiguous use of beginWriting"
Card of course is a RLMObject
I don't seem to have any other Realm or SugarRecord errors