Skip to content

MacOS - Apple Silicon - App is Damaged #379

Description

@ybeapps

I believe it's not issue in this repo, because I ran the build and package locally and it worked great...
I think it's something with the "setup-dotnet" action
I also found this PR: actions/setup-dotnet#539

since it's not working, I think we should track it here in this repo
but the only possible solution will be a workaround unless setup-dotnet action will fix the issue (if I'm correct and the issue is from there)

BTW, it's not urgent because the Intel based version works too on Apple Silicon

Activity

  1. love-linger commented on Aug 20, 2024

    @love-linger
    Collaborator

    did you run sudo xattr -cr /Applications/SourceGit.app?

  2. love-linger commented on Aug 20, 2024

    @love-linger
    Collaborator

    The app packaged by CI haven't been signed with a valid developer certificate (I do NOT have one). You need to run sudo xattr -cr xxx/SourceGit.app to remove the com.apple.quarantine attribute that added by macOS automatically after an unsigned app downloaded from web.

  3. self-assigned this
    on Aug 20, 2024
  4. yitzchak-ben-ezra-ecoplant commented on Aug 20, 2024

    @yitzchak-ben-ezra-ecoplant

    well, the way I run it is like this

    1. download
    2. move to Applications
    3. launch
    4. see error
    5. open System Settings -> Security
    6. I see a warning that I tried to open downloaded app
    7. click Allow
    8. click Open

    I believe this is the same as running this command- it works for x64, but not working for arm64

    see the errors:

    x64:
    image

    arm64:
    image

    but when I build locally - performing the same actions from GitHub workflows of the arm64 matrix - I'm getting an Application that is working!

  5. love-linger commented on Aug 21, 2024

    @love-linger
    Collaborator

    Could you please run sudo xattr XXXX/SourceGit.app to see if there exists com.apple.quarantine attribute attached to the arm64 app?

  6. ybeapps commented on Aug 21, 2024

    @ybeapps
    ContributorAuthor

    @love-linger wow - this is weird.. it worked!
    I wonder why the message was that this app is "Damaged" and not the "verification" message

    it had com.apple.quarantine
    so I removed via your command and it worked:
    sudo xattr -cr SourceGit.app

  7. love-linger commented on Aug 21, 2024

    @love-linger
    Collaborator

    Since a few people have mentioned this issue, I will consider signing up for an Apple developer account later to solve this problem once and for all.

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

Metadata

Metadata

Assignees

Labels

need-more-infoExtra information or replay is neededos-macosThis issue only exists on macOS

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions