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
10
votes
1 answer
Invalid Swift Support - Files don't match Xcode 10.1
I know there are similar questions are out there!
But, they are old. We have released to iTunes before, never faced an issue.
We have bunch of sub projects and also cocoapods.
Not sure what could be the issue.

Dheeraj
- 233
- 2
- 10
10
votes
3 answers
Cocoapods + Command Line Tool - dyld: Library not loaded: @rpath/Realm.framework/Versions/A/Realm
I created a Command Line Tool project in Xcode 8.2.1, then I ran pod init and added RealmSwift to it. After pod install, I opened the .xcworkspace file.
The project compiles fine, but at runtime I get the following error:
dyld: Library not loaded:…

swalkner
- 16,679
- 31
- 123
- 210
9
votes
3 answers
How to downgrade command line tools MacOS
I got a dynamic linker error with the __clock_gettime symbol so I did what this post said Missing symbol when installing ruby-2.3.0 on OS X 10.11.6 by RVM (i.e. xcode-select --install) and now I am getting loader errors that say that libraries were…

Curious
- 20,870
- 8
- 61
- 146
7
votes
1 answer
Apple command line tools vs XCode command line tools?
I downloaded XCode and made sure the XCode command line tools were installed by going to Preferences -> Locations:
The Problem: When I run brew upgrade it throws this error:
Error: python@3.10: the bottle needs the Apple Command Line Tools to be…

RNdev
- 953
- 1
- 8
- 26
7
votes
2 answers
zlib not available during python 3.7.0 install through pyenv, how can I fix this?
OS: MacOS 10.14 Beta
Goal: Install Python 3.7.0 Through PYENV
When trying to install python 3.7.0 through pyenv I get this error, how can I fix this?
Last 10 log lines:
File…

hieros
- 71
- 1
- 2
6
votes
2 answers
Can't compile fortran on MacOS Monterey: ld: unsupported tapi file type '!tapi-tbd' in YAML file
I am facing an error whenever I try to compile fortran code:
% gfortran Testing_Fortran.f90 -o Testing_Fortran
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/lib/libSystem.tbd' for…

DdDani20
- 61
- 1
- 3
6
votes
1 answer
Xcrun missing, xcode command line tool not fixing
Having an odd Mac OS issue. I'm on a mid-2015 McBkPro running High Sierra 10.13.3.
Haven't coded on a new project in a while (been busy on my last projects for most of the past year); now I tried starting up a new project and well none of my…

Frenchmassacre
- 462
- 4
- 12
5
votes
1 answer
Xcode build fails and repetitive requires command line developer tools install
I have updated Xcode to Version 13.4.1 (13F100),
Then tried to run a flutter project
Launching lib/main.dart on iPhone SE (3rd generation) in debug mode...
Xcode build done. 2.9s
Failed to build iOS…

hossameldinmi
- 125
- 1
- 7
5
votes
0 answers
React Native run-ios --device not working after upgrading xcode command line tools
The question is pretty self explanatory: I just updated the XCode Command Line Tools and now the npx react-native run-ios --device is giving this error:
npx react-native run-ios --device
info Found Xcode workspace "LsRecordApp.xcworkspace"
error No…

Ale TheFe
- 1,540
- 15
- 43
5
votes
2 answers
Command Line Tools Not Found MacOS Monterey XCode13
I´m currently trying to resign a wrapped app from mobileiron with terminal.
When I try it says:
"sign_wrapped_app.sh Version 4.7.0.0
Usage: sign_wrapped_app.sh -i [-b -e -p -s -d -o ]
This script MUST be run on a computer with Xcode…

jonasroman
- 71
- 1
- 4
5
votes
0 answers
How to install and use multiple versions of Xcode command line tools
I have a Macbook pro running OS Mojave with Xcode 10.1 and the command line tools are installed at /Application/Xcode.app/Contents/Developer.
For a project that I have xcodebuild is invoked from the command line.
I desire to run a static analysis…

bhartsb
- 1,316
- 14
- 39
5
votes
1 answer
Xcode - how to change file's target membership via command line?
Is there a way to change file's target membership in Xcode project via command line?
Here's what I'm trying to do via Xcode's UI:

derpoliuk
- 1,756
- 2
- 27
- 43
5
votes
3 answers
How to switch between multiple Command Line Tools installations in Mac OS X (without installing XCode)
Is it possible to install and switch between multiple version of Command Line Tools in Mac OS X? I was wondering if it's possible use xcode-select but the Command Line Tools installer doesn't have an option to choose the installation destination. I…

Milad
- 4,901
- 5
- 32
- 43
5
votes
2 answers
How to get the path to the current MacOSX SDK when only Command Line Tools are installed?
We are trying to locate the current platform SDK used by some of our OSX machines (10.11).
On those machines, only the Command Line Tools are installed, not the full blown Xcode app.
Looking up on SO, we were able to find the command xcrun…

Ad N
- 7,930
- 6
- 36
- 80
4
votes
1 answer
xcode-select: Failed to locate 'clang'
When I try to run the clang command, I get the following error:
xcode-select: Failed to locate 'clang', requesting installation of command line developer tools.
And then I'm getting this error:
The "clang" command requires the command line…

Jose Manuel
- 90
- 5