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

[Fix] “is damaged and can’t be opened. You should move it to the Trash” (Should be in README) #34

Open
Diadriu opened this issue Dec 4, 2022 · 6 comments

Comments

@Diadriu
Copy link

Diadriu commented Dec 4, 2022

Issue
The application is unsigned for Mac, and many do not know that you need to disable gatekeeper in order to not get a damaged DMG error.

Solution
Disable gatekeeper for the application:
Open terminal and enter this line:
sudo spctl --master-disable

Also enter this line:
xattr -cr /Applications/RyuSAK.app

Suggestion
Mention this in the releases page

@Diadriu Diadriu changed the title Unsigned DMG “is damaged and can’t be opened. You should move it to the Trash” Error on Mac [Fix] “is damaged and can’t be opened. You should move it to the Trash” (Should be in README) Dec 4, 2022
@mthulhu
Copy link

mthulhu commented Jan 10, 2023

Also a good idea to turn it back on after.

sudo spctl --master-enable

@Brawl345
Copy link

Just right click on the app and click open, no need to disable Gatekeeper.

@Wrestor
Copy link

Wrestor commented May 10, 2023

You don't need to turn off gatekeeper(spctl), just run this before opening it: xattr -rc /Applications/RyuSAK.app && codesign --force --deep --sign - /Applications/RyuSAK.app
Then it launches without problem

@ffashion
Copy link

You don't need to turn off gatekeeper(spctl), just run this before opening it: xattr -rc /Applications/RyuSAK.app && codesign --force --deep --sign - /Applications/RyuSAK.app Then it launches without problem

it's useful

@CoFfEe0LaVa
Copy link

Okay, so I am currently developing a Java app, and I want it to be able to be opened by users without the need for xattr -rc.

@jamesg1
Copy link

jamesg1 commented Oct 25, 2023

You don't need to turn off gatekeeper(spctl), just run this before opening it: xattr -rc /Applications/RyuSAK.app && codesign --force --deep --sign - /Applications/RyuSAK.app Then it launches without problem

Thanks worked great

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

7 participants