Skip to main content
VBiri.1369
Associate
Nov 18, 2019 2:16 PM UTC
Solved

“STM32CubeIDE�? is damaged and can’t be opened

Hi!

I am trying to install the IDE on my macOS 10.13 (High Sierra), after completing the installation when trying to open it it gives the message: ' “STM32CubeIDE�? is damaged and can’t be opened. You should move it to the Trash. '

I tried to re-download it and re-install it several times, after deleting the previous copies, but after many attempts I get the same problem. I even tried installing the previous version but it said it was incompatible.

Any suggestions? Thanks in advance!

This topic has been closed for replies.
Julien D
Julien DBest answer
ST Employee
Nov 18, 2019 2:27 PM UTC

Answer, at least workaround, has already been shared in another topic https://community.st.com/s/question/0D50X0000BUh6nK/not-able-to-open-stm32cubeide-110-on-macos-mohave-10146?s1oid=00Db0000000YtG6&t=1574078933520

Try the following command in a Terminal:

xattr -c /Application/STM32CubeIDE.app

The dev team works on a more sustainable fix.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

19 replies

0xD
Associate
Dec 11, 2020 8:22 PM UTC

It does not seem like ST cares at all about this issue. Very disappointing.

Javier Bascones
Visitor II
Feb 4, 2021 11:06 PM UTC

The application will work with the following command:

xattr -cr /Applications/STM32CubeIDE.app

RSaty.1
Visitor II
Feb 23, 2021 11:30 AM UTC

It is still the same with 1.5.1 on BigSur as well.

Chet Ferry
Associate II
Mar 11, 2021 2:43 PM UTC

MacOs Mojave, STM32CubeIDE version 1.6. Still broken and my OS tells me I should send it to the trash. ST please devote a few resources to fixing this. As others have said, just say no to sending it to the trash and run xattr -c /Applications/STM32CubeIDE.app at the command line.

FM.1
Associate
Mar 13, 2021 12:42 PM UTC

On my macOS Mojave (10.14.6) I still fail to start the stm32cubeide 1.6.0 even after following the advice on xattr -c, xattr -cr, xattr -d etc. However I succeed to start it from the command line as follows:

/Applications/stm32cubeide.app/Contents/MacOS/stm32cubeide &

Maybe due to the file system being case sensitive? Changing the name of stm32cubeide to STM32CubeIDE (or STM32CubeIDE.app to stm32cubeide.app) does not address the issue: then it fails to find its companion shared libraries. Also modifying the Info.plist does not get you further.

The same issue with CubeMX; start it as follows:

/Applications/STMicroelectronics/STM32CubeMX.app/Contents/MacOs/STM32CubeMX &

Chet Ferry
Associate II
Jun 3, 2021 1:08 PM UTC

STM32IDE Version 1.61 MacOs BigSur 11.2.3, Still broken. Still need to run the command below so MacOs does not try to help you and move it to the trash.

xattr -c /Applications/STM32CubeIDE.app

Chet Ferry
Associate II
Nov 24, 2021 3:53 PM UTC

So... its been 6 months since I complained on this forum. macOS Big Sur version 11.6.1. STM32CubeIDE version 1.7 still broken. Does anyone from ST read these posts???? We now have a .dmg file that make the experience a bit better. So thanks ST for doing that. How much effort could it be to make your app so that MacOs security does not attempt to throw it in the trash? Anybody listening??

ZSvet.1
Associate II
Sep 11, 2023 6:55 AM UTC

Report at Ventura and clean CubeIDE v1.13.1 .... issue still present.

Still solved by: 

xattr -c /Applications/STM32CubeIDE.app

Such an ignorance :D