Questions tagged [xcode-command-line-tools]

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/

106 questions
1
vote
1 answer

Where is xcode command line tools installed to when using the downloaded pkg file?

I have Xcode installed on my computer. Initially I installed the xcode command line tools by prompt when opening Xcode. In my Xcode preferences, in the locations section, command line tools read Xcode 12.0 (12A7209) and below it the path…
Jason
  • 133
  • 1
  • 9
1
vote
1 answer

Xcode: Objective-C build and run from command line

I have the following file: doSomething.m with the following implementation: #import int main(int argc, char * argv[]) { NSString * appDelegateClassName; @autoreleasepool { NSLog(@"main"); } return…
user2924482
  • 8,380
  • 23
  • 89
  • 173
1
vote
1 answer

xcode - command line build - required content for platform watchOS is missing IBBuildSupport

I am trying to build my project (iPad app) from go agent. While building from command line, I am getting below error. Error log: Requested but did not find extension point with identifier…
Rahul
  • 314
  • 5
  • 12
1
vote
0 answers

Command Line Tools update fails when contacting server

Using Software Update I see an update is available for "Command Line Tools (maxOS Mojave version 10.14) for Xcode 1." When I click to update and agree to the terms and conditions I get the following error: A server with the specified hostname could…
bananabanana
  • 463
  • 4
  • 15
1
vote
0 answers

brew install with modified source

How do I run brew install with local changes to the Homebrew source code? Running brew install discards my changes, even if I've committed them. More Details When I run brew install heroku/brew/heroku, I get: Error: Xcode alone is not sufficient on…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
1
vote
1 answer

Xcode code sense symbol not found Indexing not working. Xcode repair tools command line tools

I am using Xcode 7.1 and macOS Sierra. My Xcode is not indexing my project, I also enable indexing through terminal. Indexing is not working in in any of the Xcode version of my mac machine, because of this, I am not able to use Xcode code sense…
0
votes
1 answer

Can Xcode build native Intel binaries on a M1 Mac from command line tools?

This is an additional question to this. I also want to compile a universal binary (or two separate ones for x86_64 and arm64). However, I am not using Xcode, but the Xcode command line tools. So far, I have only found the manual to do so for Xcode…
gernophil
  • 177
  • 2
  • 6
0
votes
0 answers

unable to monitor events in command line tool app in macOS

New to macOS and trying some PoCs. Following is code that runs well if I choose the Project template as App, however, when I used Command Line Tool as the Project template in XCode, I do not receive events. Accessibility access is enabled for my…
vibhu
  • 1,657
  • 2
  • 15
  • 19
0
votes
1 answer

How to update ZLIB version in MacOS CommandLine Tools from version "1.2.11" to "1.2.13" to use CMake?

I am attempting to run a Geant4 simulation installed via Conda. To do so, it requires compiling "cmake". Though all of the packages required my Geant4 are up-to-date, a set library files required by "cmake" (located in my XCode CommandLine Tools)…
0
votes
0 answers

Mac - Appium - How to setup Xcode simulator with specific OS version and .app file through command line

While setting up Appium on Mac, I am stuck at a point where we have got .app file to automate on an iphone simulator. I am able to launch app which comes with .xcodeproj on Xcode. But now I have an MyApp.app file to use on a Simulator. if I try to…
0
votes
0 answers

is there any options to change bundle identifier while generating the build using terminal

i) is it possible to change the Bundle identifier and Provisional Profiles in Codebase while generating the Archive File and IPA file. ii) is it possible to change the Application name while generating IPA file in Command line Tools. I am following…
0
votes
0 answers

Xcode don't terminate "Run(Build) Pre-action" and execute main.cpp for debug

thank you for your help, I use "Build Pre-action" or "Run Pre-action" in Xcode. My goal is to execute another server-like program before executing main.cpp, and not to close it. But every time I check the log, I found that after successfully…
pekkabear
  • 55
  • 5
0
votes
1 answer

Compile and execute cpp in xcode, and add additional execution instructions, Such as iconv command

Sorry, I'm new to Xcode and not very familiar with it, I use Xcode (command line tool project with external build system) to compile cpp files and automatically execute cpp unix executable files. After the program is compiled (command+R), I set the…
pekkabear
  • 55
  • 5
0
votes
0 answers

How do you keep XCode Command Line Tools up to date on OS X?

I have the XCode Command Line Tools installed with xcode-select --install, but I don't know how to check whether they're up to date or how to update them. What I Want To Know: How do I check which version I have installed? How do I check the…
gkeenley
  • 6,088
  • 8
  • 54
  • 129
0
votes
0 answers

rvm ruby installation issue: ld: building for iOS, but linking in object file built for iOS Simulator

I'm trying to install ruby@2.7.4 using rvm but have been struggling with errors for the past day. I have checked that my Xcode version is up to date (14.1) and Command Line Tools (14.1) on macOS Ventura 13.0.1. I have rvm 1.29.12. Would appreciate…
Ken
  • 1,155
  • 2
  • 19
  • 36