My mac is blocking all dylib used by STM32CubeIde.

huangapple go评论54阅读模式
英文:

My mac is blocking all dylib used by STM32CubeIde

问题

当我尝试在STM32CubeIde上进行调试时,我的Mac会阻止它使用的dylib,我进入偏好设置和安全性,允许它运行,但有很多dylib,调试模式失败。

My mac is blocking all dylib used by STM32CubeIde.

My mac is blocking all dylib used by STM32CubeIde.

My mac is blocking all dylib used by STM32CubeIde.

英文:

When I try to Debug on STM32CubeIde my mac blocks the dylib it use, I go to preferences and security and allow it to run, but there are so many dylib and the Debug mode fails

My mac is blocking all dylib used by STM32CubeIde.

My mac is blocking all dylib used by STM32CubeIde.

My mac is blocking all dylib used by STM32CubeIde.

答案1

得分: 0

已解决该问题。
当应用程序阻止 dylib 时,您可以尝试以下操作:

sudo spctl --master-disable

在终端上执行。
然后转到设置->隐私,然后单击允许从任何网站下载的应用程序。
然后重新启动 STM32CubeIDE,它可以在调试模式下工作。

如果重新启用 Gatekeeper 后,STM32CubeIDE 是否会继续工作?
回答这个问题:一旦您关闭 IDE,Gatekeeper 会自动重新启用。
如果不是,命令是

sudo spctl --master-enable
英文:

Solved the problem.
When an Application blocks dylib you can try this:

sudo spctl --master-disable 

on Terminal.
Then go to settings->Privacy and click on allow apps downloaded from any site.
Then restart the STM32CubeIDE and it works on Debug mode.

Does STM32CubeIDE keep working if you reenable Gatekeeper afterwards?
Answering this question: Once you close the IDE, the Gatekeeper reenables automatically.
If not, the command is

sudo spctl --master-enable

huangapple
  • 本文由 发表于 2023年2月14日 07:53:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/75442239.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定