-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
"Damaged app" in Big Sur being caused by Sparkle #1691
Comments
Thanks to @danielpunkass for helping me dig into the cause of this issue! |
The best solution here would probably be an additional build step that removes any unnecessary attributes. Something along the lines of
(This technique can also be used to fix the app so it passes the code signing checks.) |
Another piece of information: it appears the culprit is actually Archive Utility - Safari has it's own ZIP extraction for "safe download" and this circumvents the system utility. If you turn off Safari's safe downloads feature, you'll see the same damaged app as with Chrome. |
I thought that I've got rid of that symlink :/ It used to cause problems even in Sparkle 1.5. |
Gone in d4d4c68 |
Kudos @kornelski for folllowing up so quickly on this! |
👍 Thanks for the quick response here. |
Just a late fyi, this was addressed in |
We've been getting reports from customers about downloads of our app being "damaged" after being downloaded and opened for the first time.
Today, I tracked this issue down to something in Sparkle (we're using version 1.18.1). It appears that two files in the signed framework are causing the issue.
Both of these files are symlinks to other localization resource (French Canadian to French, Portuguese to Brazilian Portuguese). Note also that the files that are breaking the signature begin with "._" - these are files used to store extended attributes, such as com.apple.FinderInfo.
What's weird about this issue, and why we didn't see it in our testing, is that it only happens in Google Chrome. Safari is doing something (like maybe ignoring/removing extended attributes) before the signature check.
Our workaround for customers is to tell them to use Safari for the download, but it would be much better to fix the issue at the source.
The text was updated successfully, but these errors were encountered: