Frederick C. Lee
Frederick C. Lee

Reputation: 9493

Core Data: Unable to load class named...Class not found

Environment: Xcode Version 6.3.2 (6D2105)

Why am I getting the "Unable to load class..." when referencing a NSManagedObject subclass?

enter image description here

I've check the target and it has the 'History.swift' file for compilation: enter image description here

Yet, it still doesn't see it.
Why?

Upvotes: 0

Views: 299

Answers (1)

MirekE
MirekE

Reputation: 11555

It is looking for PRODUCT_MODULE_NAME.History class. Go to the Core Data Model editor and the right hand side inspector and make sure it is named RicCalendar.History.

Upvotes: 2

Related Questions