Search code examples
macosxcode7code-signingosx-elcapitancode-signing-entitlements

Very Frustrating Sandboxing Error


To preface, I haven't changed any code or entitlements in my app. It always built and worked great but now all of a sudden I am getting this error.

12/8/15 10:05:45.388 AM appleeventsd[51]: A sandboxed application with pid 2414, "XXX" checked in with appleeventsd, but its code signature could not be read and validated by appleeventsd, and so it cannot receive AppleEvents targeted by name, bundle id, or signature. Install the application in /Applications/ or some other world readable location to resolve this issue. Error=ERROR: #100013 { "NSDescription"="SecCodeCopySigningInformation() returned 100013, -." } (handleMessage()/appleEventsD.cp #2098) com.apple.root.default-qos

I have tried the following

  1. Install the app in "Applications" as the error suggest.
  2. Restart the computer.
  3. Delete the container and empty the trash.
  4. Killing off cfprefsd. Both root and user.
  5. Re-installing Xcode.
  6. Removing the "Developer" folder in my Library.
  7. Running the app in a virtual machine with a brand new install of my app.
  8. Recreate all my developer certificates, provisioning profiles, etc...

None of the above works.

I have also tried all suggestions in the following links

And nothing has resolved the issue. My app, all of a sudden stopped working.


Solution

  • I think I figured it out. I re-wrote the code for creating a security scoped bookmark... all is working again. I couldn't find any differences but I think it was something in my code.