我正在追踪由沙盒创建引起的某些问题。在多种情况下,似乎NSUserDefaults .plist文件没有在Data/Library/Preferences中创建。我在调试器中和从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
谢谢。