flecs icon indicating copy to clipboard operation
flecs copied to clipboard

MacOS arm64 release faulty

Open danshapir opened this issue 2 years ago • 7 comments

#566

On an M1 Max, can't open once installed, states the program is faulty and needs to be moved to the trash.

danshapir avatar Feb 21 '22 14:02 danshapir

@th-ch @arunim2405

Araxeus avatar Feb 21 '22 16:02 Araxeus

Experiencing the same problem when I install the release, however when I run yarn build:mac:arm64 and use the app in the dist, it runs fine.

arunim2405 avatar Feb 22 '22 03:02 arunim2405

could be related to code signing?

https://github.com/electron-userland/electron-builder/issues/5850

try running sudo xattr -r -d com.apple.quarantine "/Applications/YouTube Music.app"

Araxeus avatar Feb 22 '22 05:02 Araxeus

Thanks @Araxeus 💛

sudo xattr -r -d com.apple.quarantine "/Applications/*.app"

This worked for me after experiencing the same error

tessi avatar Feb 22 '22 10:02 tessi

Well this pretty much confirm that the problem is caused by the "macOS gatekeeper" because the app isn't signed/+notarized

(It works when built locally because the OS recognize that it was built locally and is safe)

The way I see it, either someone will have to pay 100$ (yearly...) for an apple license or all users experiencing this will need to manually fix it with the command above

(Unless they agree to waive the cost because this app is nonprofit, see https://developer.apple.com/support/membership-fee-waiver/)

Araxeus avatar Feb 22 '22 11:02 Araxeus

could be related to code signing?

electron-userland/electron-builder#5850

try running sudo xattr -r -d com.apple.quarantine "/Applications/*.app" (replacing * with the filename)

Might be wise to change the *.app to <app name>.app or YouTube Music.app just so people don't accidentally unquarantine every app they have.

kotx avatar May 25 '22 18:05 kotx

Might be wise to change the *.app to <app name>.app or YouTube Music.app just so people don't accidentally unquarantine every app they have.

thanks, fixed it

I've never used mac so for some reason I thought it would keep the version attached to its name 😅

Araxeus avatar May 25 '22 18:05 Araxeus