min icon indicating copy to clipboard operation
min copied to clipboard

Apple Silicon version doesn't work

Open iynere opened this issue 3 years ago • 20 comments

  • 1.19.2
  • macOS 11.3.1

Expected Behavior

I can open Min

Actual Behavior

"Min is damaged, you should move it to the trash"

To Reproduce

  1. On an M1 mac, download the Apple Silicon version of Min
  2. Unzip it and try to open it

iynere avatar Jun 03 '21 02:06 iynere

Encountered this as well. Going to see if the intel version works.

intel version works fine

balupton avatar Jun 03 '21 12:06 balupton

Encountered this as well. Going to see if the intel version works.

like "Let them eat cake" This issue is only not work unziped "Min-v1.19.2-darwin-arm64.zip".

Chamiu avatar Jun 04 '21 03:06 Chamiu

In the past, that has gone away if you right click > "open" a second time, and then there should be an "open anyway" option. Does that work for any of you?

PalmerAL avatar Jun 04 '21 17:06 PalmerAL

Thanks suggest. I try this.

In the past, that has gone away if you right click > "open" a second time, and then there should be an "open anyway" option. Does that work for any of you?

But macOS Big Sur.4.0 say "Min is damaged, you should move it to the trash".

And I try unzip to use The Unarchiver 4.4.3, But this issue didn't change.

I set PreferencePane > Security & Privacy > General > Allow apps downloaded from: as "App Store and identified developers".

Safely open apps on your Mac - Apple Support

I don't think the cause is Gatekeeper. Perhaps compression as failing. please publish in dmg file.

Chamiu avatar Jun 05 '21 02:06 Chamiu

I don't have an Apple developer account (previously because of cost, although I can probably afford it now), so you would need to follow the instructions under "If you want to open an app that hasn’t been notarized or is from an unidentified developer". Does that work?

I'll try to borrow an m1 mac in a few days and see if I can figure this out.

PalmerAL avatar Jun 05 '21 02:06 PalmerAL

I don't have an Apple developer account (previously because of cost, although I can probably afford it now),

Ok, no problem.

"If you want to open an app that hasn’t been notarized or is from an unidentified developer". Does that work?

I hope to open dialog. macos-big-sur-alert-unverified-developer

But not work.

Chamiu avatar Jun 05 '21 02:06 Chamiu

I tried this out on an m1 machine, and it is indeed broken. This worked before, I'm not sure what Apple changed...

Anyway, there's another Electron app here with the same issue: https://github.com/vercel/hyper/issues/5115, and the suggested workaround is do to this:

xattr -rd /path/to/Min

which bypasses Gatekeeper, and allows it to open for me.

PalmerAL avatar Jun 06 '21 04:06 PalmerAL

Thanks suggest. I tried the next step.

Environment

  • MacBook Air Late 2020(Apple M1)
  • macOS Big Sur.4.0.
  • Mem 16GB
  • Strage 512GB
  1. download Min-v1.19.2-darwin-arm64.zip from https://github.com/minbrowser/min/releases
  2. kick Terminal.app.
  3. $ xattr -rd com.apple.quarantine ~/Downloads/Min-v1.19.2-darwin-arm64.zip
  4. open ~/Downloads folder window on Finder.
  5. double click Min-v1.19.2-darwin-arm64.zip
  6. double click Min.app

Yea! HELLO, Min on Apple M1.

Min 1 19 2÷2

I think it good luck charm in Readme.md. Perhaps, This issue is Apple's BUG.

Chamiu avatar Jun 06 '21 08:06 Chamiu

@Chamiu works for me as well!

iynere avatar Jun 06 '21 18:06 iynere

  • download Min-v1.19.2-darwin-arm64.zip from https://github.com/minbrowser/min/releases
  • kick Terminal.app.
  • $ xattr -rd com.apple.quarantine ~/Downloads/Min-v1.19.2-darwin-arm64.zip)
  • open ~/Downloads folder window on Finder.
  • double click Min-v1.19.2-darwin-arm64.zip
  • double click Min.app

That also works for release 1.20.0-beta-darwin-arm64. Thanks 👍

hmaesta avatar Jun 18 '21 12:06 hmaesta

Thanks suggest. I tried the next step.

Environment

* MacBook Air Late 2020(Apple M1)

* macOS Big Sur.4.0.

* Mem 16GB

* Strage 512GB


1. download Min-v1.19.2-darwin-arm64.zip from  https://github.com/minbrowser/min/releases

2. kick Terminal.app.

3. $ xattr -rd com.apple.quarantine ~/Downloads/Min-v1.19.2-darwin-arm64.zip)

4. open ~/Downloads folder window on Finder.

5. double click Min-v1.19.2-darwin-arm64.zip

6. double click Min.app

Yea! HELLO, Min on Apple M1.

Min 1 19 2÷2

I think it good luck charm in Readme.md. Perhaps, This issue is Apple's BUG.

Next steps work well to:

  1. Download and Install Min
  2. xattr -rd com.apple.quarantine /Applications/Min.app
  3. Launch Min

afanasyev avatar Jul 18 '21 06:07 afanasyev

image

Getting this on a mac mini m1

The idea behind this project is excellent btw, I'm hoping for someone to nail this concept.

cesarvarela avatar Nov 29 '21 23:11 cesarvarela

@cesarvarela Did you try the steps in the comments above?

PalmerAL avatar Nov 30 '21 03:11 PalmerAL

There's an interesting theory about this here: https://github.com/archimatetool/archi/issues/555#issuecomment-751228243

If anyone has time and is willing, could you try the following (note: I edited the instructions after originally posting)?

  1. Clone Min
  2. npm install && npm run buildMacArm
  3. You'll get a binary in /dist/app/Min-darwin-arm64. Try opening that and see if you get the "Min is damaged" message.
  4. If you do, run codesign --display -vv <path to that binary> and keep a copy of the output.
  5. Then run codesign --remove-signature <path to binary> and try launching it again.
  6. See if you still get the "Min is damaged" message.
  7. If you do, run codesign -s - -a arm64 -f --deep <path to binary> and try launching again.
  8. Let me know what happens.

PalmerAL avatar Jan 21 '22 04:01 PalmerAL

Hey @PalmerAL, when downloading the binary from the min website (and selecting the apple silicon option), I get the "Min is damaged" error.

Interestingly, when building it myself with step 2 from above, the binary does not give me the same error... Let me know if I can help out here in any way.

mckennajones avatar Jan 22 '22 08:01 mckennajones

There's an interesting theory about this here: archimatetool/archi#555 (comment)

If anyone has time and is willing, could you try the following (note: I edited the instructions after originally posting)?

  1. Clone Min
  2. npm install && npm run buildMacArm
  3. You'll get a binary in /dist/app/Min-darwin-arm64. Try opening that and see if you get the "Min is damaged" message.
  4. If you do, run codesign --display -vv <path to that binary> and keep a copy of the output.
  5. Then run codesign --remove-signature <path to binary> and try launching it again.
  6. See if you still get the "Min is damaged" message.
  7. If you do, run codesign -s - -a arm64 -f --deep <path to binary> and try launching again.
  8. Let me know what happens.
  1. Done
  2. I was able to build (step 2) after adding "--openssl_fips=X"
  3. Launches normally
  4. Output:

Executable=/Users/mat/Downloads/min/dist/app/Min-darwin-arm64/Min.app/Contents/MacOS/Min Identifier=Electron Format=app bundle with Mach-O thin (arm64) CodeDirectory v=20400 size=1825 flags=0x20002(adhoc,linker-signed) hashes=54+0 location=embedded Signature=adhoc Info.plist=not bound TeamIdentifier=not set Sealed Resources=none Internal requirements=none

  1. Different error: "The application "Min.app" can't be opened"
  2. Resolves the error and launches
  3. Done.

mcoolidge avatar Jan 25 '22 13:01 mcoolidge

Thanks for testing. I've released a new build with the change from step 7, which I think should fix this: https://github.com/minbrowser/min/releases/tag/v1.23.0. If anyone is still having issues with that, please let me know.

PalmerAL avatar Jan 26 '22 22:01 PalmerAL

image-20220326010357633 I got an error on v1.23.0 arm.

yicheng-He avatar Mar 25 '22 17:03 yicheng-He

Screenshot 2022-07-15 at 11 54 17

I'm not able to run it as well, this is the error message that I got ⬆️

eliazonta avatar Jul 15 '22 09:07 eliazonta

@eliazonta Can you try this:

  • Click "show in Finder"
  • Right-click > "open"
  • If there's an "open anyway" option, click that
  • If there's not, close the dialog and right-click > "open" a second time
  • See if there's an "open anyway" option now

Does that work?

PalmerAL avatar Jul 17 '22 17:07 PalmerAL