adamfeuer commented on pull request #1763: URL: https://github.com/apache/incubator-nuttx/pull/1763#issuecomment-691689915
@btashton On macOS 10.15 Catalina, at least my system (and it seems many others have this problem too) the macOS Gatekeeper program will not let unsigned binaries run without an exception being created. However, the command line `spctl` tool can not be used to create Gatekeeper exceptions for command line programs. See [this unanswered question](https://discussions.apple.com/thread/250751293) for another description of the problem. Here's [more on Gatekeeper.](https://blog.macsales.com/57866-how-to-work-with-and-around-gatekeeper/). You can turn off Gatekeeper completely, but that is not ideal. So to run a NuttX build using the ARM Embedded Toolkit, the only way I found that worked was to manually create the exceptions by running the build. Dialog boxes pop up telling you that the program can't be verified. You can then go into System Preferences > Security & Privacy > General and then click Allow to manually create the Gatekeeper exception. This doesn't activate it though– you need to run the build again, another dialog box pops up to ask you if you really want to run the program. You have to do this cycle for every binary that the NuttX build uses. It's quite annoying, it took me about 5 minutes of clicking dialog boxes before I could get a working build. Once you've done all this and created the exceptions, the build works fine and macOS doesn't raise any dialog boxes. If you know a way around this, I would love to know it. It sounds weird, and I know it works on the build boxes, but that method doesn't work on my system. Maybe the build boxes are running an earlier version of macOS? Or maybe they have Gatekeeper disabled? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org