UniWindowController icon indicating copy to clipboard operation
UniWindowController copied to clipboard

Mac のセーブダイアログでファイル種類を指定した際にエラーが出る

Open kirurobo opened this issue 1 year ago • 1 comments

Mac の NSSavePanel で accessoryView を設定すると下記のようなエラーが出てしまい、ダイアログを開けない。
ファイル種類を指定せず accessoryView を使わない場合は出ない。

環境

  • MacBook Air M1 2020
  • macOS Sonoma 14.4.1
  • Xcode 15.3

エラー内容

image

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.

kirurobo avatar May 05 '24 07:05 kirurobo

NSOpenPanel では同じように accessoryView を利用してもこのエラーとはならずに開ける。

kirurobo avatar May 06 '24 00:05 kirurobo