Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode crashes due to 'There can only be one document registered with a given URL.'

Tags:

xcode

I am not able to start up XCode. Whenever it starts it just crashes with this error:

Application Specific Information:
ProductBuildVersion: 8E3004b
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-12175.1/IDEKit/Application/IDEDocumentController.m:2136
Details:  There can only be one document registered with a given URL. newDocument:<IDEWorkspaceDocument: 0x7ff6612d6cd0>(  0   -[IDEWorkspaceDocument init] (in IDEKit)
  1   -[NSDocument initForURL:withContentsOfURL:ofType:error:] (in AppKit)
  2   -[IDEWorkspaceDocument initForURL:withContentsOfURL:ofType:error:] (in IDEKit)
  3   -[NSDocumentController makeDocumentForURL:withContentsOfURL:ofType:error:] (in AppKit)
  4   __104-[NSDocumentController makeDocumentForURL:withContentsOfURL:alternateContents:ofType:completionHandler:]_block_invoke (in AppKit)
  5   -[NSDocumentController makeDocumentForURL:withContentsOfURL:alternateContents:ofType:completionHandler:] (in AppKit)
  6   __89-[NSDocumentController reopenDocumentForURL:withContentsOfURL:display:completionHandler:]_block_invoke (in AppKit)

enter image description here

How can I get Xcode start again?

EDIT:

Version of the xcode is 8.3.3

enter image description here

like image 247
Anthony Kong Avatar asked Nov 29 '22 22:11

Anthony Kong


1 Answers

For me, the solution was to remove all custom color pickers in:

~/Library/ColorPickers/
like image 161
Kukosk Avatar answered Mar 15 '23 14:03

Kukosk