Re: Missing built-in rules for data model files
Re: Missing built-in rules for data model files
- Subject: Re: Missing built-in rules for data model files
- From: Chris Espinosa <email@hidden>
- Date: Thu, 13 Dec 2007 16:18:20 -0800
On Dec 13, 2007, at 12:49 PM, Kai BrĂ¼ning wrote:
We have a machine (MacBook Pro) with a rather new and clean Xcode 3
install, which does not seem to know about the build-in default
rules for data models. An older thread in this list (Xcode can't
find momc by Michael Dautermann) reports the same problem, but
without solution.
We found that the three missing rules are defined in
/Developer/Library/Xcode/Plug-ins/XdesignCompilerPlugin.xcplugin/
Contents/Resources/XdesignCompilerPlugin.xcbuildrules
while the other built-in rules are defined here:
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Versions/
A/Resources/Built-in build rules.plist
Adding a rule for data model files to a target made the project
compile, but of course we want to understand the problem and fix the
Xcode installation.
The problem is project-independent, even newly created projects show
it (that is, no rules for data models).
We tried with another user (which did not touch the Dev Tools at all
before) to no avail. We found some caches in /Library/Caches/, but
they are per user (dirs with user id in the name), so using another
user should have fixed the proble if related to these caches.
In "Xcode can't find momc" Michael Dautermann states "that an
uninstall, reboot and reinstall of the Developer Tools didn't take
care of this problem". We did not verify this yet.
Comparing to another Xcode installation which works as advertised
did not give us any hints.
The /Developer/Library/Xcode/Plug-ins/XdesignCompilerPlugin.xcplugin
should be self-contained and have everything it needs to
compile .xcdatamodel files into .mom files using the momc compiler.
If that plugin is present and nothing seems to be screwed up about its
components or permissions, then that's not the problem.
There's a remote possibility that an older version of the
XdesignCompilerPlugin.xcplugin is being loaded from some other
location in your file system, and that its rules are conflicting with
the ones in the correct plugin. Do a search (in /Library, ~/Library,
and /Developer/Library) for other plugins with that name and remove
them if found.
Could you post the error that you're getting when you try to compile a
data model?
Chris _______________________________________________
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