Dear Xcode-users,
I need to run Xcode 4 from 10.6.8 Snow Leopard (I'm using Rosetta apps) so I joined the $99 Mac Developer Program, downloaded Xcode 4.2 for Snow Leopard and installed it.
I need to have Xcode 3 also so I renamed my old Developer folder to Developer3 prior to installing Xcode 4.
Xcode 4 crashed right after launch – when I tried to open an existing project – with the following Stack Trace:
ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-937/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:119
Details: Invalid location for source tree. Initialization failed.
Object: <IDESourceControlRepository: 0x201453680>
Method:
-initWithDictionary:sourceControlExtension:sourceControlManager:
Thread: <NSThread: 0x200025720>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x00000001009e6646 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010006aaa4 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x00000001005a314f -[IDESourceControlTree initWithDictionary:sourceControlExtension:sourceControlManager:] (in IDEFoundation)
3 0x00000001005a2900 -[IDESourceControlRepository initWithDictionary:sourceControlExtension:sourceControlManager:] (in IDEFoundation)
4 0x00000001005a23b9 -[IDESourceControlManager loadRepositories] (in IDEFoundation)
5 0x000000010059cc9b -[IDESourceControlManager init] (in
IDEFoundation)
6 0x000000010059cad2 __53+[IDESourceControlManager sharedSourceControlManager]_block_invoke_0 (in IDEFoundation)
7 0x00007fff8a53f705 dispatch_once_f (in libSystem.B.dylib)
8 0x000000010059caa1 +[IDESourceControlManager sharedSourceControlManager] (in IDEFoundation)
9 0x0000000117c64276 -[Xcode3ProjectTemplateCompletionAssistant _updateDirectoryURL:] (in Xcode3UI)
10 0x0000000117c63e5a -[Xcode3ProjectTemplateCompletionAssistant configuredSavePanel] (in Xcode3UI)
11 0x0000000100a67db7 -[IDETemplateCompletionAssistant beginSheetModalForWindow:] (in IDEKit)
12 0x0000000100a5c527 -[IDEAssistantWindowController goNextOrFinish:] (in IDEKit)
13 0x00007fff8498aeda -[NSApplication sendAction:to:from:] (in AppKit)
14 0x0000000100212580
-[DVTApplication sendAction:to:from:] (in DVTKit)
15 0x00000001008f1f94 -[IDEApplication sendAction:to:from:] (in IDEKit)
16 0x00007fff8498ae39 -[NSControl sendAction:to:] (in AppKit)
17 0x00007fff84a1684b -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
18 0x00007fff84a4737a -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
19 0x00007fff84a152f5 -[NSControl mouseDown:] (in AppKit)
20 0x00007fff8492f3a7 -[NSWindow sendEvent:] (in AppKit)
21 0x00007fff84864afa -[NSApplication sendEvent:] (in AppKit)
22 0x00000001008f1cb1 -[IDEApplication sendEvent:] (in IDEKit)
23 0x00007fff847fb6de -[NSApplication run] (in AppKit)
24 0x00007fff847f43b0 NSApplicationMain (in AppKit)
25
0x0000000100000eec
26 0x0000000000000002
I relaunched Xcode 4. It crashed again but I said "Continue" and went into Organizer and removed the files Organizer could see.
Then I Quit and relaunched Xcode and attempted to create a new project. But Xcode 4 still crashes in a slightly different way still related to Source Code Control.
ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-937/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:119
Details: Invalid location for source tree. Initialization failed.
Object: <IDESourceControlRepository: 0x2015815c0>
Method: -initWithDictionary:sourceControlExtension:sourceControlManager:
Thread: <NSThread: 0x200025720>{name = (null), num = 1}
Hints: None
Backtrace:
0
0x00000001009e6646 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010006aaa4 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x00000001005a314f -[IDESourceControlTree initWithDictionary:sourceControlExtension:sourceControlManager:] (in IDEFoundation)
3 0x00000001005a2900 -[IDESourceControlRepository initWithDictionary:sourceControlExtension:sourceControlManager:] (in IDEFoundation)
4 0x00000001005a20ac -[IDESourceControlManager loadRepositories] (in IDEFoundation)
5 0x000000010059cc9b -[IDESourceControlManager init] (in IDEFoundation)
6 0x000000010059cad2 __53+[IDESourceControlManager sharedSourceControlManager]_block_invoke_0 (in IDEFoundation)
7 0x00007fff8a53f705 dispatch_once_f (in
libSystem.B.dylib)
8 0x000000010059caa1 +[IDESourceControlManager sharedSourceControlManager] (in IDEFoundation)
9 0x0000000117a9e276 -[Xcode3ProjectTemplateCompletionAssistant _updateDirectoryURL:] (in Xcode3UI)
10 0x0000000117a9de5a -[Xcode3ProjectTemplateCompletionAssistant configuredSavePanel] (in Xcode3UI)
11 0x0000000100a67db7 -[IDETemplateCompletionAssistant beginSheetModalForWindow:] (in IDEKit)
12 0x0000000100a5c527 -[IDEAssistantWindowController goNextOrFinish:] (in IDEKit)
13 0x00007fff8498aeda -[NSApplication sendAction:to:from:] (in AppKit)
14 0x0000000100212580 -[DVTApplication sendAction:to:from:] (in DVTKit)
15 0x00000001008f1f94 -[IDEApplication sendAction:to:from:] (in IDEKit)
16 0x00007fff8498ae39 -[NSControl sendAction:to:] (in
AppKit)
17 0x00007fff84a1684b -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
18 0x00007fff84a4737a -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
19 0x00007fff84a152f5 -[NSControl mouseDown:] (in AppKit)
20 0x00007fff8492f3a7 -[NSWindow sendEvent:] (in AppKit)
21 0x00007fff84864afa -[NSApplication sendEvent:] (in AppKit)
22 0x00000001008f1cb1 -[IDEApplication sendEvent:] (in IDEKit)
23 0x00007fff847fb6de -[NSApplication run] (in AppKit)
24 0x00007fff847f43b0 NSApplicationMain (in AppKit)
25 0x0000000100000eec
26 0x0000000000000002
I searched for an answer but didn't find one.
Does anyone know what I need to do to get Xcode 4 to work on 10.6.8 that also has Xcode 3
installed?
Thanks!
Joel
P.S. BTW, Xcode 3 still works.