Objective-C RLMArray property error

I ran into trouble with my Schema and Objective-C. My App crashes with the following error. Any help will be appreciated. The class definitions were copied from the Schema editor on my Atlas account.

Terminating app due to uncaught exception 'RLMException', reason: 'Property 'boards' is of type 'RLMArray<Deal_boards>' which is not a supported RLMArray object type. RLMArray can only contain instances of RLMObject subclasses. See https://www.mongodb.com/docs/realm/sdk/swift/fundamentals/relationships/#to-many-relationship for more information.'
terminating with uncaught exception of type NSException

After playing around, the solution was to add implementation for each embedded class.

Note to Atlas developers: please fix the schema code generator to add implementation for each of the embedded classes.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.