Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Blast12345

macrumors newbie
Original poster
Jul 11, 2012
7
0
I recently came back to Xcode to work on a new app (last used Xcode in April 2013). I'm wanting to look back at some old code, but whenever I open the projects Xcode promptly crashes. Is there some annoying issue that came along that everybody knows about except me who is out of the loop? I can make a new project, save it, and open it just fine - the problem is only projects made with older versions of Xcode.

Thanks!
 
Just for fun, I opened a copy of an iPhone project that I hadn't touched since 2009. Xcode 5.1 built and ran the app in the Simulator just fine. Ancient iOS 2.x code. Lots of warnings. No fatal errors.
 
I appreciate you trying that. There must be something not quite right about my installation. I tried deleting Xcode and are downloading it, but perhaps I should try that app remover (I can't remember what it is called) so I can get the freshest instl I can.
 
I used AppCleaner and that made no difference. When I reinstalled XCode the problem was still present. Does anybody else have any input?

Here is the first part of the crash report:
Code:
Process:         Xcode [16039]
Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:      com.apple.dt.Xcode
Version:         5.1 (5084)
Build Info:      IDEFrameworks-5084000000000000~21
App Item ID:     497799835
App External ID: 444172641
Code Type:       X86-64 (Native)
Parent Process:  launchd [269]
Responsible:     Xcode [16039]
User ID:         502

Date/Time:       2014-03-30 20:29:07.022 -0500
OS Version:      Mac OS X 10.9.2 (13C64)
Report Version:  11
Anonymous UUID:  571BCEAE-95BC-60B2-E641-949EBAF32E56

Sleep/Wake UUID: 11C6CE52-B648-4739-A207-A9AAD47DFE7E

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 5B130a
ASSERTION FAILURE in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5067/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Xcode3Model/Xcode3Target.m:989
Details:  fileReference should be an instance inheriting from Xcode3FileReference, but it is <Xcode3VariantGroup: 0x7ff26e7b4310>
Object:   <Xcode3Target: 0x7ff26e79ce20>
Method:   -linkedBinaries
Thread:   <NSThread: 0x7ff268e15930>{name = (null), num = 1}
Hints:   None
Backtrace:
  0  0x000000010dd21825 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1  0x000000010cb367a9 _DVTAssertionHandler (in DVTFoundation)
  2  0x000000010cb36a8f _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x0000000112d40133 -[Xcode3Target linkedBinaries] (in DevToolsCore)
  4  0x0000000113182060 +[Xcode3UpgradeUnitTesting analyzeInContext:] (in Xcode3UI)
  5  0x000000010d554167 analyzeTasks (in IDEFoundation)
  6  0x000000010d553dad IDEUpgradeTask_AllUpgradeTasksForContainer (in IDEFoundation)
  7  0x0000000112d35bca -[Xcode3Project _runUpgradeChecksIfNecessary] (in DevToolsCore)
  8  0x0000000112d35f32 -[Xcode3Project shouldLogUpgradeCheck] (in DevToolsCore)
  9  0x0000000112d364c3 __38-[Xcode3Project analyzeModelIntegrity]_block_invoke_2 (in DevToolsCore)
 10  0x00007fff86e530b5 -[NSBlockOperation main] (in Foundation)
 11  0x00007fff86e328a1 -[__NSOperationInternal _start:] (in Foundation)
 12  0x00007fff86e3254b __NSOQSchedule_f (in Foundation)
 13  0x00007fff8d60c2ad _dispatch_client_callout (in libdispatch.dylib)
 14  0x00007fff8d613f03 _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
 15  0x00007fff8a43e679 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
 16  0x00007fff8a3f9954 __CFRunLoopRun (in CoreFoundation)
 17  0x00007fff8a3f90b5 CFRunLoopRunSpecific (in CoreFoundation)
 18  0x00007fff862bda0d RunCurrentEventLoopInMode (in HIToolbox)
 19  0x00007fff862bd7b7 ReceiveNextEventCommon (in HIToolbox)
 20  0x00007fff862bd5bc _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
 21  0x00007fff8934c3de _DPSNextEvent (in AppKit)
 22  0x00007fff8934ba2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
 23  0x000000010d099e31 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
 24  0x00007fff8933fb2c -[NSApplication run] (in AppKit)
 25  0x00007fff8932a913 NSApplicationMain (in AppKit)
 26  0x00007fff84eeb5fd start (in libdyld.dylib)
 27  0x0000000000000001
 
abort() called

Application Specific Signatures:
[(id)(fileReference) isKindOfClass:[Xcode3FileReference class]]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff82689866 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff8217b35c pthread_kill + 92
2   libsystem_c.dylib             	0x00007fff8ac1db1a abort + 125
3   com.apple.dt.IDEKit           	0x000000010dd21407 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1470
4   com.apple.dt.IDEKit           	0x000000010dd219e8 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1177
5   com.apple.dt.DVTFoundation    	0x000000010cb367a9 _DVTAssertionHandler + 361
6   com.apple.dt.DVTFoundation    	0x000000010cb36a8f _DVTAssertionFailureHandler + 407
7   com.apple.Xcode.DevToolsCore  	0x0000000112d40133 -[Xcode3Target linkedBinaries] + 422
8   com.apple.dt.IDE.Xcode3UI     	0x0000000113182060 +[Xcode3UpgradeUnitTesting analyzeInContext:] + 336
9   com.apple.dt.IDEFoundation    	0x000000010d554167 analyzeTasks + 408
10  com.apple.dt.IDEFoundation    	0x000000010d553dad IDEUpgradeTask_AllUpgradeTasksForContainer + 3824
11  com.apple.Xcode.DevToolsCore  	0x0000000112d35bca -[Xcode3Project _runUpgradeChecksIfNecessary] + 1031
12  com.apple.Xcode.DevToolsCore  	0x0000000112d35f32 -[Xcode3Project shouldLogUpgradeCheck] + 22
13  com.apple.Xcode.DevToolsCore  	0x0000000112d364c3 __38-[Xcode3Project analyzeModelIntegrity]_block_invoke_2 + 241
14  com.apple.Foundation          	0x00007fff86e530b5 -[NSBlockOperation main] + 75
15  com.apple.Foundation          	0x00007fff86e328a1 -[__NSOperationInternal _start:] + 631
16  com.apple.Foundation          	0x00007fff86e3254b __NSOQSchedule_f + 64
17  libdispatch.dylib             	0x00007fff8d60c2ad _dispatch_client_callout + 8
18  libdispatch.dylib             	0x00007fff8d613f03 _dispatch_main_queue_callback_4CF + 333
19  com.apple.CoreFoundation      	0x00007fff8a43e679 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
20  com.apple.CoreFoundation      	0x00007fff8a3f9954 __CFRunLoopRun + 1636
21  com.apple.CoreFoundation      	0x00007fff8a3f90b5 CFRunLoopRunSpecific + 309
22  com.apple.HIToolbox           	0x00007fff862bda0d RunCurrentEventLoopInMode + 226
23  com.apple.HIToolbox           	0x00007fff862bd7b7 ReceiveNextEventCommon + 479
24  com.apple.HIToolbox           	0x00007fff862bd5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
25  com.apple.AppKit              	0x00007fff8934c3de _DPSNextEvent + 1434
26  com.apple.AppKit              	0x00007fff8934ba2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
27  com.apple.dt.DVTKit           	0x000000010d099e31 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 84
28  com.apple.AppKit              	0x00007fff8933fb2c -[NSApplication run] + 553
29  com.apple.AppKit              	0x00007fff8932a913 NSApplicationMain + 940
30  libdyld.dylib                 	0x00007fff84eeb5fd start + 1
 
Last edited by a moderator:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.