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:


This should resolve the problem.


Leave a Reply

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

Post Navigation