A command line tool is a console based application either run in MS-DOS or a terminal (Command prompt for windows, and terminal for linux and mac)
Questions tagged [command-line-tool]
339 questions
9
votes
3 answers
Xcode 4.4 : Preferences : Downloads : Components : Command Line Tools fails with "Failed with HTTP status 403: forbidden"
does anyone know what i might have to change (permissions on a particular file; clearing out a Keychain Access item) to resolve an issue when i attempt to install command line tools inside of my freshly download Xcode 4.4 install?

john.k.doe
- 7,533
- 2
- 37
- 64
9
votes
2 answers
Cocoa wrapper for an interactive Unix command
Ok, so I know you can make an NSTask to run command line tools with Objective-C:
NSTask *task;
task = [[NSTask alloc] init];
[task setLaunchPath: @"/usr/bin/gdb"];
[task launch];
I'm just wondering if there's a way to communicate with interactive…

brendanzab
- 950
- 1
- 11
- 29
8
votes
1 answer
Missing info.plist file for C++ command line tool application within Xcode
I want to create a camera calibration application with opencv for a university course. I have created a command line tool application on macOS High Sierra. Unfortunately it came without an info.plist file. My application crashes with the following…

CoderOfTheForce
- 359
- 7
- 22
8
votes
1 answer
Ruby OptionParser: how to handle arguments without a prefix (like a required filename)
I am working with OptionParser for the first time.
What I would like to know, is how I can make OptionParser handle arguments that are not prefixed with a certain flagname. I want to be able to write a statement like:
myscript.rb -d someoption -b…

Qqwy
- 5,214
- 5
- 42
- 83
8
votes
1 answer
How do you create new windows workspace with TFS command line client that is running on unix
How would I work with the TFS command line client that is running on a aix/unix box to run the tf commands. For example I'm unable to create local windows workspaces that connect to the tfs version control folders that are on a windows server. The…

jjohnston
- 83
- 1
- 3
8
votes
1 answer
How to add Core Foundation framework in Xcode 4 to a bare Command Line Tool if frameworks list is empty?
I created a new command line tool (the way to create a Mac OS X command line app) using Xcode 4.5, but I now want to add a framework to it. The frameworks list in the build phases is empty.
I can add .h/.m objective C class header and…

Warren P
- 65,725
- 40
- 181
- 316
7
votes
2 answers
How to generate a Curve25519 key pair in Terminal?
How can we generate a Curve25519 key pair from the command line?
We have a MacBook Air with Homebrew installed.
Should we use OpenSSL or another command line tool?
How do we use that tool to generate a Curve25519 key pair?

ma11hew28
- 121,420
- 116
- 450
- 651
7
votes
3 answers
How to set up working logic unit tests target in Xcode 4.5 "Command Line Tool" project?
Having trouble getting unit tests set up for a specific scenario. Here's what I'm trying:
In Xcode 4.5, I created a simple OSX "Command Line Tool" application project (Foundation).
Note that Xcode does not provide the option to add unit tests to a…

Chris W. Rea
- 5,430
- 41
- 58
6
votes
4 answers
Pod init error tool 'xcodebuild' requires Xcode
Im trying to run pod init command on my new project.
It has never happened to me before. The things I have tried to fix it are:
Closing Xcode
Creating a new project
Restarting my computer
The error I get in the console is:
error: tool…

Pablo Marrufo
- 855
- 1
- 8
- 17
6
votes
0 answers
Mac OS 10.9 fatal error: 'tr1/unordered_map' file not found
I installed command line tools using
xcode-select --install.
If I do
cd /Library/Developer/CommandLineTools/usr/bin, I can see gcc listed there.
I am trying to install an external application on command line which give these…

AMisra
- 1,869
- 2
- 25
- 45
6
votes
2 answers
How to append same string in many files names in mac at once?
I just need to append the string "eng" to many files names in same directory without changing its extension in MAC TERMINAL. I searched it for long time, i found mv command to rename files at once. But i don't know how to implement in to my…

VivekParamasivam
- 1,086
- 2
- 13
- 23
6
votes
2 answers
Installing command line tools Xcode 5
I have tried and tried (looked at many headings for this) and I still don't have an answer to my problem. I am trying to install the Pebble SDK 1.12 and install command line tools of Xcode 5.
Everytime I try xcode-select --install in terminal I…

Peter Kaminski
- 822
- 1
- 12
- 21
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
1 answer
How to calculate SFV-style CRC32 in Linux commandline?
Is there an equivalent to md5sum/sha1sum in Linux for calculating SFV-style CRC32s? I checked out cksum, but it seems to be calculating a different sum (perhaps a different polynomial? or I'm interpreting cksum's output wrong). Preferably not…

Henry Tung
- 51
- 1
- 4
5
votes
2 answers
How to copy bundle resources for command line tool project in Xcode?
I've been trying to access a file in my command line tool Xcode project but program isn't able to find the file path. I'm assuming it's because the file isn't being copied to my project.
I've gone to build phases and added my file (graph2.net) but…

leedex
- 963
- 8
- 19