Xcode app development troubleshooting

This post is a collection of common error messages you may receive during application development in Xcode.

Error message

Receiver ‘NSManagedObjectContext’ for class message is a forward declaration

Solution

Add

#import <CoreData/CoreData.h>

to the … – Prefix.pch Prefix header file in the Supporting Files folder


 

Leave a Reply