I just cloned, compiled and installed wxWidgets. After building my project I discovered that neither wxFilePickerCtrl nor wxDirPickerCtrl are working. The debug console showed the follwing errors:
2025-11-14 16:58:21.663196+0100 wxTranslator[67130:262656] [OpenSavePanels] Unable to display open panel (unrecognized error: Error Domain=com.apple.ViewBridge Code=14 "(null)" UserInfo={com.apple.ViewBridge.error.hint=-[NSViewServiceMarshal bootstrap:withReply:] caught NSInvalidArgumentException '*** -[NSUserDefaults setObject:forKey:inDomain:]: domain name cannot be nil or empty' with backtrace (
"0 CoreFoundation __exceptionPreprocess + 176",
"1 libobjc.A.dylib objc_exception_throw + 88",
"2 Foundation -[NSUserDefaults(NSUserDefaults) setObject:forKey:inDomain:] + 420",
"3 AppKit +[NSOSPDefaults _readFileListModeForIdentifier:inSaveMode:inDirectory:lastListForMediaBrowserMode:] + 524",
"4 AppKit -[NSRemoteSavePanel(NSSavePanelLayout) _makeFinderKitView] + 416",
"5 AppKit -[NSRemoteSavePanel(NSSavePanelLayout) _setupFileBrowserView] + 68",
"6 AppKit -[NSRemoteSavePanel(NSSavePanelLayout) _initContentView] + 908",
"7 AppKit -[NSRemoteSavePanel initWithContentRect:styleMask:backing:defer:] + 444",
"8 AppKit -[NSRemoteSavePanel initWithOptions:] + 456",
"9 com.apple.appkit.xpc.openAndSavePan main + 708",
"10 com.apple.appkit.xpc.openAndSavePan com.apple.appkit.xpc.openAndSavePan + 6732",
"11 AppKit __39-[NSViewController _loadViewIfRequired]_block_invoke + 60",
"12 AppKit NSPerformVisuallyAtomicChange + 108",
"13 AppKit -[NSViewController _loadViewIfRequired] + 116",
"14 AppKit -[NSViewController view] + 24",
"15 ViewBridge -[NSViewServiceMarshal bootstrap:replyData:completion:] + 1308",
"16 ViewBridge -[NSViewServiceMarshal bootstrap:withReply:] + 272",
"17 CoreFoundation invoking + 148",
"18 CoreFoundation -[NSInvocation invoke] + 424",
"19 CoreFoundation -[NSInvocation invokeWithTarget:] + 64",
"20 ViewBridge -[NSVB_ViewServiceImplicitAnimationDecodingProxy forwardInvocation:] + 192",
"21 CoreFoundation forwarding + 1032",
"22 CoreFoundation CF_forwarding_prep_0 + 96",
"23 CoreFoundation invoking + 148",
"24 CoreFoundation -[NSInvocation invoke] + 424",
"25 CoreFoundation -[NSInvocation invokeWithTarget:] + 64",
"26 ViewBridge -[NSVB_QueueingProxy forwardInvocation:] + 308",
"27 CoreFoundation forwarding + 1032",
"28 CoreFoundation CF_forwarding_prep_0 + 96",
"29 CoreFoundation invoking + 148",
"30 CoreFoundation -[NSInvocation invoke] + 424",
"31 CoreFoundation -[NSInvocation invokeWithTarget:] + 64",
"32 CoreFoundation forwarding + 1032",
"33 CoreFoundation CF_forwarding_prep_0 + 96",
"34 CoreFoundation invoking + 148",
"35 CoreFoundation -[NSInvocation invoke] + 424",
"36 ViewBridge __deferNSXPCInvocationOntoMainThread_block_invoke + 132",
"37 ViewBridge __deferBlockOntoMainThread_block_invoke_2 + 32",
"38 HIServices ___ZL20wrapBlockWithVoucherU13block_pointerFvvE_block_invoke + 56",
"39 HIServices _ZL24deferredBlockOpportunity_block_invoke_2 + 500",
"40 CoreFoundation CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 28",
"41 CoreFoundation __CFRunLoopDoBlocks + 396",
"42 CoreFoundation __CFRunLoopRun + 2356",
"43 CoreFoundation _CFRunLoopRunSpecificWithOptions + 532",
"44 HIToolbox RunCurrentEventLoopInMode + 316",
"45 HIToolbox ReceiveNextEventCommon + 488",
"46 HIToolbox _BlockUntilNextEventMatchingListInMode + 48",
"47 AppKit _DPSBlockUntilNextEventMatchingListInMode + 236",
"48 AppKit _DPSNextEvent + 588",
"49 AppKit -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688",
"50 AppKit -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72",
"51 ViewBridge __77-[NSViewServiceApplication vbNextEventMatchingMask:untilDate:inMode:dequeue:]_block_invoke + 148",
"52 ViewBridge -[NSViewServiceApplication _withToxicEventMonitorPerform:] + 152",
"53 ViewBridge -[NSViewServiceApplication vbNextEventMatchingMask:untilDate:inMode:dequeue:] + 168",
"54 ViewBridge -[NSViewServiceApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 100",
"55 AppKit -[NSApplication run] + 368",
"56 AppKit NSApplicationMain + 880",
"57 libxpc.dylib _xpc_objc_main + 784",
"58 libxpc.dylib _xpc_main + 40",
"59 libxpc.dylib _xpc_copy_xpcservice_dictionary + 0",
"60 ViewBridge xpc_connection_handler + 0",
"61 ViewBridge NSViewServiceMain + 360",
"62 com.apple.appkit.xpc.openAndSavePan main + 156",
"63 dyld start + 7184"
), com.apple.ViewBridge.error.description=NSViewBridgeErrorServiceBootstrap})
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
please look at #25584 whether it's the same issue
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Closed #25973 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Yes, thank you so much. I resolved the issue by simply replacing the info.plist file with a file I built from scratch.
Case closed :)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()