Why was I prompted to install developer tools? "c++filt" command

Why did this happen? A window popped up prompting me to install... not sure if this is safe or not.

Mac mini, macOS 11.1

Posted on Dec 19, 2020 12:47 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 10, 2021 9:34 AM

If you have no Apple developer tools (e.g. Xcode, command-line tools for Xcode) installed, and you type something in the Terminal that is interpreted as a compiiler (or script) command, and there is nothing installed to respond to it, you will be prompted to install the Command-line tools for Xcode. This is about 2GB of storage when installed, and does nothing if you are not doing development.


If you enter python3 on the command-line, there is no python3 executable installed by default with the operating system — but the Apple Command-line tools for Xcode do install a stripped down Python3 scripting environment (first time starting with Catalina). Similarly, if you typed C++ anything, although the same development tools do not install any binary by that name (e.g.cc, c++, gcc, g++, clang, clang++, swift, swiftc), it will still trigger the installation prompt — and probably should not.

Similar questions

3 replies
Question marked as Top-ranking reply

Jan 10, 2021 9:34 AM in response to BMLAGUD

If you have no Apple developer tools (e.g. Xcode, command-line tools for Xcode) installed, and you type something in the Terminal that is interpreted as a compiiler (or script) command, and there is nothing installed to respond to it, you will be prompted to install the Command-line tools for Xcode. This is about 2GB of storage when installed, and does nothing if you are not doing development.


If you enter python3 on the command-line, there is no python3 executable installed by default with the operating system — but the Apple Command-line tools for Xcode do install a stripped down Python3 scripting environment (first time starting with Catalina). Similarly, if you typed C++ anything, although the same development tools do not install any binary by that name (e.g.cc, c++, gcc, g++, clang, clang++, swift, swiftc), it will still trigger the installation prompt — and probably should not.

Jan 10, 2021 9:08 AM in response to John Galt

Tried the EtreCheck, installed pro version for $14.99 - and followed its recommendations. still being prompted. ;(


I have a mac mini 2014 with BigSur, all updates, OWC 1TB SSD. I tried to open an app and it just crashes (Home Design). So decided to allow MAC to install the software after reading the licensing agreement - seemed legit because it was Apple software and figured maybe this came up because of the BigSur install.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why was I prompted to install developer tools? "c++filt" command

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.