2021-11-21 07:15 PM
2021-11-21 11:50 PM
Hi @Community member ,
Can you please send us a screenshot of your issue ? (i.e: popup errors, steps used to install, CubeMX version...)
Also, can you do this command line in a terminal:
$sudo xattr -cr ~/SetupSTM32CubeMX-VERSION
Were 'SetupSTM32CubeMX-VERSION' is the folder that was extracted after you download CubeMX from your macOS browser.
Finally you can refer to the User Manual UM1718.pdf to have more info on how to install and run CubeMX in macOS.
Regards,
Aymen.
2021-11-21 11:50 PM
Hi @Community member ,
Can you please send us a screenshot of your issue ? (i.e: popup errors, steps used to install, CubeMX version...)
Also, can you do this command line in a terminal:
$sudo xattr -cr ~/SetupSTM32CubeMX-VERSION
Were 'SetupSTM32CubeMX-VERSION' is the folder that was extracted after you download CubeMX from your macOS browser.
Finally you can refer to the User Manual UM1718.pdf to have more info on how to install and run CubeMX in macOS.
Regards,
Aymen.
2021-11-22 06:21 PM
The file was downloaded in Downloads directory and and was automatically unzipped inside the en directory. After setting the files attributes using sudo xattr I was able to install CubeMX.
Thanks Aymen and Most Appreciated!
2021-12-22 12:43 PM
I have the same problem as @Community member. However the solution does not work for me. When I run the file attributes command and then execute SetupSTM32CubeMX-6.4.0.app, I get a error message “java�? cannot be opened because the developer cannot be verified.. @Aymen CHAKROUN How do I fix this?
2021-12-22 11:35 PM
Hi @Clark Sann ,
I guess that you applied the file attributes only for .app folder.
Now, you have two choices:
1- Redo the file attributes for the folder 'jre'
or
2- Redo the file attributes for the parent folder (that contain both .app and jre folder) => Recommended.
Let me know you feedback,
Regards,
Aymen.
2021-12-23 01:03 PM
@Aymen CHAKROUN I am still having problems installing CubeMX on MacOS 12.1:
xattr: [Errno 13] Permission denied: '/Users/clark/en.stm32cubemx-mac_v6.4.0//jre/Contents/Home/legal/java.management.rmi/LICENSE'
xattr: [Errno 13] Permission denied: '/Users/clark/en.stm32cubemx-mac_v6.4.0//jre/Contents/Home/legal/java.management.rmi/ADDITIONAL_LICENSE_INFO'
xattr: [Errno 13] Permission denied: '/Users/clark/en.stm32cubemx-mac_v6.4.0//jre/Contents/Home/legal/java.management.rmi/ASSEMBLY_EXCEPTION'
5. I then proceeded to install. Install appeared to go well. Eventually, after a long delay, there was a CubeMX icon in my doc.
6. However it does not work properly. When I click on it, no GUI appears. The app dies before a GUI is presented.
7. Also, a couple days ago I installed the latest version of STM32CubeIDE. Now I notice that when I click on a .ioc file, CubeIDE dies.
Hope you can help with these problems. At this point I can't run CubeMX on my. laptop. I was successfully able to install both CubeIDE and CubeMX on my desktop. Both are running MacOS 12.1.
2021-12-24 08:33 PM
@Aymen CHAKROUN
I finally got CubeMX installed on my laptop. Thank you for your assistance.
First of all, I had to use the uninstaller to remove the corrupted version of CubeMX that was installed on my previous attempt. After I that, I could then view and modify .ioc files in CubeIDE!
Then I later tried several unsuccessful attempts to change the folder attributes and get CubeMX to install. At some point I put the CubeMX .zip file in my user root folder and extracted from within that folder. I still got a large number of permission denied messages. But looking at them I determined that none of them appeared to be significant. When I then ran the installer .app file, CubeMX then installed. Now both CubeIDE and CubeMX can edit .ioc files!
I am happy that I got this install to work on all my computers but I hope the CubeMX team can make it easier. I never have problems installing CubeIDE and I don't recall having problems with Monitor or Monitor Power. But for the last several versions, installing CubeMX has been VERY TROUBLESOME.
I would be happy to volunteer as a beta tester for any future versions of CubeMX. Perhaps this would help you better test CubeMX, especially the installer. Let me know if you would like me to help.
Clark Sann
2021-12-27 12:17 AM
Thanks a lot @Clark Sann for your update. Good news to know that you are now able to run both CubeMX and CubeIDE.
Regards,
Aymen.