Slow Xcode indexing fix
Slow Xcode indexing fix
- Subject: Slow Xcode indexing fix
- From: Patrick Robinson <email@hidden>
- Date: Mon, 12 Jul 2004 08:36:31 -0400
I've seen a couple of allusions lately to the issue of how long it
takes for Xcode to reindex a project; for example, if you end up
dealing with an Xcode problem by removing your project's build
directory.
I just thought I'd make sure everyone knew about "Xcode Index
Templates", which can dramatically reduce the index rebuild time. Read
this (on your Mac OS X machine where Xcode is installed - I dunno where
it might be on Windows):
/Developer/Extras/Xcode\ Index\ Templates/Index\ Templates\
ReadMe.rtf
Then do this:
cd /Developer/Extras/Xcode Index Templates
./install_templates
This will index a set of "index templates" (found in that same dir),
and place those indexes in your
~/Library/Application Support/Apple/Developer Tools/Index Templates
directory (which it will create). It will also set
"PBXCodeSenseEnableIndexTemplates = YES" in your defaults db,
indicating to Xcode that it should look for these "pre-cooked" indexes
at that location (instead of reindexing all the various classes from
all the frameworks referenced by your new project). The result is that
the initial indexes for projects will be created very quickly.
Be patient... it'll take quite a while to index all the index templates
for the various project types that they have there.
--
Patrick Robinson
AHNR Info Technology, Virginia Tech
email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.