Xcode suddenly throwing exceptions on launch
Xcode suddenly throwing exceptions on launch
- Subject: Xcode suddenly throwing exceptions on launch
- From: Michael Ellis <email@hidden>
- Date: Thu, 21 Aug 2008 10:47:36 -0400
Hi folks.
I've been using Xcode since it was called Project Builder, and to date
I've been able to successfully troubleshoot its occasional challenges,
but this one has me stumped.
I have been using final version of Xcode 3.1 for many trouble-free
weeks, but yesterday, it started throwing an exception on launch. At
the end of this message, I've appended the information that was dumped
to the console. It appears that Xcode is suddenly encountering a
problem loading "platform specifications" via the
XCPlatformSpecification class.
I have launched the application using GDB and set a breakpoint at -
[XCPlatformSpecification
initWithPropertyListDictionary:path:inDomain:] . Stepping over this
causes the exception to be thrown, but if I use "lsof" to have a look
at open files, I see that Xcode is looking at:
/private/var/folders/+v/+vIxBMwdGiu+k6NYrGLzzE+++TI/-Caches-/
com.apple.Xcode.501/CachedSpecifications-Xcode
When I try to open that file in PropertyEditor.app, it says it's in an
invalid format, so no further clues there.
Desperate to restore my development environment (and get back to
work), yesterday I did an Archive and Install of Mac OS X, and I
elected NOT to preserver user and network settings. I was certain
that this followed by an Xcode reinstall would resolve the issue.
Unfortunately, the issue persists despite this fresh installation of
the OS and my using a brand new user account.
As a consequence of this bug, Xcode 3.1's Organizer window refuses to
add new devices (my development iPhone, for example) and the
application is unusable for development.
Any insight into this would be most appreciated.
Best Regards,
Mike Ellis
Console Log Follows:
8/21/08 10:37:01 AM Xcode[422] Failed to load specification for
platform '<unknown>'. Reason: malformed property list dictionary
(required key 'Identifier' not present)
8/21/08 10:37:01 AM Xcode[422] -[NSConcreteMutableAttributedString
initWithString:attributes:] called with nil string argument. This has
undefined behavior and will raise an exception in post-Leopard linked
apps. This warning is displayed only once.
8/21/08 10:37:02 AM Xcode[422] ** INTERNAL ERROR: Uncaught Exception **
Exception: *** -[NSCFString replaceCharactersInRange:withString:]: nil
argument
Stack:
0 0x9228914b __raiseError (in CoreFoundation)
1 0x903f40fb objc_exception_throw (in libobjc.A.dylib)
2 0x92288f2b +[NSException raise:format:arguments:] (in
CoreFoundation)
3 0x92288f6a +[NSException raise:format:] (in CoreFoundation)
4 0x9486000e mutateError (in Foundation)
5 0x9479cd5c -[NSConcreteMutableAttributedString
replaceCharactersInRange:withString:] (in Foundation)
6 0x9479cb21 -[NSConcreteMutableAttributedString
initWithString:attributes:] (in Foundation)
7 0x000cd129 -[NSMutableAttributedString(TSFoundationExtra)
appendString:attributes:] (in DevToolsSupport)
8 0x00c9274c -[PBXAssertionHandler
handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments
:] (in DevToolsInterface)
9 0x00787f74 _XCAssertionFailureHandler (in DevToolsCore)
10 0x00774b82 -[XCPlatformSpecification
initWithPropertyListDictionary:path:inDomain:] (in DevToolsCore)
11 0x007764b7 +[XCPlatformSpecification loadAllPlatforms] (in
DevToolsCore)
12 0x00761c17 XCInitializeCoreIfNeeded (in DevToolsCore)
13 0x0000330a
14 0x9476f54a _nsnote_callback (in Foundation)
15 0x921f0aba __CFXNotificationPost (in CoreFoundation)
16 0x921f0d93 _CFXNotificationPostNotification (in CoreFoundation)
17 0x9476c7b0 -[NSNotificationCenter
postNotificationName:object:userInfo:] (in Foundation)
18 0x94775ff8 -[NSNotificationCenter postNotificationName:object:]
(in Foundation)
19 0x927620a5 -[NSApplication finishLaunching] (in AppKit)
20 0x92761b2b -[NSApplication run] (in AppKit)
21 0x9272f030 NSApplicationMain (in AppKit)
22 0x00002c82
8/21/08 10:37:03 AM Xcode[422] Error loading /Library/QuickTime/
LiveType.component/Contents/MacOS/LiveType: dlopen(/Library/QuickTime/
LiveType.component/Contents/MacOS/LiveType, 262): Library not loaded: /
System/Library/PrivateFrameworks/LiveType.framework/Versions/A/LiveType
Referenced from: /Library/QuickTime/LiveType.component/Contents/
MacOS/LiveType
Reason: no suitable image found. Did find:
/System/Library/PrivateFrameworks/LiveType.framework/Versions/A/
LiveType: GC capability mismatch
=========================
Michael F. Ellis
President
Ellis Softworks Inc.
----------
Phone: (941) 713-0361
Email: email@hidden
Web: http://www.ellissoftworks.com
_______________________________________________
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