What does Simperium tried to send object changes for nil key
mean and how can I debug / fix it?

- 2,027
- 15
- 13
1 Answers
This will occur if an object doesn't have a simperiumKey
. Some things to check:
Does your entity inherit from a parent entity in your model file (usually SPManagedObject) that has the
simperiumKey
attribute of type String?Is the class for your entity set to
SPManagedObject
? Or, if you're using a custom subclass, have you updated the header file for your subclass to inherit fromSPManagedObject
instead ofNSManagedObject
?If you're manually adding the
simperiumKey
attribute to a model (for example, to micromanage your tables: Inherit from SPManagedObject), you may also need to manually add thesimperiumKey
andghostData
variables to your custom subclass if you have one.
We'll also improve the log message to give you a better indication of what is happening in this case.

- 1
- 1

- 757
- 5
- 8