Xcode 8: When trying ` -installComponents` it crashes

Originator:manuel
Number:rdar://29617634 Date Originated:2016-12-12
Status:Closed Resolved:2016-12-16
Product:Developer Tools Product Version:Xcode 8.1
Classification:Crash/Hang/Data Loss Reproducible:Didn't Try
 
$ /Applications/Xcode.app/Contents/MacOS/Xcode  -installComponents
2016-10-19 09:14:04.983 Xcode[2348:151859] [MT] DVTPlugInManager: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for KSImageNamed.ideplugin (com.ksuther.KSImageNamed) not present
2016-10-19 09:14:05.170 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ZLGotoSandbox.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.171 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XToDo.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.171 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XcodePlus Delete Line.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.172 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XcodeMultiEdit.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.173 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XcodeMediaLibraryTweak.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.174 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XcodeExplorer.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.175 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XcodeColors.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.175 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Xcode_copy_line.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.176 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCFixin_UserScripts.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.177 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCFixin_TabAcceptsCompletions.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.177 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCFixin_InhibitTabNextPlaceholder.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.178 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCFixin_HideDistractions.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.179 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCFixin_FindFix.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.179 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCFixin_DisableAnimations.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.180 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCFixin_CustomizeWarningErrorHighlights.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.180 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XCFixin_CurrentLineHighlighter.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.181 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WorkspaceOnly.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.181 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/StringsValidator.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.182 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RealmPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.183 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RealmBrowser.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.183 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OpenInTerminal.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.184 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OMColorSense.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.185 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/LinkedLog.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.185 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/IconMaker.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.186 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/HTYCopyIssue.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.187 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/HighlightSelectedString.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.187 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Helmet.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.188 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/gitflow.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.188 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FuzzyAutocomplete.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.189 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/DerivedData Exterminator.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.189 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/DefaultMarginDisabler.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.190 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/DebugSearch.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.191 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/DBSmartPanels.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.191 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaPodUI.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.192 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.192 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/BetaWarpaint.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.193 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/BBUFullIssueNavigator.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.193 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Backlight.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.194 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/AutoHighlightSymbol.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.194 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/AllTargets.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.195 Xcode[2348:151859] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/AdjustFontSize.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-10-19 09:14:05.496 Xcode[2348:151859] NSWindow warning: adding an unknown subview: <NSView: 0x7fd5c3c5c990>. Break on NSLog to debug.
2016-10-19 09:14:05.499 Xcode[2348:151859] Call stack:
(
	0   AppKit                              0x00007fff80d0c2a9 -[NSThemeFrame addSubview:] + 109
	1   AppKit                              0x00007fff80d7c5b3 -[NSView replaceSubview:with:] + 153
	2   IDEKit                              0x000000011192f5d4 -[IDEFirstLaunchExperienceViewController _replaceView:withView:] + 176
	3   IDEKit                              0x000000011192dc20 -[IDEFirstLaunchExperienceViewController showFirstLaunchExperienceModallyIfNecessary] + 250
	4   IDEKit                              0x00000001114ed2e8 -[IDEWelcomeWindowController _showFirstLaunchExperienceIfAppropriate] + 334
	5   IDEKit                              0x00000001114ed12b -[IDEWelcomeWindowController openWelcomeWindowAfterFirstLaunchExperienceIfAppropriate:] + 27
	6   IDEKit                              0x00000001114397fc -[IDEApplicationController applicationOpenUntitledFile:] + 242
	7   AppKit                              0x00007fff80cf9407 -[NSApplication _doOpenUntitled] + 396
	8   AppKit                              0x00007fff80cf8f00 __58-[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]_block_invoke + 240
	9   AppKit                              0x00007fff80cf897a -[NSDocumentController(NSInternal) _autoreopenDocumentsIgnoringExpendable:withCompletionHandler:] + 784
	10  AppKit                              0x00007fff80cf72b1 -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:completionHandler:] + 259
	11  AppKit                              0x00007fff80cf709a -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 539
	12  AppKit                              0x00007fff80cf6cfb -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 661
	13  Foundation                          0x00007fff84a9655d -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290
	14  IDEKit                              0x00000001114533b3 -[NSAppleEventManager(DVTAssertionOverrides) swizzleDispatchRawAppleEvent:withRawReply:handlerRefCon:] + 97
	15  Foundation                          0x00007fff84a963d7 _NSAppleEventManagerGenericHandler + 102
	16  AE                                  0x00007fff83e9f46a _Z20aeDispatchAppleEventPK6AEDescPS_jPh + 544
	17  AE                                  0x00007fff83e9f1e1 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 39
	18  AE                                  0x00007fff83e9f0ed aeProcessAppleEvent + 312
	19  HIToolbox                           0x00007fff826188bf AEProcessAppleEvent + 55
	20  AppKit                              0x00007fff80cf2483 _DPSNextEvent + 1811
	21  AppKit                              0x00007fff81407ccb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
	22  DVTKit                              0x00000001103720a8 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 396
	23  AppKit                              0x00007fff80ce6b79 -[NSApplication run] + 926
	24  AppKit                              0x00007fff80cb17e1 NSApplicationMain + 1237
	25  libdyld.dylib                       0x00007fff98133255 start + 1
	26  ???                                 0x0000000000000002 0x0 + 26

Comments

Closed by Apple

Engineering has the following feedback for you:

OK, maybe I misunderstood what's happening. The line: $ /Applications/Xcode.app/Contents/MacOS/Xcode -installComponents

just runs Xcode far enough to install packages and then quits cleanly. I see we have another flag which is 100% equivalent: -quitAfterFLE (first launch experience). These flags are intended for System Administrators to be able to quickly accept the license agreement and install packages so that command line tools or Xcode Server can run without attention.

Thank you for your feedback. Engineering has determined that this issue behaves as intended.

We are now closing this bug report.

If you just have questions about the resolution, then please update your bug report with that information so we can respond.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!