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

[Runtime Issue]: Unable to run on MacOS ARM - “Descent3” is damaged and can’t be opened. You should move it to the Trash. #559

Open
3 of 20 tasks
phubbard opened this issue Sep 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@phubbard
Copy link

phubbard commented Sep 1, 2024

Build Version

v1.5.0

Operating System Environment

  • Microsoft Windows (32-bit)
  • Microsoft Windows (64-bit)
  • Mac OS X
  • Linux (specify distribution and version below)

CPU Environment

  • x86 (32-bit Intel/AMD)
  • x86_64 (64-bit Intel/AMD)
  • ARM (32-bit)
  • ARM64 (64-bit; sometimes called AArch64)
  • Other (RISC V, PPC...)

Game Modes Affected

  • Single player
  • Anarchy
  • Hyper-Anarchy
  • Robo-Anarchy
  • Team Anarchy
  • Capture the Flag
  • Bounty
  • Entropy
  • Hoard
  • Monsterball
  • Cooperative

Game Environment

No response

Description

Setting the executable bit seems to break the binary signature, so the came can't run.

Regression Status

No response

Steps to Reproduce

Download the release
Install as per instructions
Set executable bit as per readme with chmod 755 Descent3.app/Contents/MacOS/Descent3
Try to run, either via terminal or Finder. Get “Descent3” is damaged and can’t be opened. You should move it to the Trash.

@phubbard phubbard added the bug Something isn't working label Sep 1, 2024
@tophyr
Copy link
Contributor

tophyr commented Sep 2, 2024

Same issue as #540

@Kreeblah
Copy link
Contributor

This will be fixed whenever #540 happens, but in the meantime, as a workaround, folks can apply ad-hoc codesigning to work around it. That's sufficient for ARM macOS versions to allow binaries to run and is, for example, what the Homebrew team is doing for binaries that they distribute.

So, in this case, running codesign --force --deep --preserve-metadata=entitlements,requirements,flags,runtime --sign - Descent3.app/Contents/MacOS/Descent3 should at least resolve running it from the terminal. I can't remember offhand whether the same also needs to be done to the bundle itself to run that, though I imagine that trying to do that would end up running into the same issue I did in #532.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants