Solution Found For Those With macOS High Sierra
First open this macro file inside the zipped package `en.stm32cubemx`. `./en.stm32cubemx/SetupSTM32CubeMX-4.25.0.app/Contents/MacOs/SetupSTM32CubeMX-4_25_0_macos`, this will open the installer.
It will by default try to install to `/usr/share/applications.`. This is incorrect. You need to find your application directory.
MacBook-Pro:en.stm32cubemx briankhuu$ cd ~/Applications/
MacBook-Pro:Applications briankhuu$ pwd
In my case it was `/Users/briankhuu/Applications`, you can then modify the application install directory during the install prompts.
This will then successfully install CUBEmx in macOS High Sierra.
Hope it helps
Thank you. This worked.I am on macOS Sierra
I also had this problem on Sierra. Installed JDK, restarted, and the installer would quit without opening the wizard. ferguson.samuel has the result that worked for me. The second time I opened the binary in the terminal, the wizard opened, and I was able to install.
I also saw that it worked only the 2nd time I launched it.
It did complain that it could not find /usr/share/applications.
Indeed that is a path which does not exist, and which the finder will not let me create.
Retrieving data ...