So today while opening Xcode (Version 10.1 (10B61)) it installed some additional packages (unfortunately I don't know what). Then when it came to opening anything (existing project, creating a new project, creating playground) it crashed with error as posted below.
I tried reinstalling Xcode, but the same error occurred.
I'm using MacOS Mojave (version 10.14 (18A314k))
And finally an error:
Process: Xcode [2163]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 10.1 (14460.46)
Build Info: IDEFrameworks_Fall2018-14460046000000000~5
App Item ID: 497799835
App External ID: 828917606
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2163]
User ID: 501
Date/Time: 2018-11-09 10:45:32.879 +0100
OS Version: Mac OS X 10.14 (18A314k)
Report Version: 12
Bridge OS Version: 3.0 (14Y664)
Anonymous UUID: 4A06F9DE-9B81-BB53-A130-5A43E3077DDF
Time Awake Since Boot: 5700 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:
Sending newPlayground: to <IDEApplicationCommands: 0x7ffea209fb20> from (null)
ProductBuildVersion: 10B61
UNCAUGHT EXCEPTION (NSInvalidArgumentException): +[NSColor detailAccentColor]: unrecognized selector sent to class 0x7fff9fa73e28
UserInfo: (null)
Hints:
0: Sending newPlayground: to <IDEApplicationCommands: 0x7ffea209fb20> from (null)
1: Sending createNewPlayground: to <IDEWelcomeWindowController: 0x7ffea123e380> from <IDEWelcomeWindowHighlightButton: 0x7ffea13f21a0>
Backtrace:
0 __exceptionPreprocess (in CoreFoundation)
1 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 objc_exception_throw (in libobjc.A.dylib)
3 +[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation)
4 ___forwarding___ (in CoreFoundation)
5 _CF_forwarding_prep_0 (in CoreFoundation)
6 -[DVTTheme activityViewDeterminateProgessIndicatorColor] (in DVTKit)
7 -[IDEActivityProgressIndicatorLayer _updateProgressLayerColor] (in IDEKit)
8 -[IDEActivityProgressIndicatorLayer reflectStyle] (in IDEKit)
9 -[IDEActivityProgressIndicatorLayer setupLayers] (in IDEKit)
10 -[IDEActivityProgressIndicatorLayer init] (in IDEKit)
11 -[IDEActivityReportLayer init] (in IDEKit)
12 +[IDEActivityReportLayer activityReportLayerForDisplayStyle:] (in IDEKit)
13 -[IDEActivityView _buildReportLayerTree] (in IDEKit)
14 -[IDEActivityView setupLayers] (in IDEKit)
15 -[IDEActivityView setup] (in IDEKit)
16 -[IDEActivityView setupOrTearDown] (in IDEKit)
17 -[NSView _setWindow:] (in AppKit)
18 -[NSView addSubview:] (in AppKit)
19 -[NSToolbarItemViewer configureForLayoutInDisplayMode:andSizeMode:inToolbarView:] (in AppKit)
20 -[NSToolbarView _layoutDirtyItemViewersAndTileToolbar] (in AppKit)
21 -[NSToolbarView _syncItemSetAndUpdateItemViewersWithSEL:setNeedsModeConfiguration:sizeToFit:setNeedsDisplay:updateKeyLoop:] (in AppKit)
22 -[NSToolbarView _noteToolbarLayoutChanged] (in AppKit)
23 -[NSView _setWindow:] (in AppKit)
24 -[NSView addSubview:] (in AppKit)
25 -[NSTitlebarView addSubview:] (in AppKit)
26 -[NSThemeFrame addTitlebarSubview:] (in AppKit)
27 -[NSThemeFrame _showHideToolbar:resizeWindow:animate:] (in AppKit)
28 -[NSWindow _showToolbar:animate:] (in AppKit)
29 -[NSToolbar _show:animate:] (in AppKit)
30 -[NSWindow setToolbar:] (in AppKit)
31 -[NSWindow(IBNSToolbarFixes) ibSwizzledSetToolbar:] (in IDEInterfaceBuilderCocoaIntegration)
32 +[IDEToolbarManager insertToolbarForToolbarDefinitionIdentifier:inWindow:] (in IDEKit)
33 __45-[IDEWorkspaceWindowController windowDidLoad]_block_invoke (in IDEKit)
34 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:creationBacktrace:withHandlerBlock:] (in DVTFoundation)
35 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:] (in DVTFoundation)
36 -[IDEWorkspaceWindowController windowDidLoad] (in IDEKit)
37 -[NSWindowController _windowDidLoad] (in AppKit)
38 -[NSWindowController window] (in AppKit)
39 -[IDEDocumentController _openUntitledWorkspaceDocumentAndDisplay:simpleFilesFocused:forSingleFile:editorDocumentURLOrNil:error:] (in IDEKit)
40 -[IDEApplicationCommands newTemplateForTemplateKind:template:] (in IDEKit)
41 -[IDEApplicationCommands newTemplateSkippingChooserIfPossibleForTemplateKind:] (in IDEKit)
42 -[IDEApplicationCommands newPlayground:] (in IDEKit)
43 -[NSApplication(NSResponder) sendAction:to:from:] (in AppKit)
44 __37-[DVTApplication sendAction:to:from:]_block_invoke.99 (in DVTKit)
45 DVTInvokeWithFailureHint (in DVTFoundation)
46 -[DVTApplication sendAction:to:from:] (in DVTKit)
47 +[IDECommandManager sendActionForCommandWithIdentifier:from:] (in IDEKit)
48 -[NSApplication(NSResponder) sendAction:to:from:] (in AppKit)
49 __37-[DVTApplication sendAction:to:from:]_block_invoke.99 (in DVTKit)
50 DVTInvokeWithFailureHint (in DVTFoundation)
51 -[DVTApplication sendAction:to:from:] (in DVTKit)
52 -[NSControl sendAction:to:] (in AppKit)
53 __26-[NSCell _sendActionFrom:]_block_invoke (in AppKit)
54 -[NSCell _sendActionFrom:] (in AppKit)
55 -[NSButtonCell _sendActionFrom:] (in AppKit)
56 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
57 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
58 -[NSControl mouseDown:] (in AppKit)
59 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] (in AppKit)
60 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] (in AppKit)
61 -[NSWindow(NSEventRouting) sendEvent:] (in AppKit)
62 -[NSApplication(NSEvent) sendEvent:] (in AppKit)
63 -[IDEApplication sendEvent:] (in IDEKit)
64 -[NSApplication run] (in AppKit)
65 NSApplicationMain (in AppKit)
66 main (in Xcode)
67 start (in libdyld.dylib)
abort() called
Application Specific Signatures:
NSInvalidArgumentException
I ran into the same issue, It's crashing on launch of Xcode App after that I updated the OS to the latest version.
Due to below issue
+[NSColor detailAccentColor]: unrecognized selector sent to class 0x7fff9fa73e28
Download the latest OS from below link
https://itunes.apple.com/in/app/macos-mojave/id1398502828?mt=12
Started getting this today after upgrading to iOS 11:
Any body have an ideas? I get this when I do Reset To Suggested Constraints:
Was working for months until today. Here's the log:
=================================
XCODE VERSION INFO:
Version = 9.0 (9A235)
Plugin Version = 13196
Beta Version = 0
OS Version = 10.12.6 (16G29)
=================================
ARBITER ERROR:
Failed to run arbitration with options: {
KeepRedundantDocumentConstraints = 1;
OnlyArbitrateConstraintsForViews = "{(\n >,\n ; layer = >,\n >,\n ; layer = >,\n ; layer = >,\n ; layer = >\n)}";
RelationshipHints = {
CommandKeyDown = 0;
Source = 4;
};
} (Failure reason: Left-over temporary explicit constraint: UIView[0x7fb68bf370a0].Width = + 375.000000 containingView={} scoreVector=, roundingAdjustment=0)
=================================
IDE ARBITRATION UNIT:
Register View Controller
Top Layout Guide
Bottom Layout Guide
View frame={{0, 0}, {375, 667}} tAMIC=YES
Email Address frame={{87, 272}, {200, 30}} tAMIC=YES
********* frame={{87, 321}, {200, 30}} tAMIC=YES
Register frame={{87, 370}, {200, 40}} tAMIC=YES
First Name frame={{87, 170}, {200, 30}} tAMIC=YES
Last Name frame={{87, 219}, {200, 30}} tAMIC=YES
=================================
BACKTRACE:
0 -[IBDocumentAutolayoutManager _scheduleArbitrationOfUnit:withOptions:] (in IDEInterfaceBuilderKit)
1 -[IBDocumentAutolayoutManager _runAutolayoutCommandForArbitrationUnits:withBlock:] (in IDEInterfaceBuilderKit)
2 -[IBDocumentAutolayoutManager _whitelistAndDecideConstraintsForItems:withOptions:] (in IDEInterfaceBuilderKit)
3 -[IBDocumentAutolayoutManager clearAndAddSuggestedConstraintsForItems:inAllConfigurations:] (in IDEInterfaceBuilderKit)
4 65-[IBDocument clearAndAddSuggestedConstraintsForItems:fromSource:]_block_invoke.4171 (in IDEInterfaceBuilderKit)
5 -[IBMemberRelationshipHelper handleOperation:onObjects:inDocument:hints:currentConfigurationOnlyHandler:defaultConfigurationHandler:] (in IDEInterfaceBuilderKit)
6 -[IBMemberRelationshipHelper handleOperation:onObjects:inDocument:fromSource:currentConfigurationOnlyHandler:defaultConfigurationHandler:] (in IDEInterfaceBuilderKit)
7 -[IBDocument clearAndAddSuggestedConstraintsForItems:fromSource:] (in IDEInterfaceBuilderKit)
8 -[IBAbstractDocumentEditor clearAndAddSuggestedConstraintsInArbitrationUnit:] (in IDEInterfaceBuilderKit)
9 _os_activity_initiate_impl (in libsystem_trace.dylib)
10 -[NSApplication(NSResponder) sendAction:to:from:] (in AppKit)
11 __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
12 DVTInvokeWithFailureHint (in DVTFoundation)
13 -[DVTApplication sendAction:to:from:] (in DVTKit)
14 -[NSMenuItem _corePerformAction] (in AppKit)
15 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] (in AppKit)
16 _os_activity_initiate_impl (in libsystem_trace.dylib)
17 -[NSMenu performActionForItemAtIndex:] (in AppKit)
18 -[NSMenu _internalPerformActionForItemAtIndex:] (in AppKit)
19 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] (in AppKit)
20 NSSLMMenuEventHandler (in AppKit)
21 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) (in HIToolbox)
22 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) (in HIToolbox)
23 SendEventToEventTarget (in HIToolbox)
24 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) (in HIToolbox)
25 SendMenuCommandWithContextAndModifiers (in HIToolbox)
26 SendMenuItemSelectedEvent (in HIToolbox)
27 FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) (in HIToolbox)
28 PopUpMenuSelectCore(MenuData*, Point, double, Point, unsigned short, unsigned int, Rect const*, unsigned short, unsigned int, Rect const*, Rect const*, __CFDictionary const*, __CFString const*, OpaqueMenuRef**, unsigned short*) (in HIToolbox)
29 _HandlePopUpMenuSelection8(OpaqueMenuRef*, OpaqueEventRef*, unsigned int, Point, unsigned short, unsigned int, Rect const*, unsigned short, Rect const*, Rect const*, __CFDictionary const*, __CFString const*, OpaqueMenuRef**, unsigned short*) (in HIToolbox)
30 _HandlePopUpMenuSelectionWithDictionary (in HIToolbox)
31 _NSSLMPopUpCarbonMenu3 (in AppKit)
32 -[NSCarbonMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions:] (in AppKit)
33 -[NSSegmentedCell _trackSelectedItemMenu] (in AppKit)
34 -[NSSegmentedCell _displayDelayedMenu] (in AppKit)
35 __NSFireTimer (in Foundation)
36 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION (in CoreFoundation)
37 __CFRunLoopDoTimer (in CoreFoundation)
38 __CFRunLoopDoTimers (in CoreFoundation)
39 __CFRunLoopRun (in CoreFoundation)
40 CFRunLoopRunSpecific (in CoreFoundation)
41 RunCurrentEventLoopInMode (in HIToolbox)
42 ReceiveNextEventCommon (in HIToolbox)
43 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
44 _DPSNextEvent (in AppKit)
45 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
46 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
47 -[NSWindow(NSEventRouting) trackEventsMatchingMask:timeout:mode:handler:] (in AppKit)
48 -[NSDragEventTracker trackEvent:usingHandler:] (in AppKit)
49 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
50 -[NSSegmentedCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
51 -[NSControl mouseDown:] (in AppKit)
52 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] (in AppKit)
53 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] (in AppKit)
54 -[NSWindow(NSEventRouting) sendEvent:] (in AppKit)
55 -[IDEWorkspaceWindow sendEvent:] (in IDEKit)
56 -[NSApplication(NSEvent) sendEvent:] (in AppKit)
57 -[IDEApplication sendEvent:] (in IDEKit)
58 -[NSApplication run] (in AppKit)
59 NSApplicationMain (in AppKit)
60 start (in libdyld.dylib)
This just started happening while I writing some (iOS) code in XCode. Looks to be part of the IDE. crash log says the IDE had a NSRangeException. Any ideas how to find the problem or reset so I go back?
I've cleared the derived data for this project and launched Xcode again. It shows for a second and then crashes. When I go look at the derived data folder it looks like Xcode started to create the /index/debug/iphonesimulator10.1-x86_64/.xcindex/db.xcindexdb... files and then crashed during that process. So might have something to do with the simulator which I did have running at the time of first crash, but I was not using it.
I tried rolling back to a previous version of project.pbxproj and still having the same crash issue. And Xcode only crashes on this project. I can open others fine.
UPDATE: I upgraded to Xcode 8.2.1 and still having the same issue. I am used Pods and so that means I'm using a workspace. Not sure if this is causing any problems.
Here's the lovely crash report.
Process: Xcode [835]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 8.1 (11544)
Build Info: IDEFrameworks-11544000000000000~4
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [835]
User ID: 501
Date/Time: 2017-01-24 21:22:55.528 -0800
OS Version: Mac OS X 10.12.1 (16B2555)
Report Version: 12
Anonymous UUID: xxx
Time Awake Since Boot: 610 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: 8B62
UNCAUGHT EXCEPTION (NSRangeException): *** -[__NSArrayM objectAtIndex:]: index 3 beyond bounds [0 .. 2]
UserInfo: (null)
Hints:
0: Creation Backtrace for Notification Token:
0 -[_DVTNotificationReceiver initWithBlock:queue:] (in DVTFoundation)
1 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) dvt_addObserverForName:object:queue:usingBlock:] (in DVTFoundation)
2 -[_IDENavigatorOutlineViewDataSource setRootItems:] (in IDEKit)
3 -[IDENavigatorOutlineView _updateRootItems:sortDescriptors:] (in IDEKit)
4 -[IDENavigatorOutlineView setRootItems:] (in IDEKit)
5 -[IDENavigatorOutlineView _updateBoundContentArrayOrSet] (in IDEKit)
6 -[IDENavigatorOutlineView updateBoundContentArray] (in IDEKit)
7 -[NSObject(DVTBindingUtilities) updateBoundValueForBinding:] (in DVTKit)
8 -[DVTBindingHelper observeValueForKeyPath:ofObject:change:context:] (in DVTKit)
9 NSKeyValueNotifyObserver (in Foundation)
10 NSKeyValueDidChange (in Foundation)
11 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:usingBlock:] (in Foundation)
12 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
13 _NSSetObjectValueAndNotify (in Foundation)
14 -[IDEBatchFindNavigator updateScopeItems:] (in IDEKit)
15 __44-[IDEBatchFindNavigator setupLocationPicker]_block_invoke_2 (in IDEKit)
16 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:creationBacktrace:withHandlerBlock:] (in DVTFoundation)
17 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:] (in DVTFoundation)
18 -[IDEBatchFindNavigator setupLocationPicker] (in IDEKit)
19 -[IDEBatchFindNavigator viewDidInstall] (in IDEKit)
20 -[DVTViewController _viewDidInstall] (in DVTKit)
21 -[_DVTViewController_ViewLifecycleInterpositions viewDidMoveToWindow] (in DVTKit)
22 -[NSView _setWindow:] (in AppKit)
23 -[NSView addSubview:] (in AppKit)
24 __42-[DVTReplacementView _setupViewController]_block_invoke (in DVTKit)
25 DVTInvokeWithFailureHint (in DVTFoundation)
26 -[DVTReplacementView _setupViewController] (in DVTKit)
27 -[DVTReplacementView installedViewController] (in DVTKit)
28 -[DVTReplacementView layoutTopDown] (in DVTKit)
29 -[DVTLayoutView_ML _reallyLayoutIfNeededTopDown] (in DVTKit)
30 +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit)
31 +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit)
32 +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit)
33 +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit)
34 +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit)
35 +[DVTLayoutView_ML _doRecursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:completionCallBackHandlers:currentLayoutPass:needsSecondPass:] (in DVTKit)
36 +[DVTLayoutView_ML _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] (in DVTKit)
37 -[DVTLayoutView_ML viewWillDraw] (in DVTKit)
38 -[NSView(NSInternal) _sendViewWillDraw] (in AppKit)
39 -[NSView viewWillDraw] (in AppKit)
40 -[NSView(NSInternal) _sendViewWillDraw] (in AppKit)
41 -[NSView viewWillDraw] (in AppKit)
42 -[NSView(NSInternal) _sendViewWillDraw] (in AppKit)
43 -[NSView viewWillDraw] (in AppKit)
44 -[NSView(NSInternal) _sendViewWillDraw] (in AppKit)
45 -[NSView _sendViewWillDrawInRect:clipRootView:] (in AppKit)
46 -[NSView displayIfNeeded] (in AppKit)
47 -[NSWindow displayIfNeeded] (in AppKit)
48 ___NSWindowGetDisplayCycleObserver_block_invoke.6219 (in AppKit)
49 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke (in AppKit)
50 CA::Transaction::run_commit_handlers(CATransactionPhase) (in QuartzCore)
51 CA::Context::commit_transaction(CA::Transaction*) (in QuartzCore)
52 CA::Transaction::commit() (in QuartzCore)
53 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke.31 (in AppKit)
54 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation)
55 __CFRunLoopDoObservers (in CoreFoundation)
56 __CFRunLoopRun (in CoreFoundation)
57 CFRunLoopRunSpecific (in CoreFoundation)
58 RunCurrentEventLoopInMode (in HIToolbox)
59 ReceiveNextEventCommon (in HIToolbox)
60 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
61 _DPSNextEvent (in AppKit)
62 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
63 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
64 -[NSApplication run] (in AppKit)
65 NSApplicationMain (in AppKit)
66 start (in libdyld.dylib)
Backtrace:
0 __exceptionPreprocess (in CoreFoundation)
1 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 objc_exception_throw (in libobjc.A.dylib)
3 -[__NSArrayM objectAtIndex:] (in CoreFoundation)
4 -[_IDENavigatorOutlineViewDataSource outlineView:child:ofItem:] (in IDEKit)
5 refreshRowEntryItemAndLevelInfo (in AppKit)
6 -[NSOutlineView reloadItem:reloadChildren:] (in AppKit)
7 -[IDENavigatorOutlineView reloadItem:reloadChildren:] (in IDEKit)
8 __83-[_IDENavigatorOutlineViewDataSource _processNavigableItemGraphChangeNotification:]_block_invoke.735 (in IDEKit)
9 +[NSAnimationContext(DVTNSAnimationContextAdditions) dvt_nonAnimatedBlock:] (in DVTKit)
10 -[IDENavigatorOutlineView suspendEditingWhilePerformingBlock:] (in IDEKit)
11 -[_IDENavigatorOutlineViewDataSource _processNavigableItemGraphChangeNotification:] (in IDEKit)
12 DVTInvokeWithLazyFailureHint (in DVTFoundation)
13 __48-[_DVTNotificationReceiver receiveNotification:]_block_invoke.42 (in DVTFoundation)
14 -[_DVTNotificationReceiver receiveNotification:] (in DVTFoundation)
15 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
16 _CFXRegistrationPost (in CoreFoundation)
17 ___CFXNotificationPost_block_invoke (in CoreFoundation)
18 -[_CFXNotificationRegistrar find:object:observer:enumerator:] (in CoreFoundation)
19 _CFXNotificationPost (in CoreFoundation)
20 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
21 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
22 -[IDENavigableItemCoordinator _postNotificationNamed:forChangedItems:] (in IDEKit)
23 -[IDENavigableItemCoordinator _delayedPostGraphAndPropertyChangeNotifications] (in IDEKit)
24 __48-[DVTDelayedInvocation initWithTarget:selector:]_block_invoke (in DVTFoundation)
25 -[DVTDelayedInvocation runBlock:] (in DVTFoundation)
26 __NSFirePerformWithOrder (in Foundation)
27 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation)
28 __CFRunLoopDoObservers (in CoreFoundation)
29 __CFRunLoopRun (in CoreFoundation)
30 CFRunLoopRunSpecific (in CoreFoundation)
31 RunCurrentEventLoopInMode (in HIToolbox)
32 ReceiveNextEventCommon (in HIToolbox)
33 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
34 _DPSNextEvent (in AppKit)
35 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
36 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
37 -[NSApplication run] (in AppKit)
38 NSApplicationMain (in AppKit)
39 start (in libdyld.dylib)
abort() called
If I delete the "build" folder in my Xcode project folder then start Xcode it works! (rather then derived data folder in the Xcode user library folder.)
Right click on the file .xcworkspace > Show Package Contents
Delete the xcuserdata folder
Ref:
https://apple.stackexchange.com/a/271128/230590
May be you could update your Xcode to the latest version ie: 8.2.1 . :)
Xcode 5.1.1 and Xcode 6.1 crash on create new Project /File/Workspace on Yosemite 10.10.2
Please suggest to fix this issue
Bug Report
process: Xcode [2792]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.1.1 (5085)
Build Info: IDEFrameworks-5085000000000000~10
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2792]
User ID: 501
Date/Time: 2015-01-11 22:07:07.203 +0530
OS Version: Mac OS X 10.10.2 (14C94b)
Report Version: 11
Anonymous UUID: C09A26EF-E9EA-9CD0-E670-228AA19E0BA7`
Time Awake Since Boot: 13000 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
Sending goNextOrFinish: to <IDEAssistantWindowController: 0x7fd6b61dcdf0> from <NSButton :0x7fd6b61c24d0>
ProductBuildVersion: 5B1008
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** setObjectForKey: object cannot be nil (key: sortColumn)
UserInfo: (null)
Hints:
0: Sending goNextOrFinish: to <IDEAssistantWindowController: 0x7fd6b61dcdf0> from <NSButton: 0x7fd6b61c24d0>
Backtrace:
0 0x00007fff91a14654 __exceptionPreprocess (in CoreFoundation)
1 0x000000010e6ecb10 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff9361976e objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff918fc876 -[__NSDictionaryM setObject:forKey:] (in CoreFoundation)
4 0x00007fff8f89478e -[FI_TNodeViewSettings setListViewSortColumn:] (in FinderKit)
5 0x00007fff8f890d0e -[FI_TNodeViewSettings refreshListViewSettings] (in FinderKit)
6 0x00007fff8f8911bb -[FI_TNodeViewSettings refreshSettings:] (in FinderKit)
7 0x00007fff8f8914c4 -[FI_TNodeViewSettings initWithNode:] (in FinderKit)
8 0x00007fff8f88fc56 +[FI_TNodeViewSettings settingsForNode:] (in FinderKit)
9 0x00007fff8f93204c -[FI_TBrowserContainerController nodeViewSettings] (in FinderKit)
10 0x00007fff8f9317ed -[FI_TBrowserContainerController initWithWindowState:targetPath:containerDelegate:] (in FinderKit)
11 0x00007fff8f8bd13e -[FIFinderViewGutsController _internalSetTargetPath:withViewStyle:] (in FinderKit)
12 0x00007fff8f8b8e8b -[FIFinderViewGutsController forceContainerToExist] (in FinderKit)
13 0x00007fff8f8b98ff -[FIFinderViewGutsController prepareToShow] (in FinderKit)
14 0x00007fff8f8c278e -[FIFinderView viewWillMoveToWindow:] (in FinderKit)
15 0x00007fff8d322b2e -[NSView _setWindow:] (in AppKit)
16 0x00007fff91935385 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
17 0x00007fff91934a89 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
18 0x00007fff8da139c4 __21-[NSView _setWindow:]_block_invoke733 (in AppKit)
19 0x00007fff8d323693 -[NSView _setWindow:] (in AppKit)
20 0x00007fff8d3209e3 -[NSView addSubview:] (in AppKit)
21 0x00007fff8d66d82a -[NSBox setContentView:] (in AppKit)
22 0x00007fff8d8c76b5 -[NSSavePanel(NSSavePanelLayout) _layoutViewsVerticallyAndResizeWindowToLastExpandedSize:accessoryViewHeight:] (in AppKit)
23 0x00007fff8d8b27b0 -[NSSavePanel _initPanelCommon] (in AppKit)
24 0x00007fff8d8b1afa -[NSSavePanel initWithContentRect:styleMask:backing:defer:] (in AppKit)
25 0x00007fff8d8b0fd9 +[NSSavePanel _crunchyRawUnbonedPanel] (in AppKit)
26 0x000000010f9a36ee -[IDETemplateCompletionAssistant configuredOpenPanel] (in IDEKit)
27 0x00000001163b7be3 -[Xcode3ProjectTemplateCompletionAssistant configuredSavePanel] (in Xcode3UI)
28 0x000000010f9a38db -[IDETemplateCompletionAssistant beginSheetModalForWindow:] (in IDEKit)
29 0x000000010f9a3d96 -[IDETemplateCompletionAssistant finishWithCompletionBlock:] (in IDEKit)
30 0x000000010f7f9c63 -[IDEAssistantWindowController goNextOrFinish:] (in IDEKit)
31 0x00007fff90c89cd7 _os_activity_initiate (in libsystem_trace.dylib)
32 0x00007fff8d4da541 -[NSApplication sendAction:to:from:] (in AppKit)
33 0x000000010ec50f85 __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
34 0x000000010e6ec842 DVTInvokeWithFailureHint (in DVTFoundation)
35 0x000000010eb1eb0e -[DVTApplication sendAction:to:from:] (in DVTKit)
36 0x00007fff8d4da340 -[NSControl sendAction:to:] (in AppKit)
37 0x00007fff8d6b014b __26-[NSCell _sendActionFrom:]_block_invoke (in AppKit)
38 0x00007fff90c89cd7 _os_activity_initiate (in libsystem_trace.dylib)
39 0x00007fff8d522ec8 -[NSCell _sendActionFrom:] (in AppKit)
40 0x00007fff90c89cd7 _os_activity_initiate (in libsystem_trace.dylib)
41 0x00007fff8d53d9a5 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
42 0x00007fff8d53cbd9 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
43 0x00007fff8d53c1b9 -[NSControl mouseDown:] (in AppKit)
44 0x00007fff8da3a2b1 -[NSWindow _reallySendEvent:] (in AppKit)
45 0x00007fff8d4c0b4e -[NSWindow sendEvent:] (in AppKit)
46 0x00007fff8d472e51 -[NSApplication sendEvent:] (in AppKit)
47 0x000000010f699600 -[IDEApplication sendEvent:] (in IDEKit)
48 0x00007fff8d2ff078 -[NSApplication run] (in AppKit)
49 0x00007fff8d2ea464 NSApplicationMain (in AppKit)
50 0x00007fff8e1025c9 start (in libdyld.dylib)
51 0x0000000000000001
Performing #selector(goNextOrFinish:) from sender NSButton 0x7fd6b61c24d0
abort() called
Suddenly xcode crashes when i try to Run (not build) my Cocos2d iphone app. Ideas?
(I am forced to explain it more clearly so I will write some text here. And some more text. And some more text And some more text And some more text And some more text Sorry)
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSCFString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x401acf220
UserInfo: (null)
Hints:
0: Replacement view is installing: <IDELogNavigator: 0x40318bd40 representing: <DVTExtension 0x40101c980: Log Navigator (Xcode.IDEKit.Navigator.Logs) v0.1>>
Backtrace:
0 0x00007fff8ca56faa __exceptionPreprocess (in CoreFoundation)
1 0x00007fff88514d5e objc_exception_throw (in libobjc.A.dylib)
2 0x00007fff8cae32ae -[NSObject doesNotRecognizeSelector:] (in CoreFoundation)
3 0x00007fff8ca43e73 ___forwarding___ (in CoreFoundation)
4 0x00007fff8ca43c88 _CF_forwarding_prep_0 (in CoreFoundation)
5 0x000000010ec1e76f -[IDELogNavigator setStateSavingSelectedObjects:] (in IDELogNavigator)
6 0x00007fff8d3e6c6a _NSSetObjectValueAndNotify (in Foundation)
7 0x000000010ec1dd77 -[IDELogNavigator revertStateWithDictionary:] (in IDELogNavigator)
8 0x00000001083e942b -[DVTStateToken _pullStateFromDictionary:] (in DVTFoundation)
9 0x00000001083e91e2 -[DVTStateToken pullStateFromRepository] (in DVTFoundation)
10 0x0000000108d0549d -[IDENavigatorArea replacementView:didInstallViewController:] (in IDEKit)
11 0x00000001085e35f1 __42-[DVTReplacementView _setupViewController]_block_invoke_0 (in DVTKit)
12 0x00000001083ea51e DVTInvokeWithFailureHint (in DVTFoundation)
13 0x00000001085e3473 -[DVTReplacementView _setupViewController] (in DVTKit)
14 0x00000001085e3345 -[DVTReplacementView installedViewController] (in DVTKit)
15 0x0000000108d2f693 -[IDENavigatorArea currentNavigator] (in IDEKit)
16 0x0000000108d4822d -[IDENavigatorArea delegateFirstResponder] (in IDEKit)
17 0x0000000108d91946 -[IDEWorkspaceTabController _changeToNavigatorWithIdentifier:sender:] (in IDEKit)
18 0x0000000108d3f10d -[IDEShowNavigatorAlert runForEvent:inWorkspace:context:completionBlock:] (in IDEKit)
19 0x0000000108a75849 -[IDEAlertEvent runInWorkspace:context:completionBlock:] (in IDEFoundation)
20 0x0000000108d416a1 -[IDERunAlertMonitor executionStart] (in IDEKit)
21 0x00007fff8d3c3fca -[__NSObserver _doit:] (in Foundation)
22 0x00007fff8d3c3e9d __-[NSNotificationCenter addObserverForName:object:queue:usingBlock:]_block_invoke_1 (in Foundation)
23 0x00007fff8c9ffaaa _CFXNotificationPost (in CoreFoundation)
24 0x00007fff8d37ffe7 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
25 0x0000000108995240 -[IDEExecutionEnvironment setCurrentLaunchSession:] (in IDEFoundation)
26 0x0000000108994de9 -[IDEExecutionEnvironment _handleLaunchSession:stateChange:] (in IDEFoundation)
27 0x000000010898b94d -[IDEExecutionEnvironment observeValueForKeyPath:ofObject:change:context:] (in IDEFoundation)
28 0x00007fff8d3c67b2 NSKeyValueNotifyObserver (in Foundation)
29 0x00007fff8d3e78eb NSKeyValueDidChange (in Foundation)
30 0x00007fff8d39404b -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
31 0x00007fff8322a8ba _dispatch_call_block_and_release (in libdispatch.dylib)
32 0x00007fff8322bbeb _dispatch_barrier_sync_f_slow_invoke (in libdispatch.dylib)
33 0x00007fff8322c72a _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
34 0x00007fff8c9ec06c __CFRunLoopRun (in CoreFoundation)
35 0x00007fff8c9eb676 CFRunLoopRunSpecific (in CoreFoundation)
36 0x00007fff8774c31f RunCurrentEventLoopInMode (in HIToolbox)
37 0x00007fff877535c9 ReceiveNextEventCommon (in HIToolbox)
38 0x00007fff87753456 BlockUntilNextEventMatchingListInMode (in HIToolbox)
39 0x00007fff89561f5d _DPSNextEvent (in AppKit)
40 0x00007fff89561861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
41 0x00007fff8955e19d -[NSApplication run] (in AppKit)
42 0x00007fff897dcb88 NSApplicationMain (in AppKit)
43 0x00000001083b9eec (in Xcode)
Solution: I made a copy of the folder with the project, then open the xcode-project file and everything worked.