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

"Godot" is damaged and can't be opened #94

Open
djrain opened this issue Jun 26, 2021 · 8 comments
Open

"Godot" is damaged and can't be opened #94

djrain opened this issue Jun 26, 2021 · 8 comments

Comments

@djrain
Copy link

djrain commented Jun 26, 2021

Goost and Godot version:
Godot 3.3.2-stable + Goost 1.0-stable

OS/platform/device including version:
2020 Mac Mini (M1)
macOS Big Sur

Issue description:
Downloaded Godot + Goost (macOS standard 64-bit) for the first time, but when I unzip and try to open it, I get this:

Screen Shot 2021-06-26 at 2 19 21 PM

No idea what would cause this... I am running the official 3.3.2 stable just fine.
I tried redownloading it and also restarting to no avail. Anyone else encountered this?

Steps to reproduce:
dunno... try to open Godot + Goost on M1 Mac?

Is this issue reproducible in official Godot builds?
no

Minimal reproduction project:
N/A

@djrain djrain added the bug Something isn't working label Jun 26, 2021
@Xrayez
Copy link
Contributor

Xrayez commented Jun 27, 2021

Ok, thanks for reporting, looks like there may be extra steps that are needed to make those work. Unfortunately, I don't currently have access to Mac machine to properly test this myself and figure out what could be the cause of this, all the binaries were built using official Godot build containers and scripts.

If someone has any ideas and expertise in this, I'd appreciate any feedback.

If this issue still persists in future builds, I think it would be worth to link this issue in a "Known issues" on the Goost's Download page, but those should be fixed of course.

If you're familiar with the process of compiling from source, you may still be able to use Goost.

@Xrayez
Copy link
Contributor

Xrayez commented Jun 27, 2021

This may likely be due to verification process. Official Godot binaries, as far as I know, are currently notarized/code-signed. There may be ways to workaround this as well.

Perhaps doing hacks like https://apple.stackexchange.com/questions/372084/macos-catalina-app-is-damaged-and-cant-be-opened-you-should-move-it-to-the-t may also workaround the issue.

@Xrayez Xrayez added this to the gd3 milestone Jun 27, 2021
@djrain
Copy link
Author

djrain commented Jun 27, 2021

Perhaps doing hacks like https://apple.stackexchange.com/questions/372084/macos-catalina-app-is-damaged-and-cant-be-opened-you-should-move-it-to-the-t may also workaround the issue.

I've just tried running that command:
sudo xattr -rds com.apple.quarantine /Applications/Godot-3.3.2-Goost.app/Contents/MacOS/Godot

but it didn't fix it. Also tried this to enable the "allow apps downloaded from anywhere" setting
sudo spctl --master-disable

but still no luck :/
I also tried opening it on my 2015 Macbook running Catalina, and got the same message.

Will compile if I have to, but it would be nice to avoid it.

@Xrayez
Copy link
Contributor

Xrayez commented Jun 28, 2021

@djrain is the previous beta release also broken when running on your machine? See https://github.com/goostengine/goost/releases/tag/1.0-beta-gd3.

If not, this may be something more to do in the way I've updated the local buildsystem which lead to damaged binaries for real, otherwise I still suspect this is due to code signing, or lack of thereof, when I build those binaries, which isn't something which I can do at the moment. Basically see:

godotengine/godot#11984 (comment)

Maybe, just maybe, macOS sees custom builds of Godot as broken because they are very similar to Godot's official ones (because Godot builds are already signed and notarized). They could somehow see a mismatch between official Godot builds and Goost builds. The difference between Godot and Goost builds are literally just 1.5 Mb at the moment. 😃

@djrain
Copy link
Author

djrain commented Jul 1, 2021

@djrain is the previous beta release also broken when running on your machine?

Yeah, it's broken also.

However, running this command (from thread you linked) allowed 1.0 to open without issue :)
xattr -r -d com.apple.quarantine /Applications/Godot-3.3.2-Goost.app

Xrayez added a commit to goostengine/goostengine.github.io that referenced this issue Jul 1, 2021
@Xrayez Xrayez added documentation 📖 Improvements or additions to documentation workaround available 🔨 and removed documentation 📖 Improvements or additions to documentation labels Jul 2, 2021
@Xrayez Xrayez modified the milestones: 1.0-gd3, 1.1-gd3 Jul 22, 2021
@Xrayez Xrayez removed this from the 1.1-gd3 milestone Aug 7, 2021
@TrueSgtMonkey
Copy link

This issue just happened to me on 3.4.4. I tried the above tips, but the .app is still being marked as damaged on macOS Big Sur.

@Xrayez
Copy link
Contributor

Xrayez commented Apr 3, 2022

@TrueSgtMonkey have you tried the workaround described in #143?

@TrueSgtMonkey
Copy link

TrueSgtMonkey commented Apr 10, 2022

@TrueSgtMonkey have you tried the workaround described in #143?

For some reason the other day it didn't work, but this time it did. Thank you!

I bet it was a user error on my part as I was exhausted that day haha

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

No branches or pull requests

3 participants