landonf / XcodePostFacto

Xcode 6.3 for Mac OS X 10.9
Other
68 stars 9 forks source link

Not working on Xcode 6.3 GM #4

Closed paradoxally closed 9 years ago

paradoxally commented 9 years ago

XcodePostFacto does not manage to open Xcode 6.3 GM. xpf-bootstrap.framework was compiled with 6.2, and it worked with 6.3 betas.

When trying to create a new project, it force quits and dumps this log:

2015-04-09 14:08:33.608 Xcode[19359:d07] [MT] DVTAssertions: UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Extension SpriteKitEditor.SKDocumentNavigableItemSKVortexFieldNode class 'SKVortexFieldNode' not found for required key 'supportedClass'
UserInfo: {
    DVTExtensionClassNameErrorKey = SKVortexFieldNode;
    DVTExtensionIdentifierErrorKey = "SpriteKitEditor.SKDocumentNavigableItemSKVortexFieldNode";
    DVTPlugInExecutablePathErrorKey = "/Applications/Xcode.app/Contents/PlugIns/IDESpriteKitParticleEditor.ideplugin";
    DVTPlugInIdentifierErrorKey = "com.apple.IDESpriteKitParticleEditor";
}
Hints: None
2015-04-09 14:08:33.713 Xcode[19359:d07] [MT] DVTAssertions: 
Backtrace:
  0  0x00007fff8bffe244 __exceptionPreprocess (in CoreFoundation)
  1  0x000000010cd82184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff8e01ce75 objc_exception_throw (in libobjc.A.dylib)
  3  0x000000010cbe5379 -[DVTExtension _adjustClassAttribute:forKey:inParameterData:] (in DVTFoundation)
  4  0x000000010cbe4e9d -[DVTExtension _adjustClassReferencesInParameterData:usingSchema:] (in DVTFoundation)
  5  0x000000010cc68826 -[DVTExtension _fireExtensionFault:] (in DVTFoundation)
  6  0x000000010cc68185 __63-[DVTExtension _valueForKey:inParameterData:usingSchema:error:]_block_invoke (in DVTFoundation)
  7  0x00007fff8fd9c28d _dispatch_client_callout (in libdispatch.dylib)
  8  0x00007fff8fd9d146 _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
  9  0x000000010cdb9f1d DVTDispatchBarrierSync (in DVTFoundation)
 10  0x000000010cbb72c4 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
 11  0x000000010cc67f61 -[DVTExtension _valueForKey:inParameterData:usingSchema:error:] (in DVTFoundation)
 12  0x000000010cbe4381 -[DVTExtension valueForKey:] (in DVTFoundation)
 13  0x00007fff8dd51b1f -[NSObject(NSKeyValueCoding) valueForKeyPath:] (in Foundation)
 14  0x000000010de2bf67 +[IDENavigableItem navigableItemClassForModelObject:] (in IDEKit)
 15  0x000000010de2bad7 +[IDENavigableItem _navigableItemWithRepresentedObject:parent:inCoordinator:] (in IDEKit)
 16  0x000000010de2b8c2 -[IDENavigableItemCoordinator rootNavigableItemWithRepresentedObject:] (in IDEKit)
 17  0x000000010dfd69f1 __61-[IDEEditorContext _setEditorGeniusResultsGenerationEnabled:]_block_invoke (in IDEKit)
 18  0x000000010cd94435 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
 19  0x000000010cbe6371 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:] (in DVTFoundation)
 20  0x000000010de2a271 -[IDEEditorContext _setEditorGeniusResultsGenerationEnabled:] (in IDEKit)
 21  0x000000010de291c7 -[IDEEditorContext viewDidInstall] (in IDEKit)
 22  0x000000010d3f1ecf -[DVTViewController _didInstallContentView:] (in DVTKit)
 23  0x000000010d1e343c -[DVTControllerContentView _viewDidInstall] (in DVTKit)
 24  0x000000010d1e2ccc -[DVTControllerContentView viewDidMoveToWindow] (in DVTKit)
 25  0x00007fff8e6e6190 -[NSView _setWindow:] (in AppKit)
 26  0x00007fff8bf322f9 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
 27  0x00007fff8bf31a9f -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
 28  0x00007fff8ee29c72 __21-[NSView _setWindow:]_block_invoke712 (in AppKit)
 29  0x00007fff8dd5b3aa -[NSISEngine withBehaviors:performModifications:] (in Foundation)
 30  0x00007fff8e6e495c -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] (in AppKit)
 31  0x00007fff8e6e615f -[NSView _setWindow:] (in AppKit)
 32  0x00007fff8bf322f9 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
 33  0x00007fff8bf31a9f -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
 34  0x00007fff8ee29c72 __21-[NSView _setWindow:]_block_invoke712 (in AppKit)
 35  0x00007fff8dd5b3aa -[NSISEngine withBehaviors:performModifications:] (in Foundation)
 36  0x00007fff8e6e495c -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] (in AppKit)
 37  0x00007fff8e6e615f -[NSView _setWindow:] (in AppKit)
 38  0x00007fff8bf322f9 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
 39  0x00007fff8bf31a9f -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
 40  0x00007fff8ee29c72 __21-[NSView _setWindow:]_block_invoke712 (in AppKit)
 41  0x00007fff8dd5b3aa -[NSISEngine withBehaviors:performModifications:] (in Foundation)
 42  0x00007fff8e6e495c -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] (in AppKit)
 43  0x00007fff8e6e615f -[NSView _setWindow:] (in AppKit)
 44  0x00007fff8bf322f9 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
 45  0x00007fff8bf31a9f -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
 46  0x00007fff8ee29c72 __21-[NSView _setWindow:]_block_invoke712 (in AppKit)
 47  0x00007fff8dd5b3aa -[NSISEngine withBehaviors:performModifications:] (in Foundation)
 48  0x00007fff8e6e495c -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] (in AppKit)
 49  0x00007fff8e6e615f -[NSView _setWindow:] (in AppKit)
 50  0x00007fff8bf322f9 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
 51  0x00007fff8bf31a9f -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
 52  0x00007fff8ee29c72 __21-[NSView _setWindow:]_block_invoke712 (in AppKit)
 53  0x00007fff8dd5b3aa -[NSISEngine withBehaviors:performModifications:] (in Foundation)
 54  0x00007fff8e6e495c -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] (in AppKit)
 55  0x00007fff8e6e615f -[NSView _setWindow:] (in AppKit)
 56  0x00007fff8bf322f9 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
 57  0x00007fff8bf31a9f -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
 58  0x00007fff8ee29c72 __21-[NSView _setWindow:]_block_invoke712 (in AppKit)
 59  0x00007fff8dd5b3aa -[NSISEngine withBehaviors:performModifications:] (in Foundation)
 60  0x00007fff8e6e495c -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] (in AppKit)
 61  0x00007fff8e6e615f -[NSView _setWindow:] (in AppKit)
 62  0x00007fff8bf322f9 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
 63  0x00007fff8bf31a9f -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
 64  0x00007fff8ee29c72 __21-[NSView _setWindow:]_block_invoke712 (in AppKit)
 65  0x00007fff8dd5b3aa -[NSISEngine withBehaviors:performModifications:] (in Foundation)
 66  0x00007fff8e6e495c -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] (in AppKit)
 67  0x00007fff8e6e615f -[NSView _setWindow:] (in AppKit)
 68  0x00007fff8bf322f9 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
 69  0x00007fff8bf31a9f -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
 70  0x00007fff8ee29c72 __21-[NSView _setWindow:]_block_invoke712 (in AppKit)
 71  0x00007fff8dd5b3aa -[NSISEngine withBehaviors:performModifications:] (in Foundation)
 72  0x00007fff8e6e495c -[NSView(NSConstraintBasedLayout) _withAutomaticEngineOptimizationDisabled:] (in AppKit)
 73  0x00007fff8e6e615f -[NSView _setWindow:] (in AppKit)
 74  0x00007fff8e6e37d4 -[NSView addSubview:] (in AppKit)
 75  0x00007fff8e9e217e -[NSTabView _switchTabViewItem:oldView:withTabViewItem:newView:initialFirstResponder:lastKeyView:] (in AppKit)
 76  0x00007fff8e9e1cd8 -[NSTabView selectTabViewItem:] (in AppKit)
 77  0x00007fff8e9e1937 -[NSTabView _addedTab:atIndex:] (in AppKit)
 78  0x000000010d348f60 -[DVTBarBackground newTabWithViewController:atIndex:] (in DVTKit)
 79  0x000000010de132d8 -[IDEWorkspaceWindowController _setUpTabForViewController:atIndex:] (in IDEKit)
 80  0x000000010de131d1 -[IDEWorkspaceWindowController _createTabWithViewController:atIndex:andShow:] (in IDEKit)
 81  0x000000010de13162 -[IDEWorkspaceWindowController createTabWithViewController:andShow:addToRightSide:] (in IDEKit)
 82  0x000000010de129bc -[IDEWorkspaceWindowController createTabWithFrameName:andShow:addToRightSide:] (in IDEKit)
 83  0x000000010ddf9f70 -[IDEWorkspaceWindowController windowDidLoad] (in IDEKit)
 84  0x00007fff8e9643ac -[NSWindowController _windowDidLoad] (in AppKit)
 85  0x00007fff8e94afa6 -[NSWindowController window] (in AppKit)
 86  0x000000010e21b4ba -[IDEDocumentController _openUntitledWorkspaceDocumentAndDisplay:simpleFilesFocused:forSingleFile:editorDocumentURLOrNil:error:] (in IDEKit)
 87  0x000000010df441b6 -[IDEApplicationCommands showTemplateChooserForTemplateKind:] (in IDEKit)
 88  0x000000010e0259cb -[IDEApplicationCommands newProject:] (in IDEKit)
 89  0x00007fff8e8ed260 -[NSApplication sendAction:to:from:] (in AppKit)
 90  0x000000010d2fe80d __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
 91  0x000000010d1c70f8 -[DVTApplication sendAction:to:from:] (in DVTKit)
 92  0x00007fff8e9081c8 -[NSMenuItem _corePerformAction] (in AppKit)
 93  0x00007fff8e907f04 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] (in AppKit)
 94  0x00007fff8e95740d -[NSMenu _internalPerformActionForItemAtIndex:] (in AppKit)
 95  0x00007fff8e957289 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] (in AppKit)
 96  0x00007fff8e8fdff6 NSSLMMenuEventHandler (in AppKit)
 97  0x00007fff8c0b11d4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) (in HIToolbox)
 98  0x00007fff8c0b0787 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) (in HIToolbox)
 99  0x00007fff8c0c4880 SendEventToEventTarget (in HIToolbox)
100  0x00007fff8c0fa640 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) (in HIToolbox)
101  0x00007fff8c12d228 SendMenuCommandWithContextAndModifiers (in HIToolbox)
102  0x00007fff8c12d1d0 SendMenuItemSelectedEvent (in HIToolbox)
103  0x00007fff8c12d0af FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) (in HIToolbox)
104  0x00007fff8c135085 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) (in HIToolbox)
105  0x00007fff8c134cb1 _HandleMenuSelection2 (in HIToolbox)
106  0x00007fff8e87062c _NSHandleCarbonMenuEvent (in AppKit)
107  0x00007fff8e6cf52e _DPSNextEvent (in AppKit)
108  0x00007fff8e6ce89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
109  0x000000010d2fddda -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
110  0x00007fff8e6c299c -[NSApplication run] (in AppKit)
111  0x00007fff8e6ad783 NSApplicationMain (in AppKit)
112  0x00007fff90f175fd start (in libdyld.dylib)
113  0x0000000000000001
Abort trap: 6
landonf commented 9 years ago

Can you give this another try now that Cédric Luthi's framework loading fixes have been merged in?

paradoxally commented 9 years ago

Yep, that works now, but unfortunately the simulator doesn't work. If I try running an iOS app on the simulator (using iPhone 6, 8.3 SDK), it throws this error:

dyld: lazy symbol binding failed: Symbol not found: _dispatch_block_create
  Referenced from: /Applications/Xcode-6.3.app/Contents/MacOS/../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _dispatch_block_create
  Referenced from: /Applications/Xcode-6.3.app/Contents/MacOS/../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
  Expected in: /usr/lib/libSystem.B.dylib

Trace/BPT trap: 5

The simulator pops up this image as well: screen shot 2015-04-09 at 8 27 18 pm

landonf commented 9 years ago

Thanks! Looks like we just need a shim for dispatch_block_create*() (see rebind_table.cpp) that ignores the flag and returns a block copy.

landonf commented 9 years ago

Commit 361fb22 should get the simulator working again.