2019-04-26 02:01 PM
Once downloaded, the SetupSTM32CubeMX-5.2.0.app exits immediately.
If launched with sudo (from a command shell) an error is reported:
$ sudo open -a ~/Downloads/en.STM32CubeMX_v5-2-0/SetupSTM32CubeMX-5.2.0.app/
Password:
LSOpenURLsWithRole() failed for the application /Users/dev/Downloads/en.STM32CubeMX_v5-2-0/SetupSTM32CubeMX-5.2.0.app with error -10810.
Has anyone found a way to avoid this problem? Again, this is on a supported iMac running Mojave 10.14.4 (18E226).
2019-04-27 05:31 AM
Hi. I have the exact same environment. Every release of STM32CubeMX I have to go through these steps to get the new version to work. I believe it is documented in the CubeMX doc as well.
I hope this helps
2019-04-27 08:26 AM
Thanks for the information about the uninstaller. The installer mentions it, but I had not written that down.
For others following this thread, the 5.2.0 installer is no longer a Jar, but a Darwin executable. Just run it:
$ pwd
/Users/dev/Downloads/en.STM32CubeMX_v5-2-0/SetupSTM32CubeMX-5.2.0.app/Contents/MacOs
$ sudo ./SetupSTM32CubeMX-5_2_0_macos
(...)