Chapter 2 Compiled Error

After running final version of the example, Xcode shows the compiled error as below

***** Terminating app due to uncaught exception ‘RLMException’, reason: ‘Primary key property ‘id’ does not exist on object ‘ToDoItem’’**

Does anybody know how to solve this problem?

I get the same error :pensive:

The answer is here, change the realm version to 3.20.0

@lmw41 Glad you sorted it out. Cheers! :]