Re: Xcode preferences not updated, need help
Re: Xcode preferences not updated, need help
- Subject: Re: Xcode preferences not updated, need help
- From: Joseph Michaels <email@hidden>
- Date: Sat, 10 Sep 2005 00:59:14 -0700
On 10 sept. 05, at 00:22, Eric Albert wrote:
On Sep 9, 2005, at 11:47 PM, Joseph Michaels wrote:
On 9 sept. 05, at 22:36, Chris Espinosa wrote:
This is incredibly strange. It's like you have a nib or plugin
left over from Xcode 1.2 or 1.5 hanging out despite all the
(correct and sensible) things you tried above.
Sorry to say that we have never seen anything like this before,
so there's no quick answer forthcoming.
Check out the Application Support/Apple/Developer Tools folders
in both /Library and ~/Library to make sure that there aren't
leftover plugins there.
Xcode's preferences are in ~/Library/Preferences/
com.apple.xcode.plist and you could try moving them out of there
and starting fresh.
Ah! Someone from Apple, excellent.
The only thing you mentioned there that hadn't occurred to me was
Application Support/Apple/Developer Tools folder, which I had no
idea existed. I removed the folder (side note: the plugins folder
was empty), removed the ~/Library variant, re-ran the 2.1
uninstaller, removed /Developer, removed com.apple.Xcode.plist,
and reinstalled 2.1.
Same preferences. Grr.
I'll keep poking at it and looking for offensive nibs, but for the
most part I'm lost. Anything you guys at Apple can do to help
would be great.
I'll suggest something very, very gross:
1) Launch Xcode. Bring it to the foreground before doing step (2)
just to make things easier.
2) In Terminal, run gdb.
...in gdb now, type each of these lines, press return after each
one...
3) attach Xcode
4) b open
(if prompted for multiple functions with "open" in the name,
select the one called "open")
5) commands 1
6) p (char *) $r3
7) c
8) end
9) c
10) Switch back to Xcode and type command-,
Now switch back to gdb and look at the output in your Terminal
window. You should see some paths to nib files in there. If any
of them are *not* under /System, they're the culprit. Delete them.
If you only find nibs under /System, open them up in Interface
Builder and see what you get. You should only have these nibs in
the list:
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/
HIToolbox.framework/Resources/English.lproj/StandardMenus.nib
/System/Library/PrivateFrameworks/DevToolsInterface.framework/
Resources/English.lproj/PBXPreferencesModule.nib
/System/Library/PrivateFrameworks/DevToolsInterface.framework/
Resources/English.lproj/PBXWorkspacePrefsModule.nib
If you open the last two in IB and they look weird, I suspect your
DevToolsInterface framework is out of date. I'd suggest running
the Developer Tools uninstall script, then manually deleting /
System/Library/PrivateFrameworks/DevToolsInterface if it's still
around, and then re-installing Xcode 2.1.
Hope this helps a bit,
Eric
Yay, it's fixed!
Thankfully I didn't have to do that messy thing with gdb. As it turns
out, I had just found PrivateFrameworks/DevToolsInterface and was
looking for the General pane. 'Workspace' seems a bit unintuitive,
but whatever... it was obviously pre-2.0. There were several others,
too, that the 2.1 uninstall script (and obviously the other scripts
as well) had failed to uninstall. Might want to look into that. Or it
could just be something weird with my system.
Anyway, after removing that framework — and DevToolsCore, I believe,
was still around — and reinstalling, it's all good.
Thanks for all your help,
Joe _______________________________________________
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