As a result of testing the code you mentioned, you can see the log below.
(In fact, when I already created and tested a statusbar project similar to the current project, NSOpenPanel worked normally)
<NSOpenPanel: 0x132351ed0>
And the link below is the spindump.txt file when "no response" occurs.
http://gofile.me/3ybqZ/JhLSuHzId
Post
Replies
Boosts
Views
Activity
I'm sorry. The link is incorrect.
Please refer to the link below.
http://gofile.me/3ybqZ/v09Gs3SZi
you're right. Only my application fails.
"If you adjust your test app to run under Rosetta," I'm not sure exactly what it means, but
This spindump failed on an m1 mac, but actually also failed on an i5 (intel) mac. (no under rosetta)
Is my assumption below correct?
myapp openPanel -> xpc -> openAndSaveService
A failure occurred while myapp was waiting for a signal from openAndSaveService.