I wanted to update Xcode to 12.3, but there wasn't enough space for that on my MacBook, so I downloaded Xcode 12.3 from developer.apple.com, and unarchived the .xip file on an external SSD. After that, I moved Xcode back to the laptop, and now when I want to launch Xcode (so when I launch the app, not a particular project!) it crashes with the following log:
Process: Xcode [616]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.3 (17715)
Build Info: IDEFrameworks-17715000000000000~8 (12C33)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [616]
User ID: 501
Date/Time: 2020-12-18 14:22:40.576 +0200
OS Version: macOS 11.1 (20C69)
Report Version: 12
Bridge OS Version: 5.1 (18P3030)
Anonymous UUID: A6A1D2D4-69BA-5197-5F6F-C0FB4D60ADEB
Time Awake Since Boot: 91 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 12C33
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-17718/DVTFoundation/DeveloperStructure/DVTExtendedPlatformInfo.m:110
Details: (extensionPoint) should not be nil.
Object: <DVTExtendedPlatformInfo>
Method: +extendedPlatformInfoForPlatformIdentifier:error:
Thread: <NSThread: 0x7faa6100a380>{number = 1, name = main}
Open FDs: 6/256
Hints:
Backtrace:
0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 __75+[DVTExtendedPlatformInfo extendedPlatformInfoForPlatformIdentifier:error:]_block_invoke (in DVTFoundation)
4 _dispatch_client_callout (in libdispatch.dylib)
5 _dispatch_once_callout (in libdispatch.dylib)
6 +[DVTExtendedPlatformInfo extendedPlatformInfoForPlatformIdentifier:error:] (in DVTFoundation)
7 -[DVTPlatform(DVTExtendedPlatformInfo) dvt_extendedInfoOrError:] (in DVTFoundation)
8 +[DVTPlatform validatePlatformDataReturningError:] (in DVTFoundation)
9 IDEInitialize (in IDEFoundation)
10 -[IDEApplicationController applicationWillFinishLaunching:] (in IDEKit)
11 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
12 ___CFXRegistrationPost_block_invoke (in CoreFoundation)
13 _CFXRegistrationPost (in CoreFoundation)
14 _CFXNotificationPost (in CoreFoundation)
15 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
16 -[NSNotificationCenter(DVTNSNotificationCenterAdditions_MRR) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
17 -[NSApplication finishLaunching] (in AppKit)
18 -[DVTApplication finishLaunching] (in DVTKit)
19 -[NSApplication run] (in AppKit)
20 NSApplicationMain (in AppKit)
21 start (in libdyld.dylib)
abort() called
Application Specific Signatures:
((extensionPoint)) != nil
I've tried everything I could find online:
restart Mac (in safe mode)
update macOS to Big Sur 11.1
reinstall Xcode Command Line Tools
clear derived data
clear all Xcode associated files (excepting the app itself) using AppCleaner
Do you have any idea on how I can fix this?
By the way, isn't it strange that the file that gives ASSERTION FAILURE doesn't even exist on my computer?
I somehow managed to free up around 40 GB on my MacBook, so I was able to download Xcode from App Store. And it seems like this was a "cleaner" install, stopping Xcode from crashing.
Related
Xcode 7.3.1 itself crashes instantly on resymbolicate crash log. Do people see this, is there a workaround?
The target name of the app which has the crash log is using non-alpha characters, so the filename of the crash log does too. I'm just guessing that such a thing could be of concern and could be worth looking into later.
Crash log of the Xcode crash.
Process: Xcode [26717]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 7.3.1 (10188.1)
Build Info: IDEFrameworks-10188001000000000~3
App Item ID: 497799835
App External ID: 817226719
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [26717]
User ID: 503
Date/Time: 2016-05-09 13:59:49.452 +0900
OS Version: Mac OS X 10.11.4 (15E65)
Report Version: 11
Anonymous UUID: BA41D661-8DBF-03DD-FB21-F8B96CA8C464
Time Awake Since Boot: 260000 seconds
System Integrity Protection: enabled
Crashed Thread: 17 Dispatch queue: com.apple.root.default-qos
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 7D1014
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument
UserInfo: (null)
Hints: None
Backtrace:
0 __exceptionPreprocess (in CoreFoundation)
1 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 objc_exception_throw (in libobjc.A.dylib)
3 +[NSException raise:format:] (in CoreFoundation)
4 -[NSRegularExpression(NSMatching) enumerateMatchesInString:options:range:usingBlock:] (in Foundation)
5 -[DVTLocalLogSymbolicator _parseToolStandardError:] (in DVTFoundation)
6 __55-[DVTLocalLogSymbolicator symbolicateLogData:callback:]_block_invoke_3 (in DVTFoundation)
7 _dispatch_call_block_and_release (in libdispatch.dylib)
8 _dispatch_client_callout (in libdispatch.dylib)
9 _dispatch_root_queue_drain (in libdispatch.dylib)
10 _dispatch_worker_thread3 (in libdispatch.dylib)
11 _pthread_wqthread (in libsystem_pthread.dylib)
12 start_wqthread (in libsystem_pthread.dylib)
abort() called
I have just got Xcode 6.3 installed and immediately receiving a Xcode crash while archiving a project.
And actually, I don't know how to proceed. I cannot push my product to iTunes Connect.
I am also checking if I can roll back to Xcode 6.2.
Process: Xcode [4677]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3 (7569)
Build Info: IDEFrameworks-7569000000000000~2
App Item ID: 497799835
App External ID: 812135760
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [4677]
User ID: 502
Date/Time: 2015-04-09 22:23:04.523 +0200
OS Version: Mac OS X 10.10.3 (14D131)
Report Version: 11
Time Awake Since Boot: 9100 seconds
Time Since Wake: 2000 seconds
Crashed Thread: 12 Dispatch queue: NSOperationQueue 0x7f946daa5ef0 :: NSOperation 0x7f946d9284b0 (QOS: USER_INITIATED)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6D570
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[NSURL URLByAppendingPathComponent:]: component, components, or pathExtension cannot be nil.
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff984e6024 __exceptionPreprocess (in CoreFoundation)
1 0x00000001042e0184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff977aa76e objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff984e5eed +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff8fae581d -[NSURL(NSURLPathUtilities) URLByAppendingPathComponent:] (in Foundation)
5 0x0000000107029a41 -[DVTSourceControlWorkspaceBlueprint saveBlueprintInFolder:options:] (in DVTSourceControl)
6 0x0000000104f6eb61 __96+[IDEArchive _copySCMBlueprintFromWorkspace:toArchiveWithPath:usingFileManager:completionBlock:]_block_invoke (in IDEFoundation)
7 0x0000000107020c24 __77-[DVTSourceControlWorkspace blueprintWithRemoteRepositories:completionBlock:]_block_invoke (in DVTSourceControl)
8 0x00007fff8fb257e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ (in Foundation)
9 0x00007fff8fb255b5 -[NSBlockOperation main] (in Foundation)
10 0x00007fff8fb24a6c -[__NSOperationInternal _start:] (in Foundation)
11 0x00007fff8fb24543 __NSOQSchedule_f (in Foundation)
12 0x00007fff944f4c13 _dispatch_client_callout (in libdispatch.dylib)
13 0x00007fff944f8365 _dispatch_queue_drain (in libdispatch.dylib)
14 0x00007fff944f9ecc _dispatch_queue_invoke (in libdispatch.dylib)
15 0x00007fff944f76b7 _dispatch_root_queue_drain (in libdispatch.dylib)
16 0x00007fff94505fe4 _dispatch_worker_thread3 (in libdispatch.dylib)
17 0x00007fff99dcd637 _pthread_wqthread (in libsystem_pthread.dylib)
18 0x00007fff99dcb40d start_wqthread (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures:
NSInvalidArgumentException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff984e603c __exceptionPreprocess + 172
1 DVTFoundation 0x00000001042e0184 DVTFailureHintExceptionPreprocessor + 194
2 libobjc.A.dylib 0x00007fff977aa76e objc_exception_throw + 43
3 CoreFoundation 0x00007fff984e5eed +[NSException raise:format:] + 205
4 Foundation 0x00007fff8fae581d -[NSURL(NSURLPathUtilities) URLByAppendingPathComponent:] + 84
5 DVTSourceControl 0x0000000107029a41 -[DVTSourceControlWorkspaceBlueprint saveBlueprintInFolder:options:] + 225
6 IDEFoundation 0x0000000104f6eb61 __96+[IDEArchive _copySCMBlueprintFromWorkspace:toArchiveWithPath:usingFileManager:completionBlock:]_block_invoke + 112
7 DVTSourceControl 0x0000000107020c24 __77-[DVTSourceControlWorkspace blueprintWithRemoteRepositories:completionBlock:]_block_invoke + 5293
8 Foundation 0x00007fff8fb257e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
9 Foundation 0x00007fff8fb255b5 -[NSBlockOperation main] + 97
10 Foundation 0x00007fff8fb24a6c -[__NSOperationInternal _start:] + 653
11 Foundation 0x00007fff8fb24543 __NSOQSchedule_f + 184
12 libdispatch.dylib 0x00007fff944f4c13 _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff944f8365 _dispatch_queue_drain + 1100
14 libdispatch.dylib 0x00007fff944f9ecc _dispatch_queue_invoke + 202
15 libdispatch.dylib 0x00007fff944f76b7 _dispatch_root_queue_drain + 463
16 libdispatch.dylib 0x00007fff94505fe4 _dispatch_worker_thread3 + 91
17 libsystem_pthread.dylib 0x00007fff99dcd637 _pthread_wqthread + 729
18 libsystem_pthread.dylib 0x00007fff99dcb40d start_wqthread + 13
Seems like the problem is when you have an old project with some subprojects under source control while the main one is not.
I have removed from Xcode Preferences source control completely, and it seems did the trick - now archiving works.
To remove your project from Source Control press command+, (or select Preferences from main menu) -> Source Control and uncheck all parameters.
I am following this issue in the developer forums and seems like Apple is aware of the issues.
New projects are not affected.
EDIT FOR NEW VERSION OF XCODE (6.3.1)
After installing new version of Xcode yesterday I have enabled Source Control and it works now correctly. Below is my version now:
Here is a visual that maybe of assistance!
I solved this crashing bug with the following steps:
Remove Xcode.app (throw it in the Trash or remove it via Launchpad)
Restart your Mac
Reinstall Xcode 6.3 via the Mac App Store
Everything is now back to normal.
My XCode project (which contains multiple sub projects) is entirely unstable in XCode 6.3. XCode is crashing at random when I'm working with it - never mind just achieving! I installed 6.2 side-by-side with 6.3 just to have a fallback option (Actually I have like 4 versions of XCode installed!). Here's an SO link to download full prior versions:
How to download Xcode DMG or XIP file?
XCode 9 Swift 4
if the xcode crash during the Archive please first check which Account you are using for Archive is your Apple Agreement is updated for this Apple Account?, then please update and re Archive Problem Solve
I'm trying to open a project with the latest version of Xcode 5.0.2 (updated today). For some reason, it crashes. I can't open any project, it crashes all times :(
Crash report begins like this (if helps):
Process: Xcode [1631]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.0.2 (3335.32)
Build Info: IDEApplication-3335032000000000~4
App Item ID: 497799835
App External ID: 106632651
Code Type: X86-64 (Native)
Parent Process: launchd [133]
Responsible: Xcode [1631]
User ID: 501
Date/Time: 2013-11-12 18:14:14.782 +0100
OS Version: Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: 041E96A2-1123-3287-3FF6-A3F30382FC69
Sleep/Wake UUID: C6807823-3147-4602-B01F-A2A9E80B8259
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 5A3005
ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-3542/Framework/Classes/FileTypes/DVTFileDataType.m:616
Details: stringRep should be a non-empty string, but it is nil
Object: <DVTFileDataType>
Method: +fileDataTypeFromStringRepresentation:
Thread: <NSThread: 0x7fc7d9d151c0>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x0000000102e69ea8 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x0000000101bf17a5 _DVTAssertionHandler (in DVTFoundation)
2 0x0000000101bf1ad4 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x0000000101b8ca94 +[DVTFileDataType fileDataTypeFromStringRepresentation:] (in DVTFoundation)
4 0x0000000107fa5dd0 -[Xcode3TargetProduct fileDataType] (in DevToolsCore)
5 0x00000001025f25ce -[IDEBuildableProductRunnable runnableUTIType:] (in IDEFoundation)
6 0x00000001025ee340 -[IDEProfileSchemeAction _updateAnalysisToolService] (in IDEFoundation)
7 0x0000000101c02bc8 __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke (in DVTFoundation)
8 0x0000000101c19e88 DVTInvokeWithStrongOwnership (in DVTFoundation)
9 0x0000000101b58479 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
10 0x00007fff90c4bc18 NSKeyValueNotifyObserver (in Foundation)
11 0x00007fff90c4ade8 NSKeyValueDidChange (in Foundation)
12 0x00007fff90c4fa56 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
13 0x0000000102f6b395 -[IDEContextAutocreationController addBuildable:toScheme:] (in IDEKit)
14 0x0000000102f6bd68 -[IDEContextAutocreationController createSchemeForBuildable:withName:] (in IDEKit)
15 0x0000000102f6b16d -[IDEContextAutocreationController createDefaultSchemeForBuildable:] (in IDEKit)
16 0x0000000102cf2976 -[IDEContextAutocreationController autocreateSchemesForcingAutocreate:] (in IDEKit)
17 0x0000000101c03618 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
18 0x0000000101b57fc5 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
19 0x0000000101c0326c -[NSObject(DVTObservingConvenience) dvt_addObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
20 0x0000000102f6a11e __53-[IDEContextAutocreationController initForWorkspace:]_block_invoke_2 (in IDEKit)
21 0x0000000101c03618 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
22 0x0000000101b57fc5 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
23 0x0000000101c0326c -[NSObject(DVTObservingConvenience) dvt_addObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
24 0x0000000102f69e8b __53-[IDEContextAutocreationController initForWorkspace:]_block_invoke (in IDEKit)
25 0x0000000101c02bc8 __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke (in DVTFoundation)
26 0x0000000101c19e88 DVTInvokeWithStrongOwnership (in DVTFoundation)
27 0x0000000101b58479 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
28 0x00007fff90c4bc18 NSKeyValueNotifyObserver (in Foundation)
29 0x00007fff90c4ade8 NSKeyValueDidChange (in Foundation)
30 0x00007fff90c4fa56 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
31 0x000000010268481a __81-[IDEWorkspace _finishLoadingAsynchronously:shouldUpgradeFromSimpleFilesFocused:]_block_invoke (in IDEFoundation)
32 0x0000000102684ac1 __81-[IDEWorkspace _finishLoadingAsynchronously:shouldUpgradeFromSimpleFilesFocused:]_block_invoke281 (in IDEFoundation)
33 0x00007fff90c6b055 -[NSBlockOperation main] (in Foundation)
34 0x00007fff90c4a591 -[__NSOperationInternal _start:] (in Foundation)
35 0x00007fff90c4a23b __NSOQSchedule_f (in Foundation)
36 0x00007fff852dc2ad _dispatch_client_callout (in libdispatch.dylib)
37 0x00007fff852e3f03 _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
38 0x00007fff859b9839 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
39 0x00007fff85974b14 __CFRunLoopRun (in CoreFoundation)
40 0x00007fff85974275 CFRunLoopRunSpecific (in CoreFoundation)
41 0x00007fff8bc2ef0d RunCurrentEventLoopInMode (in HIToolbox)
42 0x00007fff8bc2ecb7 ReceiveNextEventCommon (in HIToolbox)
43 0x00007fff8bc2eabc _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
44 0x00007fff8b0af28e _DPSNextEvent (in AppKit)
45 0x00007fff8b0ae8db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
46 0x00007fff8b0a29cc -[NSApplication run] (in AppKit)
47 0x00007fff8b08d803 NSApplicationMain (in AppKit)
48 0x00007fff899005fd start (in libdyld.dylib)
The most common cause of these kinds of crashes is a corrupted DerivedData directory. You can delete this directory (and many of us do this regularly, just to keep things more stable).
Open Xcode
Preferences
Locations
The Derived Data option will tell you where your directory is
Delete that directory
Try to open your project
Personally, I select "Custom" for Derived Data, and put it in /tmp/xcode-build. This deletes the directory every time I reboot, and is easier to type than the default when I want to delete it by hand.
EDIT: One more common problem: you often need to reboot after upgrading Xcode. Since Xcode 5, that's been less of an issue, but it's still worth trying, especially if you're upgrading from Xcode 4.
Nothing work for me. I delete my .xcworkspace and regenerate .xcworkspace by pod install and work for me. but take a backup before you do so.
Has anyone had problems with Xcode 4.3.3 crashing on OSX Lion (10.7.4)? I am attempting to program a GUI interface and everything was perfect until I opened it to continue working on it today. This file will end up being an expert system for medical diagnosis.
A zip file is located here (http://www.mediafire.com/?14slv9xhb45214t) with all of the program files. Haven't gotten very far besides designing the interface.
I included the crash report below as well.
Process: Xcode [9714]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.3.3 (1178)
Build Info: IDEApplication-1178000000000000~3
App Item ID: 497799835
App External ID: 8553856
Code Type: X86-64 (Native)
Parent Process: launchd [273]
Date/Time: 2012-07-05 20:13:12.925 -0400
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 197037 sec
Crashes Since Last Report: 12
Per-App Interval Since Last Report: 8746 sec
Per-App Crashes Since Last Report: 10
Anonymous UUID: 7C84D886-82A8-4652-B690-46D441C4DABB
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4E3002
ASSERTION FAILURE in /SourceCache/IDESourceEditor/IDESourceEditor-1175/Classes/IDESourceCodeAdjustNodeTypesRequest.m:412
Details: symLoc should be an instance inheriting from DVTTextDocumentLocation, but it is <IBDocumentMemberLocation: 0x401dc9a40>
Object: <IDESourceCodeAdjustNodeTypesRequest: 0x401f137e0>
Method: -_processFoundSymbolResults:
Thread: <NSThread: 0x40010a220>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x000000010556eb9f -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x0000000104a1f5d5 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x000000010a625908 -[IDESourceCodeAdjustNodeTypesRequest _processFoundSymbolResults:] (in IDESourceEditor)
3 0x0000000104a3ffc7 __DVTAsyncPerformBlock_block_invoke_0 (in DVTFoundation)
4 0x00007fff826cadfc __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
5 0x00007fff82682f02 __CFRunLoopDoBlocks (in CoreFoundation)
6 0x00007fff826aab35 __CFRunLoopRun (in CoreFoundation)
7 0x00007fff826aa486 CFRunLoopRunSpecific (in CoreFoundation)
8 0x00007fff8727b4d3 RunCurrentEventLoopInMode (in HIToolbox)
9 0x00007fff87282781 ReceiveNextEventCommon (in HIToolbox)
10 0x00007fff8728260e BlockUntilNextEventMatchingListInMode (in HIToolbox)
11 0x0000000105b64e31 _DPSNextEvent (in AppKit)
12 0x0000000105b64735 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
13 0x0000000105b61071 -[NSApplication run] (in AppKit)
14 0x0000000105ddd244 NSApplicationMain (in AppKit)
15 0x000000010499beec (in Xcode)
16 0x0000000000000002
objc[9714]: garbage collection is ON
abort() called
Xcode crashes can be caused by a corrupt project file. This has happened to me a couple of times.
Xcode seems intolerant of any errors, and won't even let you get to version control.
If you are using version control you could try repairing this at the command line.
You might want to recreate your project. You should be able to copy your source files and .XIB into a new project.
Since installing xcode 4.3 (from the app store), Xcode crashes when I try to run a few of my apps with the debugger set to LLDB. GDB works fine.
I've already tried reinstalling iTunes and removing all traces of xcode and reinstalling that. I've also tried removing the .xib files and re-adding them to the project.
Any help would be great :)
Here is some of the report that is generated:
Process: Xcode [2102] Path:
/Applications/Xcode.app/Contents/MacOS/Xcode Identifier:
com.apple.dt.Xcode Version: 4.3.2 (1177) Code Type:
X86-64 (Native)
Date/Time: 2012-05-05 11:02:34.865 +1000 OS Version: Mac OS
X 10.7.3 (11D50b) Report Version: 9
Interval Since Last Report: 2063 sec Crashes Since Last
Report: 7 Per-App Interval Since Last Report: 882 sec
Per-App Crashes Since Last Report: 7
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000
Application Specific Information: ProductBuildVersion: 4E2002 UNCAUGHT
EXCEPTION (NSInternalInconsistencyException): Couldn't load plug-in
'com.apple.dt.dbg.DebuggerLLDB' while firing fault for extension
'Xcode.DebuggerFoundation.Debugger.LLDB' UserInfo: {
NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x402a89c20
{DVTPlugInIdentifierErrorKey=com.apple.dt.dbg.DebuggerLLDB,
DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB,
NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite
plug-ins may be missing or damaged and may need to be reinstalled.,
NSLocalizedDescription=Loading a plug-in failed.,
NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin,
NSLocalizedFailureReason=The plug-in
\U201ccom.apple.dt.dbg.DebuggerLLDB\U201d at path
\U201c/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin\U201d
could not be loaded. The plug-in or one of its prerequisite plug-ins
may be missing or damaged., NSUnderlyingError=0x4003c62e0 \"The bundle
\U201cDebuggerLLDB\U201d couldn\U2019t be loaded because it is damaged
or missing necessary resources.\"}"; } Hints: None Backtrace: 0
0x00007fff945fcfaa __exceptionPreprocess (in CoreFoundation) 1
0x00007fff8c9add5e objc_exception_throw (in libobjc.A.dylib) 2
0x000000010f1b207f -[DVTExtension _fireExtensionFault] (in
DVTFoundation) 3 0x000000010f22c666
__DVTDispatchSync_block_invoke_0 (in DVTFoundation) 4 0x00007fff90a53aad _dispatch_barrier_sync_f_invoke (in
libdispatch.dylib) 5 0x000000010f22c483 DVTDispatchSync (in
DVTFoundation) 6 0x000000010f22c297 DVTSyncPerformBlock (in
DVTFoundation) 7 0x000000010f18e69b -[DVTDispatchLock
performLockedBlock:] (in DVTFoundation) 8 0x000000010f1b1e32
-[DVTExtension _valueForKey:inParameterData:usingSchema:] (in DVTFoundation) 9 0x000000010f1b1d6f -[DVTExtension valueForKey:]
(in DVTFoundation) 10 0x0000000116707322 -[DBGLLDBDebugLocalService
operationWorkerWithLaunchSession:error:] (in DebuggerLLDBService) 11
0x0000000116cc10b8 (in IDEiPhoneSupport) 12 0x000000010f85f9d3
-[IDERunDestination runOperationForLaunchSession:error:] (in IDEFoundation) 13 0x000000010f85e690 -[IDELaunchSchemeAction
runOperationForExecutionEnvironment:withBuildOperation:buildParameters:buildableProductDirectories:runDestination:outError:]
(in IDEFoundation) 14 0x000000010f85a5d0 -[IDEScheme
_executionOperationForExecutionEnvironment:build:onlyBuild:buildPurpose:buildCommand:schemeCommand:overridingProperties:destination:buildLog:filePath:error:testCallbackBlock:]
(in IDEFoundation) 15 0x000000010f85dc0b -[IDEScheme
runWithExecutionContext:buildIfNeeded:onlyBuild:destination:overridingProperties:commandName:error:]
(in IDEFoundation) 16 0x000000010fc8cdfc -[IDEWorkspaceTabController
_actuallyPerformContextTask:command:commandName:buildCommand:filePath:completionBlock:]
(in IDEKit) 17 0x000000010fd354aa __107-[IDEWorkspaceTabController
_performContextTask:command:commandName:buildCommand:filePath:completionBlock:]_block_invoke_0
(in IDEKit) 18 0x000000010fc8cab3 -[IDEWorkspaceTabController
_performContextTask:command:commandName:buildCommand:filePath:completionBlock:]
(in IDEKit) 19 0x000000010fd3578e __101-[IDEWorkspaceTabController
_performDebuggableContextTask:command:commandName:buildCommand:filePath:]_block_invoke_0
(in IDEKit) 20 0x00000001109e62e8 -[DVTDeveloperModeAlertHelper
_askToEnableDeveloperModeIfNecessary] (in DVTDeveloperModeHelper) 21 0x000000010fcb85aa -[IDEWorkspaceTabController
_performDebuggableContextTask:command:commandName:buildCommand:filePath:]
(in IDEKit) 22 0x000000010fcb83e5 -[IDEWorkspaceTabController
runActiveRunContext:] (in IDEKit) 23 0x00007fff945ec75d -[NSObject
performSelector:withObject:] (in CoreFoundation) 24
0x00007fff913f1cb2 -[NSApplication sendAction:to:from:] (in AppKit)
25 0x000000010f4838b6 -[DVTApplication sendAction:to:from:] (in
DVTKit) 26 0x000000010fbd2096 -[IDEApplication sendAction:to:from:]
(in IDEKit) 27 0x00007fff945ec75d -[NSObject
performSelector:withObject:] (in CoreFoundation) 28
0x00007fff913f1cb2 -[NSApplication sendAction:to:from:] (in AppKit)
29 0x000000010f4838b6 -[DVTApplication sendAction:to:from:] (in
DVTKit) 30 0x000000010fbd2096 -[IDEApplication sendAction:to:from:]
(in IDEKit) 31 0x000000010f53ea10 -[DVTDelayedMenuButtonCell
trackMouse:inRect:ofView:untilMouseUp:] (in DVTKit) 32
0x00007fff913efbde -[NSControl mouseDown:] (in AppKit) 33
0x00007fff913ba6e0 -[NSWindow sendEvent:] (in AppKit) 34
0x00007fff9135316d -[NSApplication sendEvent:] (in AppKit) 35
0x000000010fbcddd1 -[IDEApplication sendEvent:] (in IDEKit) 36
0x00007fff912e91f2 -[NSApplication run] (in AppKit) 37
0x00007fff91567b88 NSApplicationMain (in AppKit) 38
0x000000010f188eec (in Xcode) Performing
#selector(performRunAction:) from sender
IDERunPauseContinueToolbarButton 0x401e634a0 objc[2102]: garbage
collection is ON abort() called
Hi I have the same problem and I reported to Apple, they told me is a bug and they know about it , my only way around is to change the compiler to GDB all the time, until Apple fix the bug.
I have solve the problem as bellow:may be is useful for you.I try to execute the lldb command in terminal, it got the result like that the my lldb need the python 2.7.but before,when i install the clang,the python version changed to 2.6,so i reinstall the python 2.7.my lldb worked well.
Have you upgraded to Xcode 4.6.1? If so then look for /System/Library/Frameworks/Python.framework/Versions/2.7 if there is no 2.7 reinstall Python. There is a installer at Python.org for MAC. Btw if you happen to see Current and not 2.7 remove the folder called Current. I had the LLDB problem and this is what I've done and everything worked well.
I had a same problem when Python was installed with homebrew.
I just did this:
sudo ln -s /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions /System/Library/Frameworks/Python.framework/Versions
And problem was solved.
Still isn't working for me as of Mountain Lion (10.8.2), Xcode 4.5.1, I've tried deleting and reinstalling to no avail. This isn't a huge deal to me right now as I'm still learning (did the Stanford course & doing the Big Nerd Ranch book right now) however I imagine once I start doing some team work that people won't appreciate me changing the Product Scheme over from LLDB to GDB just so I can run the simulator.