ArmCord / ArmCord

ArmCord is a custom client designed to enhance your Discord experience while keeping everything lightweight.
https://armcord.app
Open Software License 3.0
1.4k stars 73 forks source link

macOS ARM binaries are corrupted and won't open #560

Open muskit opened 5 months ago

muskit commented 5 months ago

The latest ARM release for macOS (3.2.6; January 28, 2024) won't open due to it being "damaged" according to the OS.

To Reproduce

  1. Download any of the ARM packages for macOS (3.2.6).
  2. Extract the .app.
  3. Attempt to run the app.

Expected behavior The app opens.

Result

Screenshot 2024-03-31 at 11 32 54 PM

Tested on a MacBook Air (M1, 2020) running macOS Ventura 13.4. Tried both the .zip and .dmg arm64 releases.

The x86_64 binary running via Rosetta 2 works perfectly fine, though the titlebar was hidden until I went to ArmCord settings and set the theme to "Native."

BluePurplePro commented 5 months ago

sudo spctl --master-disable

If it won't open, try this instead: xattr -cr /path/to/application.app

muskit commented 5 months ago

sudo spctl --master-disable

If it won't open, try this instead: xattr -cr /path/to/application.app

This worked! Looks like it could be solved by signing at build time, but that probably costs money...

BluePurplePro commented 5 months ago

"If macOS detects that software has been modified or damaged, your Mac notifies you that the app can't be opened" said by Apple Support :kekw:

Vendicated commented 5 months ago

just fyi, the app is not corrupted, modified or damaged in any way. this is just apple deciding that they don't like the app and randomly flagging it, then making it seem like it's the developer's fault

the only way to solve it is to sign, which costs 100$ a year xattr -cr /path/to/application.app should work though

muskit commented 5 months ago

So looks like Apple just made it way more security-paranoid with unsigned apps on ARM to the point of refusing to open...

thaaaanks....

Lenni-builder commented 1 month ago

just fyi, the app is not corrupted, modified or damaged in any way. this is just apple deciding that they don't like the app and randomly flagging it, then making it seem like it's the developer's fault

the only way to solve it is to sign, which costs 100$ a year xattr -cr /path/to/application.app should work though

An easier way to achieve this is opening the application folder in finder, right clicking on the app and clicking "Open". You'll get the same/a similar warning popup the first time, but it has an option to open it anyways and won't warn you any more.

SomeAspy commented 1 month ago

We will be signing the binaries properly, in the near future.

Lenni-builder commented 1 month ago

I wouldn't waste my money on that.

SomeAspy commented 1 month ago

I have it for other personal reasons and split the cost/account with a friend

fluffypony commented 2 weeks ago

I wouldn't waste my money on that.

It's not expensive, and I'd certainly be willing to donate to cover the cost (as I'm sure would many others in the community). Unfortunately, signing is going to be a necessary part of distributing apps on Windows and Mac as they become progressively more locked down in the face of increasingly crafty malware.

smartfrigde commented 2 weeks ago

ArmCord is already officially signed for Windows and available on the Microsoft Store.

If you would like to contribute towards covering the cost of an Apple Developer License, you can support the project by donating here.

fluffypony commented 2 weeks ago

If you would like to contribute towards covering the cost of an Apple Developer License, you can support the project by donating here.

done

smartfrigde commented 2 weeks ago

Signed macOS builds should be available by the next stable release :)

Huge thanks for the support

smartfrigde commented 15 hours ago

Update: image image Waiting for Apple to process my purchase.

I'm in, I'll work on getting builds signed soon