Xcode 8.1 beta 3 error

And of course following the random advice in StackOverFlow will fix one thing but break another. In the next step of the book where you save and retrieve a test bow tie in app delegate, I got this error in the console:

Could not cast value of type ‘NSManagedObject_Bowtie_’ (0x600000055f60) to ‘Bow_Ties.Bowtie’ (0x104eb7988).

Again, YMMV, but I end up setting Module to blank and kept Codegen to “Manual/None” and it fixed this issue. Let’s see how long before I come across another one because of this setting, lol.

1 Like