Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloader differs from previously opened versions #29

Open
zorgiepoo opened this issue Mar 16, 2024 · 2 comments
Open

Downloader differs from previously opened versions #29

zorgiepoo opened this issue Mar 16, 2024 · 2 comments
Assignees

Comments

@zorgiepoo
Copy link

zorgiepoo commented Mar 16, 2024

Due to a sandboxing issue new to macOS Sonoma and due to this app and other apps using Sparkle's Downloader XPC Service, users may see a one-time system warning dialog when checking for updates about "Downloader" differs from previously opened versions.

It looks like ShowyEdge wants to use the Sparkle's Downloader XPC Service from following Sparkle's sandboxing guide because the app is not entitled with an outgoing network connection (com.apple.security.network.client) entitlement. So there are a couple ways to fix this issue:

  • ShowyEdge can update to Sparkle 2.6.0 or later (which disables sandboxing for the Downloader XPC Service by default to avoid conflicts) (easiest way)
  • ShowyEdge can re-compile their current version of Sparkle with a custom XPC_SERVICE_BUNDLE_ID_PREFIX

See sparkle-project/Sparkle#2514 for more information on the issue.

@tekezo tekezo self-assigned this Mar 16, 2024
@tekezo
Copy link
Member

tekezo commented Mar 16, 2024

Thank you for feedback!
I'll update Sparkle to 2.6.0.

@zorgiepoo
Copy link
Author

For completeness sake, I forgot to mention a third option.. The app can enable the Outgoing Network Connection (com.apple.security.network.client) entitlement on the app instead of enabling Sparkle's Downloader XPC Service (as there are other drawbacks with it, e.g. Sparkle can't use WebKit 2).

I updated the sandbox documentation for the downloader service here.

Up to you what you pick as each option has its own tradeoff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants