Whenever I build my project, I\'m getting the error:
Command /Developer/usr/bin/momc failed with exit code 1
I\'ve read posts here about deleti
For me the issue wasn't within the .pbxproj file.
Find the xcdatamodel file in finder. Option click and open package contents. Check to see if there are multiple versions inside that you don't recognise.
I was expecting only one version. A second version some how came about and xcode wasn't registering it.
I removed the second version and it's working fine now.
Open up the .pbxproj file and manually remove all references to .xcdatamodel. Re-open XCode, Build Clean....and then drop in your older version of .xcdatamodel