Xcode 9 GM crashes when opening any storyboard

I am unable to open any storyboards in Xcode 9 GM because Xcode crashes immediately. I cleared out the `xcuserdata` directories from the project and the workspace to makes sure it wasn't in a bad state. Here is the crash log:


Process:               Xcode [43275]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            Xcode
Version:               9.0 (13247)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [43275]
User ID:               501


Date/Time:             2017-09-18 11:04:45.027 -0600
OS Version:            Mac OS X 10.13 (17A362a)
Report Version:        12
Bridge OS Version:     3.0 (14Y661)
Anonymous UUID:        8ACC2F1A-A912-94D5-E4A0-89FADCDEDB2C


Sleep/Wake UUID:       90BFAE53-A676-4E94-8B0F-4C0DCDE64007


Time Awake Since Boot: 170000 seconds
Time Since Wake:       4600 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: 9A235
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-13247/IDEKit/Application/IDEDocumentController.m:2223
Details:  There can only be one document registered with a given URL. newDocument:<IBStoryboardDocument: 0x7fa25eb8da00>(  0   -[IDEEditorDocument init] (in IDEKit)
  1   -[IBDocument init] (in IDEInterfaceBuilderKit)
  2   -[NSDocument initForURL:withContentsOfURL:ofType:error:] (in AppKit)
  3   -[IDEEditorDocument initForURL:withContentsOfURL:ofType:error:] (in IDEKit)
  4   -[IBDocument initForURL:withContentsOfURL:ofType:error:] (in IDEInterfaceBuilderKit)
  5   +[IDEDocumentController _newEditorDocumentWithClass:forURL:withContentsOfURL:ofType:extension:error:] (in IDEKit)
  6   +[IDEDocumentController _retainedEditorDocumentForURL:type:error:] (in IDEKit)
  7   +[IDEDocumentController retainedEditorDocumentForNavigableItem:forUseWithWorkspaceDocument:error:] (in IDEKit)
  8   -[IDEUtilityArea computeSelectedDocumentsForNavigables:] (in IDEKit)
  9   -[IDEUtilityArea _rebuildStackWithNavigableItems:] (in IDEKit)
10   -[IDEUtilityArea _rebuildCategoriesAndStack] (in IDEKit)
11   -[DVTDelayedInvocation runBlock:] (in DVTFoundation)
12   performSelectorWithObject__DVTMainThreadLatencyChecker__ (in DVTFoundation)
13   __NSFirePerformWithOrder (in Foundation)
14   __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation)
15   __CFRunLoopDoObservers (in CoreFoundation)
16   __CFRunLoopRun (in CoreFoundation)
17   CFRunLoopRunSpecific (in CoreFoundation)
18   RunCurrentEventLoopInMode (in HIToolbox)
19   ReceiveNextEventCommon (in HIToolbox)
20   _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
21   _DPSNextEvent (in AppKit)
22   -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
23   -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
24   -[NSApplication run] (in AppKit)
25   NSApplicationMain (in AppKit)
26   start (in libdyld.dylib)
), existingDocument:<IBStoryboardDocument: 0x7fa263933a00>(  0   -[IDEEditorDocument init] (in IDEKit)
  1   -[IBDocument init] (in IDEInterfaceBuilderKit)
  2   -[NSDocument initForURL:withContentsOfURL:ofType:error:] (in AppKit)
  3   -[IDEEditorDocument initForURL:withContentsOfURL:ofType:error:] (in IDEKit)
  4   -[IBDocument initForURL:withContentsOfURL:ofType:error:] (in IDEInterfaceBuilderKit)
  5   +[IDEDocumentController _newEditorDocumentWithClass:forURL:withContentsOfURL:ofType:extension:error:] (in IDEKit)
  6   -[IDEEditorContext _newEditorDocumentWithClass:forURL:withContentsOfURL:ofType:extension:error:] (in IDEKit)
  7   -[IDEEditorContext _openNavigableItem:withContentsOfURL:documentExtension:shouldInstallEditorBlock:] (in IDEKit)
  8   -[IDEEditorContext _openNavigableItem:withContentsOfURL:shouldInstallEditorBlock:] (in IDEKit)
  9   -[IDEEditorContext _notifyDelegateAndOpenNavigableItem:withContentsURL:documentExtensionIdentifier:locationToSelect:annotationRepresentedObject:stateDictionary:annotationWantsIndicatorAnimation:exploreAnnotationRepresentedObject:highlightSelection:alwaysReplaceExistingNavigableItem:skipSubDocumentNavigationUnlessEditorIsReplaced:] (in IDEKit)
10   -[IDEEditorContext _notifyDelegateAndOpenEditorOpenSpecifier:updateHistory:] (in IDEKit)
11   -[IDEEditorContext openEditorOpenSpecifier:updateHistory:] (in IDEKit)
12   -[IDEEditorContext openEditorOpenSpecifier:] (in IDEKit)
13   -[IDEEditorModeViewController openEditorOpenSpecifier:editorContext:] (in IDEKit)
14   -[IDEEditorArea _openEditorOpenSpecifier:editorContext:takeFocus:] (in IDEKit)
15   __108+[IDEEditorCoordinator _doOpenEditorOpenSpecifier:forWorkspaceTabController:editorContext:target:takeFocus:]_block_invoke_2 (in IDEKit)
16   __108+[IDEEditorCoordinator _doOpenEditorOpenSpecifier:forWorkspaceTabController:editorContext:target:takeFocus:]_block_invoke (in IDEKit)
17   +[IDEEditorCoordinator _doOpenWithWorkspaceTabController:editorContext:target:allowFallback:documentURL:usingBlock:] (in IDEKit)
18   +[IDEEditorCoordinator _doOpenEditorOpenSpecifier:forWorkspaceTabController:editorContext:target:takeFocus:] (in IDEKit)
19   -[_IDEOpenRequest _primitiveRunIfNecessary] (in IDEKit)
20   -[_IDEOpenRequest _runIfNecessary] (in IDEKit)
21   performSelector__DVTMainThreadLatencyChecker__ (in DVTFoundation)
22   __NSFireDelayedPerform (in Foundation)
23   __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)
24   __CFRunLoopDoTimer (in CoreFoundation)
25   __CFRunLoopDoTimers (in CoreFoundation)
26   __CFRunLoopRun (in CoreFoundation)
27   CFRunLoopRunSpecific (in CoreFoundation)
28   RunCurrentEventLoopInMode (in HIToolbox)
29   ReceiveNextEventCommon (in HIToolbox)
30   _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
31   _DPSNextEvent (in AppKit)
32   -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
33   -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
34   -[NSColorPanel _loadColorPickers] (in AppKit)
35   -[NSColorPanel _colorPanelDidLoad] (in AppKit)
36   -[NSColorPanel initWithContentRect:styleMask:backing:defer:] (in AppKit)
37   -[NSColorPanel init] (in AppKit)
38   +[NSColorPanel sharedColorPanel] (in AppKit)
39   -[IBTargetRuntime installColorListIfNeeded] (in IDEInterfaceBuilderKit)
40   -[IBCocoaTouchTargetRuntime installColorListIfNeeded] (in IDEInterfaceBuilderCocoaTouchIntegration)
41   -[IBCocoaTouchTargetRuntime installColorListIfNeeded] (in IDEInterfaceBuilderCocoaTouchIntegration)
42   -[IBDocument setTargetRuntime:] (in IDEInterfaceBuilderKit)
43   -[IBDocument decodeContentsOfURL:ofType:decodingStyle:error:] (in IDEInterfaceBuilderKit)
44   -[IBDocument readFromURL:ofType:error:] (in IDEInterfaceBuilderKit)
45   -[NSDocument _initForURL:withContentsOfURL:ofType:error:] (in AppKit)
46   -[NSDocument initForURL:withContentsOfURL:ofType:error:] (in AppKit)
47   -[IDEEditorDocument initForURL:withContentsOfURL:ofType:error:] (in IDEKit)
48   -[IBDocument initForURL:withContentsOfURL:ofType:error:] (in IDEInterfaceBuilderKit)
49   +[IDEDocumentController _newEditorDocumentWithClass:forURL:withContentsOfURL:ofType:extension:error:] (in IDEKit)
50   +[IDEDocumentController _retainedEditorDocumentForURL:type:error:] (in IDEKit)
51   +[IDEDocumentController retainedEditorDocumentForNavigableItem:forUseWithWorkspaceDocument:error:] (in IDEKit)
52   -[IDEUtilityArea computeSelectedDocumentsForNavigables:] (in IDEKit)
53   -[IDEUtilityArea _rebuildStackWithNavigableItems:] (in IDEKit)
54   -[IDEUtilityArea _rebuildCategoriesAndStack] (in IDEKit)
55   -[DVTDelayedInvocation runBlock:] (in DVTFoundation)
56   performSelectorWithObject__DVTMainThreadLatencyChecker__ (in DVTFoundation)
57   __NSFirePerformWithOrder (in Foundation)
58   __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation)
59   __CFRunLoopDoObservers (in CoreFoundation)
60   __CFRunLoopRun (in CoreFoundation)
61   CFRunLoopRunSpecific (in CoreFoundation)
62   RunCurrentEventLoopInMode (in HIToolbox)
63   ReceiveNextEventCommon (in HIToolbox)
64   _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
65   _DPSNextEvent (in AppKit)
66   -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
67   -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
68   -[NSApplication run] (in AppKit)
69   NSApplicationMain (in AppKit)
70   start (in libdyld.dylib)
)
Object:   <IDEDocumentController: 0x7fa26141b600>
Method:   -addDocument:
Thread:   <NSThread: 0x7fa2614199c0>{number = 1, name = main}
Hints:  

Backtrace:
  0   -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1   _DVTAssertionHandler (in DVTFoundation)
  2   _DVTAssertionFailureHandler (in DVTFoundation)
  3   -[IDEDocumentController addDocument:] (in IDEKit)
  4   +[IDEDocumentController retainEditorDocument:] (in IDEKit)
  5   +[IDEDocumentController _retainedEditorDocumentForURL:type:error:] (in IDEKit)
  6   +[IDEDocumentController retainedEditorDocumentForNavigableItem:forUseWithWorkspaceDocument:error:] (in IDEKit)
  7   -[IDEUtilityArea computeSelectedDocumentsForNavigables:] (in IDEKit)
  8   -[IDEUtilityArea _rebuildStackWithNavigableItems:] (in IDEKit)
  9   -[IDEUtilityArea _rebuildCategoriesAndStack] (in IDEKit)
10   -[DVTDelayedInvocation runBlock:] (in DVTFoundation)
11   performSelectorWithObject__DVTMainThreadLatencyChecker__ (in DVTFoundation)
12   __NSFirePerformWithOrder (in Foundation)
13   __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation)
14   __CFRunLoopDoObservers (in CoreFoundation)
15   __CFRunLoopRun (in CoreFoundation)
16   CFRunLoopRunSpecific (in CoreFoundation)
17   RunCurrentEventLoopInMode (in HIToolbox)
18   ReceiveNextEventCommon (in HIToolbox)
19   _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
20   _DPSNextEvent (in AppKit)
21   -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
22   -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
23   -[NSApplication run] (in AppKit)
24   NSApplicationMain (in AppKit)
25   start (in libdyld.dylib)

abort() called

For me it's the opposite: several storyboards I have created on Xcode 9.0.1 will freeze infinitely on Xcode 9.1 when Viewed As iPhone X UI. Filed a bug report about it: 35381767.

Open Xcode (this assumes its not crashing on launch). Choose New Project -> iOS -> SingleView App (use all of the defaults). After your project is created click on the Main.storyboard in your files view. This shouldn't crash, if it doesn't try clicking on the storyboard in your project again. This worked for me.

Xcode 9 GM crashes when opening any storyboard
 
 
Q