当我打开 NSOpenPanel 然后我的应用程序崩溃时,我在控制台上收到此消息:
plugin com.getdropbox.dropbox.garcon interrupted
plugin com.getdropbox.dropbox.garcon interrupted
Unable to setup extension context - error: Couldn't communicate with a helper application
在调试器中,我收到关于 Thread 6 的警告说:
Queue: com.apple.NSXPCConnection.user.com.getdropbox.dropbox.garcon.apple-extension-service(serial)
0_dispatch_barrier_async_f
12 start_wqthread
Enqueued from com.apple.NSXPCConnection.user.com.getdropbox.dropbox.garcon.apple-extension-service (Thread 6)
0_dispatch_barrier_async_f
我尝试了一切打开我的 NSOpenPannel[openPanel runModal]
和[openPanel beginSheetModalForWindow:...
我使用 NSOpenPanel 只是为了打开一个 txt 文件
我该怎么做才能停止收到此消息并且应用程序停止崩溃?
该应用程序未经过沙盒处理和代码签名。我只是在 Debug-build 中尝试,因为我没有苹果开发者帐户。Mac OS X 版本为 10.10,Dropbox 版本为 3.0.3