RLMException: Property '%@' is declared as '%@', which is not a supported RLMObject property type.
N
Nathan Hitchings
started a topic
almost 4 years ago
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.
Nathan Hitchings
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:
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.
http://devcenter.kinvey.com/ios/downloads
Pranav J
http://devcenter.kinvey.com/ios/downloads
-
Why do I get "Undefined symbols" errors when building with KinveyKit?
-
How do I register push tokens?
-
When using social login, to perform a log-out, do I need to log out of the social network, Kinvey, o
-
How can I assign additional properties to users?
-
Does KinveyKit support 64-bit ARM devices, such as iPhone 5s?
-
Authorization Token Invalid or Expired
-
BOOL and how it is stored in the database.
-
Offline saving throwing errors
-
Custom endpoint not able to form request object
-
Security through business logic
See all 437 topics