Use this tag for Xcode Command Line Tools. Which are tools for software developers that run on the command line, in the Terminal application.You can see a complete list of Xcode Command Line Tools by listing the contents of the directory /Library/Developer/CommandLineTools/usr/bin/
Questions tagged [xcode-command-line-tools]
106 questions
4
votes
1 answer
GPerfTools not showing function names
I am new to profiling and am trying to create a flat profile for my c++ project. Looks like gperftools is popular. I installed gperftools using Homebrew and followed this simple tutorial
When I try creating a flat profile, using pprof --text…

whitepatch
- 41
- 2
4
votes
0 answers
M1 Mac OSx Bigsur: have to re-install Command Line Tools after every system update
On my new macbook pro M1 with Bigsur I have to re-install Command Line Tools every time I have installed a system update. When Launching the terminal and running brew doctor home-brew complains that neither git nor Command Line Tools are…

Niels Kristian
- 8,661
- 11
- 59
- 117
4
votes
1 answer
macOS Big Sur python3 cannot import numpy due to polyfit error
update from Jan 2021: I performed a clean install of Big Sur in Jan 2021, and upgrade pip to latest version using python3 -m pip install --upgrade pip --user, and installed numpy without issues, and without the error message below.
original question…

xdavidliu
- 2,411
- 14
- 33
4
votes
0 answers
Cannot compile C++ files after CommandLineTools installed
Backstory: I started using my terminal for a lot of my school projects. I recently got familiar with it and wanted to "upgrade" by installing iTerm2 and homebrew; but before I installed the two, I was able to compile my C++ homework files "g++…

Leo
- 51
- 4
4
votes
0 answers
How do I completely uninstall Xcode command line tools?
How do I uninstall the entire command line tools package from Xcode 8? Deleting /Library/Developer/CommandLineTools is insufficient, because the package installs header files to /usr/include and /System/Library/Frameworks. Unfortunately, /System and…

Jake Petroules
- 23,472
- 35
- 144
- 225
3
votes
3 answers
Could not get the simulator list from Xcode. Please open Xcode and try running project directly from there to resolve the remaining issues
i updated os 12.3 to 13.1, xcode 13.1 to 14.1 and installed commandline tools, react native app running through xcode but not running with command line, getting below error
2022-12-13 16:36:47.584 xcodebuild[3616:20381] Writing error result…

Joshi G
- 453
- 9
- 16
3
votes
1 answer
ld: unsupported tapi file type '!tapi-tbd' in YAML file '<...>' for architecture x86_64
I'm getting the following error when I try to build one of my projects:
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64
I've looked at other…

user3076399
- 121
- 3
- 13
3
votes
1 answer
Xcode: Command not found
I have installed Xcode on my MacBook.
I checked that I have the XCode command line tool also installed as shown below:
I need to use Xcode command to install some dependencies, so I opened my terminal and run the command:
But I get Xcode: Command…

Leem.fin
- 40,781
- 83
- 202
- 354
3
votes
1 answer
How to prevent OSX gcc to always search /usr/local/include?
On my OSX it turns out /usr/local/include is always included as '-I', which caused a lot of headache for me:
hidden$ g++ -v -x c++ -isystem . -c /dev/null -o /dev/null
Apple clang version 11.0.0 (clang-1100.0.33.16)
Target:…

Kan Li
- 8,557
- 8
- 53
- 93
3
votes
1 answer
Cannot install Xcode Command Line tools over a corporate proxy
I'm having trouble running the following command in the Terminal:
xcode-select --install
After agreeing to the T&Cs, I get the following error pop up:
Can't download the software because of a network problem.
As I am behind a corporate proxy for…

shrewdbeans
- 11,971
- 23
- 69
- 115
3
votes
0 answers
How to downgrade Xcode command line tools without Apple dev account or Xcode IDE?
I have Xcode command line tools 8.3 and I want to downgrade to version 8.2 without installing the IDE. Is there any way I can do this?
Using macOS Sierra 10.12.4. I don't have an Apple developer license.

tstrass
- 86
- 8
3
votes
1 answer
Duplicate iOS application target, rename it, add new icon and build app from command line (without using Xcode GUI)
I would like to automate the process of adding a new target to my iOS application and write a script which would speed up the whole process. Is there any way to duplicate Xcode iOS application target, then rename it, add new icon specific for this…

fragon
- 3,391
- 10
- 39
- 76
2
votes
1 answer
The "Python" command requires the command line developer tools loop with Xcode 13.4.1 on macOS 12.5
My setup is 2021 MBP with M1 Pro processor, macOS 12.5 and Xcode 13.4.1. I'm building an app using NativeScript and I can't release the app because every time I go to product > archive Xcode says "Python command requires the command line tools."…

Andrew Mykhalchuk
- 354
- 3
- 10
2
votes
1 answer
Installing TinyGo results in Command Line Tools (CLT) SDK folder names mismatch on macOS
When following the TinyGo Quick Install Guide for macOS I'm running into the following error: Error: The contents of the SDKs in your Command Line Tools (CLT) installation do not match the SDK folder names.
% brew install tinygo
==> Installing…

Grokify
- 15,092
- 6
- 60
- 81
2
votes
1 answer
Has anyone managed to filter logs in the macos `log stream` command using pid?
I've been wrecking my brain trying to get the log stream command on macos to work with a passed in pid.
I have an app FooBar with a pid 12345.
The command:
log stream --debug --info --process FooBar
Works perfectly fine. On using ps auf | grep…

gran_profaci
- 8,087
- 15
- 66
- 99