Repository navigation
MacOS - Apple Silicon - App is Damaged #379
Description
Activity
did you run
sudo xattr -cr /Applications/SourceGit.app?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.appto remove thecom.apple.quarantineattribute that added by macOS automatically after an unsigned app downloaded from web.- addedneed-more-infoExtra information or replay is neededExtra information or replay is needed
on Aug 20, 2024 yitzchak-ben-ezra-ecoplant commented
on Aug 20, 2024 More actionswell, the way I run it is like this
- download
- move to Applications
- launch
- see error
- open System Settings -> Security
- I see a warning that I tried to open downloaded app
- click Allow
- click Open
I believe this is the same as running this command- it works for x64, but not working for arm64
see the errors:
but when I build locally - performing the same actions from GitHub workflows of the arm64 matrix - I'm getting an Application that is working!
Could you please run
sudo xattr XXXX/SourceGit.appto see if there existscom.apple.quarantineattribute attached to the arm64 app?@love-linger wow - this is weird.. it worked!
I wonder why the message was that this app is "Damaged" and not the "verification" messageit had
com.apple.quarantine
so I removed via your command and it worked:
sudo xattr -cr SourceGit.appSince 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.
- addedos-macosThis issue only exists on macOSThis issue only exists on macOS
on Aug 21, 2024


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