Reply to Multiple commands produce error I assume you've created NSManagedObject subclasses in Xcode but left codegen setting of your entity to 'class definition'. Change this setting to 'manual/none'. Developer Tools & Services Xcode Oct ’23