Update error in sandbox application #2477
-
We have tried to implement Sparkle for our Mac OS app, but we are stuck in an error where we get the error The console tells that it can be a problem with permissions, we get a "Sandbox denied authorizing" error. There are also other types of errors that has happened while testing. So for me it seems to be a problem with the code-signature, or security issues, but I am not sure. We have tried to follow all the steps in the guides for sandboxed apps, but we are not making progress. Below is the Github-project we are using for testing. Would anybody like to look at this project and tell us where we go wrong? Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 10 replies
-
It would probably be easier for me to look at an uploaded app/binary than it is to wrestle through cocoa pods and building your project. But it's probably a sandbox configuration issue. |
Beta Was this translation helpful? Give feedback.
-
Sure, here is a link to a build version of the app. Insructions: After downloading, installing and opening the app, go to the dropdown-menu in the taskbar and push "check for updates". The error-popup message should appear after downloading the new version. |
Beta Was this translation helpful? Give feedback.
-
You have an extraneous space character at the end of the key name. |
Beta Was this translation helpful? Give feedback.
-
now we are getting this error: |
Beta Was this translation helpful? Give feedback.
-
ok here is more errors: (AppleMobileFileIntegrity) Installer (livxps.dylib) Updater (libxps.dylib) runningoardd (RunningBoard) Updater (libxps.dylib) Updater (libxps.dylib) Updater (libMobileGestalt.dylib) Updater (libxps.dylib) |
Beta Was this translation helpful? Give feedback.
-
Suddenly it started working: after I changed project format to Xcode 14, it was on Xcode 9. I will do more testing to confirm. |
Beta Was this translation helpful? Give feedback.
-
We found the solution: In the build-settings of the main target, the "entitlements" section pointed to a non-existing location for "release", but correct for "debug". Thats why the update-prosess worked in Debug but not for Release. Thanks so much for Zorgiepoo for helping with this, and for discovering that it could something wrong with entitlements in our project. |
Beta Was this translation helpful? Give feedback.
It most likely means your broken release build does not have the Installer Connection & Status entitlements (the ones under "Communication") correctly applied like the error message says. For any wrongly produced build you can verify the entitlements on your produced app binary via something like
codesign -d --entitlements :- /Applications/MyApp.app/Contents/MacOS/MyApp
..and see if the entitlements exist there. If not, this is most likely something broken in your release process. As the documentation states: