2024-01-23 09:03 AM
I downloaded CubeMX and I followed the instructions on the attached Readme.html.
I run it by ctrl-click and then select Open to mark the author as trusted, but then nothing happens.
Does anyone encountered the same problem? How did you solve it?
Solved! Go to Solution.
2024-01-24 03:02 PM
Don't panic. I'm using 6.10.0 on MacOS 14.2.1. It works.
The installer makes the OS complain that the app can't be opened because the file isn't signed, none of the permissions is set properly, and it bounces off of the installers.
Try and fire up the installer and watch it fail miserably.
Go into <Apple><System Settings...><Privacy & Security> and scroll down to the bottom where it will say that the file was blocked, and hit <open anyway>
put in your password or scan your finger or whatever you need to do.
Fire up the installer again and won't work.
Control-click does nothing useful.
Now for the useful part.
Fire up a terminal, cd into Downloads and then into the folder that holds the installer for CubeMX-6.10.0.
Now, cd into the application (yeah, this is weird) cd SetupSTM32CubeMX-6.10.0.app/Contents/MacOS/SetupSTM32CubeMX-6_10_0
start up the installer:
./SetupSTM32CubeMX-6_10_0
This will blow up. It's silently not liking the permissions on the version of java that ST bundled with the installer. So, once again,
Go into <Apple><System Settings...><Privacy & Security> and scroll down to the bottom where it will say that java was blocked, and hit <open anyway>
put in your password or scan your finger or whatever you need to do.
Then start the installer for a second time:
./SetupSTM32CubeMX-6_10_0
This should have the installer GUI pop up on your screen and it should be willing to install.
You should have a, mostly, usable version of CubeMX, but you won't be able to see any files on your system. Cube has not been given permission to mess around with files yet (ask someone who has been hacked by a trojan if this is a good idea, they'll say "hell yes!").
Go into <Apple><System Settings...><Privacy & Security><Full Disk Access> and hit + and add CubeMX from your applications folder. Suddenly you'll be able to roam around and open files.
2024-01-24 12:51 AM
Hello @ubaldot ,
First let me thank you for posting and welcome to the ST Community.
I suggest that you provide the STM32CubeMx version.
Knowing that STM32CubeMX is supported on macOS® 13 (Ventura).
Thanks.
Mahmoud.
2024-01-24 09:41 AM
Thanks! The version is 6.10.0.
2024-01-24 03:02 PM
Don't panic. I'm using 6.10.0 on MacOS 14.2.1. It works.
The installer makes the OS complain that the app can't be opened because the file isn't signed, none of the permissions is set properly, and it bounces off of the installers.
Try and fire up the installer and watch it fail miserably.
Go into <Apple><System Settings...><Privacy & Security> and scroll down to the bottom where it will say that the file was blocked, and hit <open anyway>
put in your password or scan your finger or whatever you need to do.
Fire up the installer again and won't work.
Control-click does nothing useful.
Now for the useful part.
Fire up a terminal, cd into Downloads and then into the folder that holds the installer for CubeMX-6.10.0.
Now, cd into the application (yeah, this is weird) cd SetupSTM32CubeMX-6.10.0.app/Contents/MacOS/SetupSTM32CubeMX-6_10_0
start up the installer:
./SetupSTM32CubeMX-6_10_0
This will blow up. It's silently not liking the permissions on the version of java that ST bundled with the installer. So, once again,
Go into <Apple><System Settings...><Privacy & Security> and scroll down to the bottom where it will say that java was blocked, and hit <open anyway>
put in your password or scan your finger or whatever you need to do.
Then start the installer for a second time:
./SetupSTM32CubeMX-6_10_0
This should have the installer GUI pop up on your screen and it should be willing to install.
You should have a, mostly, usable version of CubeMX, but you won't be able to see any files on your system. Cube has not been given permission to mess around with files yet (ask someone who has been hacked by a trojan if this is a good idea, they'll say "hell yes!").
Go into <Apple><System Settings...><Privacy & Security><Full Disk Access> and hit + and add CubeMX from your applications folder. Suddenly you'll be able to roam around and open files.
2024-01-26 04:59 AM
You made my day! Thanks!
2024-02-20 10:48 PM
Hello,
I got the same issue, and followed up your instruction, but I still get no luck. this is what I can show.
Please help.
Thank you
Thomas
2024-02-20 10:58 PM
Try to right click on the CubeMX setup icon/Show package content and then reach the final destination through finder. Once there, right click on the path shown below and click open in Terminal.
2024-02-21 10:05 PM
Hello,
Thank you for the help, I solved the issue too.