UniWindowController
UniWindowController copied to clipboard
Mac のセーブダイアログでファイル種類を指定した際にエラーが出る
Mac の NSSavePanel で accessoryView を設定すると下記のようなエラーが出てしまい、ダイアログを開けない。
ファイル種類を指定せず accessoryView を使わない場合は出ない。
環境
- MacBook Air M1 2020
- macOS Sonoma 14.4.1
- Xcode 15.3
エラー内容
Could not advance an Open/Save panel to run phase due to error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service created from an endpoint was invalidated from this process." UserInfo={NSDebugDescription=The connection to service created from an endpoint was invalidated from this process.}
Exception occurred during attempt to advance an Open/Save panel to run phase: Couldn’t communicate with a helper application.
Couldn’t communicate with a helper application.
NSOpenPanel では同じように accessoryView を利用してもこのエラーとはならずに開ける。