Start a new topic
Answered

RLMException: Property '%@' is declared as '%@', which is not a supported RLMObject property type.

Xcode 8.2.1, Swift 3.0.1, Kinvey 3.3.8


In my app the exception in the title is being thrown. I only know this because I actually saw it being executed in the debugger. Xcode never logged the message and the stack trace was not helpful. That's why I left '%@' in the message - I don't actually know what it would have logged. Anyway, after inspecting what was supposed to be printed in the message it seems that Realm doesn't like a delegate property we have on one of our objects. Here's an example:

  

// swift
class SomeDataManager: Entity, SomeDelegate {
    weak var delegate: SomeOtherDelegate? // Realm doesn't like this, I guess
    // other properties and methods
}

  I'm open to the possibility that I'm doing something wrong but I'm not quite sure how to fix this or if it's a bug in Kinvey or Realm or something else. Any guidance is very much appreciated.


Side note: You should add Swift syntax highlighting.


Best Answer
This issue has been fixed with the latest iOS update v3.3.9.
http://devcenter.kinvey.com/ios/downloads

 

1 Comment

Answer
This issue has been fixed with the latest iOS update v3.3.9.
http://devcenter.kinvey.com/ios/downloads

 

Login or Signup to post a comment