If you come across the below error while building iPhone application, don’t panic.

expected specifier-qualifier-list before ‘NSManagedObjectModel’

You need to go to your projects _Prefix.pch file and include Core data library like this:

#import

This should resolve the problem.

Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Post Navigation