Replies: 3 comments 4 replies
-
Those logs aren't super helpful. There might be more helpful logs under your app's process name. Is your app sandboxed and if so, are you following the sandboxing documentation? (For example, the Installer XPC Service cannot be sandboxed, and sandboxing it would prevent having write access to the bundle and having installation working). If you can move your app in /Applications in Finder without an authorization prompt then Sparkle shouldn't require auth, which may point to a misconfiguration issue. Oh and also updates that use a package installer (pkg) always require authorization. The solution there is to not use pkg if that's the case here. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I had forgotten to mention about the Sandbox status. My app is not sandboxed. Yes, installing works if I authorize it. I'm using Sparkle 2.2.2. Moving with mv from Terminal fails, and here are the permissions: me@me-Air /Applications % mv myapp.app ~/Desktop (Out of curiosity I checked the permissions for the ExpressVPN.app [a random 3rd party app] and they are the same.) Due to security reasons I'm not too comfortable sharing a huge log bundle like that with everything in it. Is it possible for me to just filter out the Sparkle log messages? Or is there a specific set of messages you are looking for? |
Beta Was this translation helpful? Give feedback.
-
I have modified my app's installer so the permissions are set to [current user] and staff for the application. And now when I click 'Install Update' for a manual update, it will update w/o asking for my password. However, if I leave the app on (or if I close and reopen), I never see the app automatically upgraded. I see the "Automatically download and install updates in the future" checked on the "Software Update" UI, but I have not clicked "Install Update" so I am not sure if that has been taken into effect. (Note: I reinstalled after doing the above manual upgrade test in order to test the case where user has not done a manual update.) Does the user have to do one manual update before the automatic kicks in? I'm trying to get it so automatic is enabled from the start, but user can disable it if desired. |
Beta Was this translation helpful? Give feedback.
-
When Sparkle shows a popup that an update is available, and I try to install it, it always prompts for the password of my current user.
This is a bit surprising since this current user already has read/write access to /Applications, and I even verified I can write and delete files in /Applications.
The problem with this is that not only is it inconvenient to users, but it is prohibiting installs from happening in the background.
Here are some logs from the console that seem relevant, does anyone have any ideas?
default 14:19:22.888339-0700 authd Validating shared credential XXX (501) for authenticate-admin (engine 47)
default 14:19:22.888353-0700 authd credential 501 expired '6518.236469 > 0' (does NOT satisfy rule) (engine 47)
default 14:19:22.888451-0700 authd Validating session owner XXX (501) for authenticate-admin (engine 47)
default 14:19:22.889425-0700 authd session owner 501 is member of group admin (does satisfy rule) (engine 47)
default 14:19:23.059372-0700 authd engine 47: running mechanism builtin:authenticate (1 of 3)
error 14:19:27.087923-0700 authd Evaluate cancelled or failed -60006 (engine 47)
default 14:19:27.087955-0700 authd Failed to authorize right 'MYAPP.sparkle2-auth' by client '/Applications/MYAPP.app' [3781] for authorization created by '/Applications/MYAPP.app' [3781] (3,0) (-60006) (engine 47)
error 14:19:27.088234-0700 authd copy_rights: authorization failed
Does this mean that no applications installed to /Applications can ever be configured for automatic background updates?
Beta Was this translation helpful? Give feedback.
All reactions