kolinkrewinkel / Polychromatic

Semantic highlighting for Xcode.
http://kolinkrewinkel.com/
MIT License
1.05k stars 69 forks source link

Crashing on run of Xcode 6 GM (6A313) #35

Closed MaximusMcCann closed 9 years ago

MaximusMcCann commented 10 years ago

Awesome plugin! Trying to get it to work on Xcode 6. I've installed CLI for Xcode 6 GM as well. Build succeeds, but crashes.

2014-09-10 09:07:33.805 Xcode[3417:303] [MT] DVTAssertions: UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Extension Xcode.IDEKit.CmdHandler.ShowViewDrawing class 'DBGMenuController' not found for required key 'handlerClass'
UserInfo: {
    DVTExtensionClassNameErrorKey = DBGMenuController;
    DVTExtensionIdentifierErrorKey = "Xcode.IDEKit.CmdHandler.ShowViewDrawing";
    DVTPlugInExecutablePathErrorKey = "/Applications/Xcode.app/Contents/PlugIns/DebuggerUI.ideplugin";
    DVTPlugInIdentifierErrorKey = "com.apple.dt.dbg.DebuggerUI";
}
Hints: None
2014-09-10 09:07:33.853 Xcode[3417:303] [MT] DVTAssertions: 
Backtrace:
  0  0x00007fff8fb48244 __exceptionPreprocess (in CoreFoundation)
  1  0x00000001001e6184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff9240ee75 objc_exception_throw (in libobjc.A.dylib)
  3  0x000000010004ebd7 -[DVTExtension _adjustClassAttribute:forKey:inParameterData:] (in DVTFoundation)
  4  0x000000010004e633 -[DVTExtension _adjustClassReferencesInParameterData:usingSchema:] (in DVTFoundation)
  5  0x00000001000d210c -[DVTExtension _fireExtensionFault:] (in DVTFoundation)
  6  0x00000001000d1a75 __63-[DVTExtension _valueForKey:inParameterData:usingSchema:error:]_block_invoke (in DVTFoundation)
  7  0x0000000101fa7925 _dispatch_client_callout (in libdispatch.dylib)
  8  0x0000000101fa88df _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
  9  0x000000010021cdfd DVTDispatchBarrierSync (in DVTFoundation)
 10  0x000000010001fbc4 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
 11  0x00000001000d1851 -[DVTExtension _valueForKey:inParameterData:usingSchema:error:] (in DVTFoundation)
 12  0x00000001000d1c44 -[DVTExtension valueForKey:error:] (in DVTFoundation)
 13  0x00000001014163de __55+[IDECommandManager cacheCommandDefinitionsAndHandlers]_block_invoke (in IDEKit)
 14  0x0000000101fa7925 _dispatch_client_callout (in libdispatch.dylib)
 15  0x0000000101fa791b dispatch_once_f (in libdispatch.dylib)
 16  0x00000001011cfa60 +[IDECommandManager cacheCommandDefinitionsAndHandlers] (in IDEKit)
 17  0x00000001011cf054 -[IDEApplicationController applicationWillFinishLaunching:] (in IDEKit)
 18  0x00007fff8fb16e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
 19  0x00007fff8fa0a82d _CFXNotificationPost (in CoreFoundation)
 20  0x00007fff8afed7ba -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
 21  0x00000001001c6e6e -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
 22  0x00007fff90ed9cde -[NSApplication finishLaunching] (in AppKit)
 23  0x000000010074a665 -[DVTApplication finishLaunching] (in DVTKit)
 24  0x00007fff90ed97f3 -[NSApplication run] (in AppKit)
 25  0x00007fff90ec4783 NSApplicationMain (in AppKit)
 26  0x00007fff8b6b85fd start (in libdyld.dylib)
 27  0x0000000000000003
(lldb) 
freak4pc commented 10 years ago

Same crash here

Speedy37 commented 10 years ago

With the default options you can't debug Xcode 6

Go to your debug options : Edit Scheme > Run > Options and uncheck "Enable user interface debugging" (DebuggerUI can't debug itself)

lucholaf commented 10 years ago

this was working on Xcode 5, in fact I was debugging in Xcode 5 a plugin that was running on Xcode 6 at the same time