App reported as damaged and won't run
Consistent between homebrew and DMG'd .App installation. 594 has the trace on some intermittent issue with homebrew. WAIL 0.2025.03.03. Apple M3.
Perhap quarantined a la https://www.reddit.com/r/macsysadmin/comments/13vu7f3/app_is_damaged_and_cant_be_opened_error_on_ventura/
Try doing xattr -l /path/to/application.app You'll probably find com.apple.quarantine listed. If so, you can get rid of it with xattr -dr com.apple.quarantine /path/to/application.app You might want to kill the other attributes it returns, as well.
Related, we might need to sign the app (see https://github.com/machawk1/wail/issues/183 and https://github.com/machawk1/wail/issues/530)
Aside: worked on getting Apple Dev creds for my org but the reset is sent to a Mac not in my immediate possession (i.e., not the MBP M3), so will need to circle back. That auth might only permit iOS development, so perhaps it's moot.
See also: https://github.com/ianmartinez/AsciiStudio/issues/2#issuecomment-2704648257
Running the following fixed it for me: sudo xattr -dr com.apple.quarantine /Applications/ASCII\ Studio.app
% xattr -l /Applications/WAIL.app
com.apple.provenance:
com.apple.quarantine: 0181;67c9f804;Homebrew\x20Cask;72C1A7D3-F46B-4F1C-B9EC-6ED825CC5D4D
https://eclecticlight.co/2017/08/15/quarantined-more-about-the-quarantine-extended-attribute/ explains the role of the quarantine attribute. via https://github.com/orgs/Homebrew/discussions/4302
% codesign --verify --verbose /Applications/WAIL.app
/Applications/WAIL.app: invalid Info.plist (plist or signature have been modified)
In architecture: arm64
See https://gist.github.com/bpteague/750906b9a02094e7389427d308ba1002 for February 2025 instructions on signing.
https://github.com/orgs/Homebrew/discussions/3348 describes the ``--no-quarantine'' flag that can be used so that macOS does not report the app as "damaged".