相关疑难解决方法(0)

已创建Mac沙箱,但没有NSUserDefaults plist

我正在尝试追踪沙盒创建过程中出现的一些问题.在多种情况下,似乎未在Data/Library/Preferences中创建NSUserDefaults .plist文件.我在调试器中以及从Applications目录启动应用程序时已经看到了这一点.我没有尝试存档,签署应用程序然后启动.这需要吗?

创建以.LSSharedFileList.plist结尾的别名文件,但它指向自身,因此不存在.

我不知道它是否相关但是控制台报告:

appleeventsd[72]: <rdar://problem/11489077> A sandboxed application with pid ... checked in with appleeventsd, but its code signature could not be validated ( either because it was corrupt, or could not be read by appleeventsd ) and so it cannot receive AppleEvents targeted by name, bundle id, or signature. Error=ERROR: #100013  { "NSDescription"="SecCodeCopySigningInformation() returned 100013, -." }  (handleMessage()/appleEventsD.cp #2072) client-reqs-q
Run Code Online (Sandbox Code Playgroud)

谢谢.

macos cocoa sandbox nsuserdefaults

10
推荐指数
2
解决办法
3537
查看次数

标签 统计

cocoa ×1

macos ×1

nsuserdefaults ×1

sandbox ×1