Dear tthomas thanks for your reply.It is not straightforward for me to understand these log files.. they look slightly different to me:```Application Specific Information:Sending runOpenPanel: to IDEWelcomeWindowController from <NSButton: 0x7fd3d142a0e0>ProductBuildVersion: 11E146ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-16126/DVTFoundation/Protocols/DVTInvalidation.m:439Details: DVTInvalidationCorePrimitiveInvalidate called twice during -invalidate: <0x7fd3d11708e0 IDEWelcomeWindowController>.Function: void DVTInvalidationCorePrimitiveInvalidate(NSObject<DVTInvalidation> * _Nonnull __strong)Thread: <NSThread: 0x7fd3cc409d10>{number = 1, name = main}Open FDs: 41/7168Hints: 0: Sending runOpenPanel: to IDEWelcomeWindowController from <NSButton: 0x7fd3d142a0e0>Backtrace: 0 -[IDEAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit) 1 _DVTAssertionHandler (in DVTFoundation) 2 _DVTAssertionFailureHandler (in DVTFoundation) 3 DVTInvalidationCorePrimitiveInvalidate (in DVTFoundation) 4 -[DVTInvalidationMixIn invalidate] (in DVTFoundation) 5 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation) 6 ___CFXRegistrationPost1_block_invoke (in CoreFoundation) 7 _CFXRegistrationPost1 (in CoreFoundation) 8 ___CFXNotificationPost_block_invoke (in CoreFoundation) 9 -[_CFXNotificationRegistrar find:object:observer:enumerator:] (in CoreFoundation)10 _CFXNotificationPost (in CoreFoundation)11 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)12 -[NSNotificationCenter(DVTNSNotificationCenterAdditions_MRR) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)13 -[NSWindow _finishClosingWindow] (in AppKit)14 -[NSWindow _close] (in AppKit)15 -[IDEWelcomeWindow close] (in IDEKit)16 -[IDEWelcomeWindowController _windowDidBecomeKeyOrMain:] (in IDEKit)17 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)18 ___CFXRegistrationPost1_block_invoke (in CoreFoundation)19 _CFXRegistrationPost1 (in CoreFoundation)20 ___CFXNotificationPost_block_invoke (in CoreFoundation)21 -[_CFXNotificationRegistrar find:object:observer:enumerator:] (in CoreFoundation)22 _CFXNotificationPost (in CoreFoundation)23 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)24 -[NSNotificationCenter(DVTNSNotificationCenterAdditions_MRR) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)25 -[NSWindow becomeKeyWindow] (in AppKit)26 -[NSWindow _changeKeyAndMainLimitedOK:] (in AppKit)27 -[NSWindow _makeKeyRegardlessOfVisibility] (in AppKit)28 -[NSApplication _orderFrontModalWindow:relativeToWindow:] (in AppKit)29 -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:] (in AppKit)30 -[NSApplication beginModalSessionForWindow:] (in AppKit)31 -[DVTApplication beginModalSessionForWindow:] (in DVTKit)32 __35-[NSApplication runModalForWindow:]_block_invoke_2 (in AppKit)33 __35-[NSApplication runModalForWindow:]_block_invoke (in AppKit)34 _NSTryRunModal (in AppKit)35 -[NSApplication runModalForWindow:] (in AppKit)36 -[DVTApplication runModalForWindow:] (in DVTKit)37 __19-[NSAlert runModal]_block_invoke_2 (in AppKit)38 __19-[NSAlert runModal]_block_invoke (in AppKit)39 _NSTryRunModal (in AppKit)40 -[NSAlert runModal] (in AppKit)41 -[NSApplication(NSErrorPresentation) presentError:] (in AppKit)42 -[DVTApplication presentError:] (in DVTKit)43 __43-[IDEWelcomeWindowController runOpenPanel:]_block_invoke (in IDEKit)44 __57-[IDEDocumentController runOpenPanelWithCompletionBlock:]_block_invoke_2 (in IDEKit)45 __83-[IDEDocumentController _runOpenPanelWithURLsFromRunningOpenPanel:completionBlock:]_block_invoke (in IDEKit)46 __81-[IDEDocumentController openDocumentWithContentsOfURL:display:completionHandler:]_block_invoke_2 (in IDEKit)47 __81-[IDEDocumentController openDocumentWithContentsOfURL:display:completionHandler:]_block_invoke_2.1134 (in IDEKit)48 __82-[IDEDocumentController _openSimpleFileDocumentLocations:display:completionBlock:]_block_invoke_2 (in IDEKit)49 __82-[IDEDocumentController _openSimpleFileDocumentLocations:display:completionBlock:]_block_invoke.998 (in IDEKit)50 __109-[IDEDocumentController _openSimpleFileFolderDocumentLocations:displayDocument:isSingleFile:completionBlock:]_block_invoke_2 (in IDEKit)51 -[IDEDocumentController _openSimpleFileFolderDocumentLocations:displayDocument:isSingleFile:completionBlock:] (in IDEKit)52 -[IDEDocumentController _openSimpleFileDocumentLocations:display:completionBlock:] (in IDEKit)53 __86-[IDEDocumentController _openDocumentsForDocumentLocations:display:completionHandler:]_block_invoke (in IDEKit)54 __89-[IDEDocumentController _openProjectsPlaygroundsAndWorkspaces:display:completionHandler:]_block_invoke_2 (in IDEKit)55 -[IDEDocumentController _openProjectsPlaygroundsAndWorkspaces:display:openedDocuments:simpleFileDocumentLocations:completionHandler:] (in IDEKit)56 -[IDEDocumentController _openProjectsPlaygroundsAndWorkspaces:display:completionHandler:] (in IDEKit)57 -[IDEDocumentController _openDocumentsForDocumentLocations:display:completionHandler:] (in IDEKit)58 -[IDEDocumentController openDocumentWithContentsOfURL:display:completionHandler:] (in IDEKit)59 -[IDEDocumentController _runOpenPanelWithURLsFromRunningOpenPanel:completionBlock:] (in IDEKit)60 -[IDEDocumentController runOpenPanelWithCompletionBlock:] (in IDEKit)61 -[IDEWelcomeWindowController runOpenPanel:] (in IDEKit)62 -[NSApplication(NSResponder) sendAction:to:from:] (in AppKit)63 __37-[DVTApplication sendAction:to:from:]_block_invoke.86 (in DVTKit)64 DVTInvokeWithFailureHint (in DVTFoundation)65 -[DVTApplication sendAction:to:from:] (in DVTKit)66 -[NSControl sendAction:to:] (in AppKit)67 __26-[NSCell _sendActionFrom:]_block_invoke (in AppKit)68 -[NSCell _sendActionFrom:] (in AppKit)69 -[NSButtonCell _sendActionFrom:] (in AppKit)70 NSControlTrackMouse (in AppKit)71 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)72 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)73 -[NSControl mouseDown:] (in AppKit)74 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] (in AppKit)75 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] (in AppKit)76 -[NSWindow(NSEventRouting) sendEvent:] (in AppKit)77 -[NSApplication(NSEvent) sendEvent:] (in AppKit)78 -[IDEApplication sendEvent:] (in IDEKit)79 -[NSApplication run] (in AppKit)80 NSApplicationMain (in AppKit)81 main (in Xcode)82 start (in libdyld.dylib)abort() called```
Post
Replies
Boosts
Views
Activity
Honestly I don't know. Btw, for the moment I found away to work around the problem. I simply removed Xcode 11.4 and installed the previous version 11.3.1 (taken from here https://developer.apple.com/download/more/?name=Xcode).Now it is doing something new: when I open as a project the directory with all my scripts it gives the following error message: "Could not open file. (/Users/riccardo/CODES/KC_Wann)".However, when I click on OK then Xcode opens correctly and at least I can work as before...
I am sorry but in my case also the opening holding the Shift key did not help! I tried also to restart the OS in safe mode, but still I got the same problem.My project is just a folder with text files and subdirectories containing other text files.. Xcode opens correctly every single file, but if I try to open a the full folder then it crashes. I tried to create a folder in my desktop with only one file inside and Xcode crashes also if I open that folder.So the problem is when Xcode tries to open a directory as a project... any advice?Thanks!