Skip to content

Mac install using brew is broken #3991

Open

Description

@hamslabs

After installing using brew, when I run the app I get a Message that says '“MarkText.app” is damaged and can’t be opened. You should move it to the Trash.'

I'm running MacOS 15.5 and is was a recent install.

Activity

  1. morungos commented on Jul 6, 2025

    @morungos

    Same for the release latest binary on a Mac.

    Probably a duplicate of #2983, and the resolution there did appear to work for me.

  2. faulander commented on Jul 7, 2025

    @faulander

    strangely, i did install it on my mac yesterday without any problems using brew.
    Did you update the casks first?

  3. hamslabs commented on Jul 7, 2025

    @hamslabs
    Author

    The workaround mentioned in #2983 worked for me.

    It's not clear to me if I should close this issue.

  4. point-source commented on Aug 29, 2025

    @point-source

    I am currently looking for a markdown editor to use daily and while this one made the top of my list, this issue has disqualified it.

    Just leaving feedback here that the friction involved in working around code-signing can be significant to some users, especially given that code-signing is absolutely possible for an application like this. My two cents is that I would consider this to be a true issue that should remain open until it is solved.

    The purpose of brew is to act as a package manager and streamline installation via cli. This issue means that brew no longer functions as expected for an app like this. It does not install a usable copy of the application. That seems broken.

  5. trey-a-12 commented on Sep 6, 2025

    @trey-a-12

    For users still wanting to try out Marktext, I just installed it via Homebrew and faced the same issue, but yes – the manual bypass does work: You have to open the Terminal (Applications → Utilities), cd into the Applications directory, and run the "xattr -rc" command to remove the macOS Gatekeeper quarantine. Assuming you installed Marktext into your Applications folder (as is standard for macOS programs), you'd run:

    cd /Applications
    xattr -rc Marktext.app
    

    This is the universal bypass for "broken" apps on macOS. Sadly though, isn't a FIX for the actual root issue though, that being the Ad-hoc signature (see Apparency's breakdown of various macOS application signatures here).

    Image
  6. kopach commented on Oct 13, 2025

    @kopach

    There is another option, install with --no-quarantine flag like so

    brew install --cask --no-quarantine mark-text

    works for me

  7. added
    🐛 bug
    🐞 pri/critical
    🍏 platform/macOS
    on May 13, 2026
  8. potmo commented on May 14, 2026

    @potmo

    I get Error: Calling the "--[no-]quarantine" switch is disabled! There is no replacement. when calling brew install --cask --no-quarantine mark-text

  9. usr42 commented on Jun 6, 2026

    @usr42
    Sponsor

    See also the maintainer's comment #2983 (comment)

    This requires registration of an apple developer account before code sign, which costs about $99/year, and we do not plan to sign marktext now, one reason is that marktext is not stable enough, and the other is that we do not have a stable financial donations to pay $99/year.

    Donating for the project might help.

    @Jocs Would a combined donation of 99 $ help? That would at least cover the costs for one year of the developer account?

    I'm willing to donate $2 per month for the signed package but that will only cover $24 per year. Still $75 missing.
    Who else would be willing to donate?

  10. Jocs commented on Jun 7, 2026

    @Jocs
    Member

    @usr42 Thanks for the great suggestion and your support! 🙏

    If enough donations come in to cover the $99/year Apple Developer account, I will consider adding code signing in one of the next releases.

    You can sponsor the project here: GitHub Sponsors.

    Thanks everyone for helping make MarkText better!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    🍏 platform/macOS🐛 bug🐞 pri/critical

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions