Compile error for data model in path after Xcode update

After upgrading to Xcode 4.3.2, I started getting the following error when I make a build:

Compilation failed for data model at path '/Users/Administrator/Library/Developer/Xcode/DerivedData/AppName-ffeggcadwojrwacrwosvadafamrk/Build/Products/Debug-iphoneos/Data.momd/Data.mom'

      

This didn't happen until the update, and if I check out the same project on a machine running a previous version of Xcode, it works fine. No mistakes.

I found a couple of similar posts here and here , but none of the answers helped in all. From the error message, the file path it gives does not contain the file, so I assume its property is somewhere that I need to change, but I just cannot find it.

Please help, thanks.

EDIT: on further research I can stop it from making mistakes if I remove certain objects from the data model file, we are currently using a large pre-generated sqlite file to load the data so that I can recreate the data model file, but that could mean recreating sqlite which will hurt a little. Does anyone know why some organizations are causing this?

+3


source to share





All Articles