GithubHelp home page GithubHelp logo

Comments (22)

Diadriu avatar Diadriu commented on August 23, 2024 5

Thanks for the clarification. Hope there is a way for you to disable gatekeeper for this application on the newest macos.

from ryusak.

TomKowalczuk avatar TomKowalczuk commented on August 23, 2024 5

Make sure to put
xattr -cr /Applications/RyuSAK.app
(if that's where you put it)

from ryusak.

TomKowalczuk avatar TomKowalczuk commented on August 23, 2024 4

Andrew Tsai found a way to fix it
just type this in the terminal
xattr -cr "RyuSAK.app location"

from ryusak.

BigEmperor26 avatar BigEmperor26 commented on August 23, 2024 2

xattr -cr /Applications/RyuSAK.app

after you do that right click and then open the app

from ryusak.

ningvw520 avatar ningvw520 commented on August 23, 2024 1

encounter same error, showed the app was damaged instead of unsigned. mac os 13.0.1, m1 max.

from ryusak.

M0REKZ avatar M0REKZ commented on August 23, 2024 1

yeah, this command would allow you to run the app, but wont really fix it (write xattr -h on terminal and you will see what it does)

from ryusak.

Metal-Snake avatar Metal-Snake commented on August 23, 2024 1

Andrew Tsai found a way to fix it
just type this in the terminal
xattr -cr "RyuSAK.app location"

the correct command is
xattr -cr "RyuSAK.app"

from ryusak.

Diadriu avatar Diadriu commented on August 23, 2024

It's not a RyuSAK issue, the application is simply not signed.
You need to disable gatekeeper, I posted a fix.

from ryusak.

nonoche2 avatar nonoche2 commented on August 23, 2024

that's the thing, unsigned apps don't give this "damaged" error but an "unsigned" error (which allows to launch them either by right-clicking their icon and selecting "open" the first time, or allowing their launch the first time in the system settings). Disabling Gatekeeper altogether is neither recommanded nor easily done on the latest version of macOS.

The "damaged" error means that the app has been tampered with, that's a different issue

from ryusak.

Diadriu avatar Diadriu commented on August 23, 2024

that's

I believe it's a gatekeeper error, I posted a fix how to disable gatekeeper for the app.
Edit: Misread your comment, for monterey it was really easy - did you try the command lines?

from ryusak.

nonoche2 avatar nonoche2 commented on August 23, 2024

yes, you are correct, this error is reported by GateKeeper, however, this isn't the usual alert Gatekeeper throws for merely unsigned apps, and one does not need to disable gatekeeper altogether to launch them. When a regularly unsigned app is blocked by Gatekeeper, this is the alert it throws :
package01

In that case, you only have to allow the application once in system settings, or right click the app and select "open", then you get this alert once :
package02

When we get the "damaged" alert, it means gatekeeper thinks the binary has been tampered with, and the only way to launch it is to disable gatekeeper altogether. This isn't necessary to launch an unsigned app and I believe there's something wrong in the app complilation setting, I'll look into it and will let you know

from ryusak.

nonoche2 avatar nonoche2 commented on August 23, 2024

Did you get the application notarized with Apple? It is now mandatory, but you only need a free Apple developer account to do so

https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution

from ryusak.

nonoche2 avatar nonoche2 commented on August 23, 2024

I'm not sure I have been clear enough yet ^^ There shouldn't be any need to disable gatekeeper to launch an unsigned application. Anyone can perfectly launch an unsigned application with gatekeeper enabled. But we can't do so with Ryusak because it's reported as hacked by gatekeeper, not just unsigned. There's something wrong with the way you built the app

from ryusak.

therobertbula avatar therobertbula commented on August 23, 2024

I'm still getting the broken message, and the command doesn't do anything
Do I have to have the app somewhere in specific?

from ryusak.

Diadriu avatar Diadriu commented on August 23, 2024

You can try this line first
sudo spctl --master-disable

Then enter this line (change path to app if needed):
xattr -cr /Applications/RyuSAK.app

from ryusak.

Ecks1337 avatar Ecks1337 commented on August 23, 2024

(By the way I believe any Mac app is a "portable" app so you shouldn't need two different versions)

@nonoche2 The portable version is different because it stores all its files within its folder rather than in the applications data directory

from ryusak.

nonoche2 avatar nonoche2 commented on August 23, 2024

oh I see, thanks for the clarification. I was under the impression that "portable" meant "can be used on any computer from a USB key without an installer", but if that implies keeping the settings in one place it makes sense. I can't say I have seen this kind of setup for any other app on macOS though.

from ryusak.

Ecks1337 avatar Ecks1337 commented on August 23, 2024

After looking into it a bit, it seems that I'd need to use xcode in order to sign and notarise the app. I don't own a Mac so i see no way to resolve this other than to accept #34 as the official solution. If you have any ideas please let me know.

from ryusak.

nonoche2 avatar nonoche2 commented on August 23, 2024

could this help?

https://github.com/zkmkarlsruhe/mac-dist-helper

https://github.com/zkmkarlsruhe/mac-dist-helper-examples

from ryusak.

xycainoff avatar xycainoff commented on August 23, 2024

i get same error.
“RyuSAK” is damaged and can’t be opened. You should move it to the Bin.

from ryusak.

OrigamingWasTaken avatar OrigamingWasTaken commented on August 23, 2024

Hello, I tried doing xattr -cr /Applications/RyuSAK.app, however, it says that the -r option is invalid.

❯ xattr -cr /Applications/RyuSAK.app


option -r not recognized

usage: xattr [-slz] file [file ...]
       xattr -p [-slz] attr_name file [file ...]
       xattr -w [-sz] attr_name attr_value file [file ...]
       xattr -d [-s] attr_name file [file ...]
       xattr -c [-s] file [file ...]

The first form lists the names of all xattrs on the given file(s).
The second form (-p) prints the value of the xattr attr_name.
The third form (-w) sets the value of the xattr attr_name to attr_value.
The fourth form (-d) deletes the xattr attr_name.
The fifth form (-c) deletes (clears) all xattrs.

options:
  -h: print this help
  -s: act on symbolic links themselves rather than their targets
  -l: print long format (attr_name: attr_value)
  -z: compress or decompress (if compressed) attribute value in zip format```

from ryusak.

OrigamingWasTaken avatar OrigamingWasTaken commented on August 23, 2024

Sorry for bothering! For anyone with the same problem, do: pip uninstall xattr
The original xattr installed with pip was overwriting Apple's implementation of it. So the -r option was gone.

from ryusak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.