kemai icon indicating copy to clipboard operation
kemai copied to clipboard

Apple DMG Images broken

Open saschafoerster opened this issue 1 year ago • 12 comments

I tried to install the two dmg packages with MacOS Sonoma. Both seem to be broken, at least I can't start and open Kemai.

saschafoerster avatar May 23 '24 09:05 saschafoerster

@saschafoerster Are you using Intel mac or ARM+Rosetta ?

AlexandrePTJ avatar Jun 03 '24 19:06 AlexandrePTJ

@AlexandrePTJ ARM/Rosetta (M1)

saschafoerster avatar Jun 03 '24 21:06 saschafoerster

Using M1 here. And here is how it looks:

Screenshot 2024-06-05 at 14 41 05

fulldecent avatar Jun 05 '24 18:06 fulldecent

I can also recreate on my macOS 14.5. Also using M1/Rosetta (arm).

However, I found that the 0.10.0 release is working https://github.com/AlexandrePTJ/kemai/releases/tag/0.10.0

amanpatel avatar Aug 13 '24 17:08 amanpatel

Same Problem here on M3 Seqouia. Kemai.app is damaged. Both with brew install and with installer.

janweigel avatar Jan 06 '25 09:01 janweigel

Sorry everyone for being so long.

Unfortunately, I don’t own a Mac, and the second-hand market is still too expensive, even for an M1. I’ll try to find a C++ developer with a Mac to debug this issue. Thank you for your patience and feedback.

AlexandrePTJ avatar Jan 06 '25 20:01 AlexandrePTJ

FYI: I could get it fixed by installing version 0.10.0 and then copying the following package contents from the version 0.11.1 app to the installed version 0.10.0 app contents:

  • Frameworks
  • MacOS
  • PlugIns

Then the app started successfully with version 0.11.1 So I guess the problem is related to the Info.plist file or maybe to some file in the Resources folder. I hope that helps.

janweigel avatar Jan 07 '25 13:01 janweigel

@AlexandrePTJ Would you so kind and maybe fix this? Would enjoy using Kemai.

saschafoerster avatar Jan 18 '25 23:01 saschafoerster

Right now, V0.10.0 also stop working:

Image

Which means that the app could not verified to be free of virus and other privacy-issued parts.

fungus75 avatar Mar 16 '25 08:03 fungus75

sudo xattr -d com.apple.quarantine /path/to/Kemai

working fine on M1, Sequoia 15.3.2

Stooovie avatar Mar 25 '25 17:03 Stooovie

I can confirm that it works that way:

  • Install 0.10.0 from GitHub, but do not start
  • open Terminal
  • sudo xattr -d com.apple.quarantine /Applications/Kemai.app
  • now you could start kemai, but it marks that a newer version is available
  • download 0.11.1 from GitHub
  • go to download-folder with finder
  • right click on .dmg-image and select "show content"
  • copy content directly to download
  • go back to Terminal
  • cd /Applications/Kemai.app/Contents
  • rm -rf Frameworks.old MacOS.old PlugIns.old
  • mv ~/Downloads/Contents/Frameworks ~/Downloads/Contents/MacOS ~/Downloads/Contents/Plugins .

Now anything should work with current version.

fungus75 avatar Mar 30 '25 18:03 fungus75

Thanks you @fungus75 for this detailled workaround. I will be able to work on fixing the generated dmg image to avoid almost all of this steps.

Also please check https://github.com/AlexandrePTJ/kemai/discussions/134

AlexandrePTJ avatar Apr 11 '25 21:04 AlexandrePTJ