Updater fails with "Sandbox: deny mach-lookup <Identifier>-spki/spks" #2290
-
Description of the problemAfter upgrading to Sparkle 2.3 and macOS Ventura, the Sparkle Updater for my app (which previously worked) now fails with
followed by
after downloading an update for my app (more detailed output see below). I have read (and re-read) all the documentation on upgrading from older versions of Sparkle and sandboxing, and I can't figure out what the problem is here. Do you use Sandboxing in your app?Yes. I don't use Xcode's Archive & Export, though. I have a custom scripted build system that roughly performs the following steps:
The Sparkle re-signing in my build script looks like this:
Version of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Please check the "Communication" section on the Sandboxing guide. Your application does not have those entitlements in there:
It looks like you accidentally put these in your Info.plist which is incorrect.
You can also consider doing an Archive & Export in the command line via Be sure to test your changes in development before pushing a release out in production. If you tried to update without the mentioned entitlments, you should get this log message in your app (for some reason the error message you pasted is only partial / cut off but I see the full log in the sandbox violation report you pasted):
You may be able to post an informational only update for users that are stuck updating (this notifies them of the update and gives them a link to your webpage / download). |
Beta Was this translation helpful? Give feedback.
-
Thanks so much for the quick response and spot-on analysis. After moving the entitlements to the correct place, the update process now works 👍 |
Beta Was this translation helpful? Give feedback.
Please check the "Communication" section on the Sandboxing guide.
Your application does not have those entitlements in there: