Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MacOS Catalina "Developer Tools" tab is hidden

How do I make the "Developer Tools" section in the System Preferences -> Security & Privacy tab visible?

I had previously had the "System Preferences" -> "Security & Privacy" -> "Privacy" -> "Developer Tools" section visible, but then I made the unwise decision of doing some housecleaning, and removed all items that were in it (Terminal, iTerm, and IntelliJ). Now the "Developer Tools" section is no longer visible, and I can't seem to find a way to reveal it again.

I seem to remember that Xcode originally had something to do with adding the "Developer Tools" section in the first place. I tried xcode-select --install, but already have up-to-date Xcode command line tools, so it does nothing. I'm hoping that I don't have to fully uninstall and re-install Xcode. Surely there must be some terminal command that will re-add "Developer Tools"?

like image 998
Douglas Patriarche Avatar asked Feb 11 '20 19:02

Douglas Patriarche


People also ask

Where is Tools menu in Safari?

Where are the Safari Web Developer Tools and how to show and dock them in a browser window. The Safari Developer Tools for the macOS browser can be enabled and displayed in Safari > Preferences > Advanced > “Show Develop menu in menu bar” for Safari version 14 and earlier.

How do I enable developer mode on Mac?

Go to Settings > Privacy & Security > Developer Mode to show the Developer Mode toggle switch.

How do I enable developer tab in Safari?

Before you can access the developer console in Safari, you first need to enable the Developer Menu. To do that, go into Safari's preferences (Safari Menu > Preferences) and select the Advanced Tab. Once that menu is enabled, you will find the developer console by clicking on Develop > Show Javascript Console.


2 Answers

Oddly, I was using the spctl tool, and discovered that you need to add at least one tool to the list in order to have the 'developer tools' visible in the system preferences -> security & privacy -> Privacy list.

By running the command:

spctl developer-mode enable-terminal

it will add terminal in a unchecked mode, and then you can add apps as needed, such as iTerm.

like image 79
Petesh Avatar answered Sep 22 '22 08:09

Petesh


Try downloading and installing the latest xcode-tools manually and not from the terminal:

  1. Go to https://developer.apple.com/
  2. Click on Account and sign in (you should already have an account, otherwise sign up)
  3. Go to https://developer.apple.com/download/more/
  4. Search for command line tools
  5. Sort by Release date and download the latest version
  6. Install it and restart your device

Hope this helps :)

like image 36
fayezk13 Avatar answered Sep 19 '22 08:09

fayezk13