Skip to main content
sid90
Associate II
October 16, 2019
Question

Not able to open STM32CubeIDE 1.1.0 on macOS Mohave 10.14.6

  • October 16, 2019
  • 8 replies
  • 3746 views

The dmg package asks to instal st-stlink-server.1.2.0-3.pkg first before adding STM32CubeIDE to applications folder. Server installed successfully eventually. When I opened the application it started verifying signature/certificate and then throws an error. Picture of the error is attached here.

Any help?

This topic has been closed for replies.

8 replies

Julien D
ST Employee
October 17, 2019

Hi sid90,

We're investigating this issue noticed recently for some OSX setups (not versions dependent)

Seems that the os adds some extended attributes on the .dmg when the download is done directly on the Mac, the standard way unfortunately, whereas doing the download on another PC and copying on the Mac works fine...

Anyway, here is the workaround we found waiting for a suitable fix.

$ xattr -cr /Applications/STM32CubeIDE.app (in Terminal.app, and possibly prefixed with sudo)

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.
sid90
sid90Author
Associate II
October 17, 2019

xattr -cr /Applications/STM32CubeIDE.app worked. It showed me a couple of lines with "permission denied" but the application opened successfully.

Thanks

Julien D
ST Employee
October 18, 2019

Great ! Thanks for your feedback.

As suggested, prefix to above command with sudo to avoid permissions denied.

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.
NPali.1734
Visitor II
October 18, 2019

Thanks for the hint.

Right-click open use to fix that kind of the security issue.

According to xattr STM32CubeIDE.app, the application is in quarantine by default.

xattr -c STM32CubeIDE.app is enough.

sid90
sid90Author
Associate II
October 19, 2019

got another problem. I am unable to create new project. It keeps "checking for updated files" but never finishes.

Just FYI: I updated MacOS Catalina 10.15 (19A602).0690X00000AqZfmQAF.png

sid90
sid90Author
Associate II
October 19, 2019

Never mind. There is already a solution for this problem on the forum.

stm32cubeide-for-mac-is-stuck-on-checking-for-updated-files

Since I am very new to the software it took me 10min to find the setting they were talking about to change.

Here it is, step by step.

Preferences (of STM32CubeIDE)> Instal/Update > Available Software Sites. Uncheck Both "STM32CubeIDE Repository" and "Eclipse Repository".

sid90
sid90Author
Associate II
October 19, 2019

While investigating more on this problem, the web addresses for:

  1. STM32CubeIDE Repository - http://sw-center.st.com/stm32cubeide/updatesite1
  2. Eclipse Repository - https://download.eclipse.org/releases/2019-09

don't exist. I tried it on safari.

Can @Julien D_OEHAUDT​ or any other st employee update me on the proper web addresses for the updates, please?

Thanks

Julien D
ST Employee
November 18, 2019

Sorry for late reply .. I didn't saw you additional question before.

Those addresses are supposed to be use by STM32CubeIDE itself, the layout behind respect an internal format.

Your issue seems to be related to the network configuration, are you behind a proxy? If so, did you configured the http/https proxies in Preferences > General > Network Connections?

When network settings are correct you should be able to 'Reload' those software sites (Preferences > Available Software Sites), and check the FW updater connection (Preferences > STM32Cube > Firmware Update)

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.
JKuzm.1314
Associate
November 19, 2019

Wow. This is really poor release management.

Please make a release note that Mojave and Catalina are not supported by STM32CubeIDE.

And Mojave isn't even the latest OS, Catalina is.

Even if I do what sid90 says to --- Uncheck Both "STM32CubeIDE Repository" and "Eclipse Repository", the program just hangs forever.

RReis.2
Visitor II
August 15, 2021

I had the same problem on the current version 1.7 and by typing $ sudo xattr -cr /Applications/STM32CubeIDE.app in the terminal worked fine.