Xcode sometimes mysteriously not compiling xcmappingmodel correctly
Xcode sometimes mysteriously not compiling xcmappingmodel correctly
- Subject: Xcode sometimes mysteriously not compiling xcmappingmodel correctly
- From: "Sean McBride" <email@hidden>
- Date: Tue, 1 Jun 2010 15:56:46 -0400
- Organization: Rogue Research Inc.
Hi all,
I have a really weird problem.
My project contains two .xcdatamodels and an .xcmappingmodel. Xcode
compiles the latter into a .cdm file and places it in /Resources.
Sometimes (no exact repro steps known) the resulting .cdm file is wrong
and so my app is unable to correctly migrate old documents. Manually
swapping the .cdm from another build 'fixes' the problem. By 'wrong' I
mean that the .cdm file seems to correspond to an older version of
the .xcmappingmodel.
Sometimes the .cdm file will be correct, other times not. When it's not
correct, I have tried the following it fix it:
- clean & rebuild
- empty xcode caches, relaunch, and rebuild
- delete 'build' folder and rebuild
None of these fixes it. However, if I context-click the .xcmappingmodel
and 'touch' it then rebuild the problem is fixed!
I have seen this happen on two machines, with both 3.2.1 and 3.2.2. It
happens regularly on our nightly build machine, which is extremely annoying.
I'm at a loss...
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden