command-line-tool Questions

2

Solved

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....
Homeric asked 19/6, 2014 at 8:14

30

Solved

Saw the following error when running an npm install which required node-gyp... but could be triggered by anything which requires xcode-select. xcode-select: error: tool 'xcodebuild' requires Xco...
Wideeyed asked 31/7, 2013 at 20:52

15

Solved

Python's http.server (or SimpleHTTPServer for Python 2) is a great way of serve the contents of the current directory from the command line: python -m http.server However, as far as web servers go...
Contaminate asked 15/10, 2012 at 23:27

10

Solved

Since Mavericks, OS X has had the ability to tag & colour files in Finder. Is there any way to add tags to files through Cocoa APIs or via a shell command?
Narcotize asked 1/11, 2013 at 3:36

2

Solved

I have M1 machine, I have one project that I only need Rosetta to run it, instead of toggle it on/off from Xcode get info menu I tried to run the command: arch -x86_64 open ~<PROJECTNAME>.xc...
Insoluble asked 11/4, 2022 at 12:18

2

Solved

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...
Semaphore asked 1/5, 2019 at 6:12

9

I often compare my new build apk size with the production build and I am looking for options to automate this activity such that it compares both new and prod apk sizes and reports me. I am aware ...
Enrollee asked 2/11, 2017 at 17:12

2

Solved

On Big Sur, I had XCode CLT installed, but not xcode itself. Git was working fine. Then I installed XCode and now when I try to run git I get the following message: git: error: Failed to determine ...
Contend asked 8/6, 2021 at 11:30

1

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 iO...

1

Solved

I have this CLI tool called Rackfocus. I've published to PyPI, and I'm reasonably sure it worked just fine before. When I try to run it with current versions of Python on Mac, I get the error: No m...
Violone asked 20/2, 2022 at 6:36

3

I am trying to unit test a command line tool written for Mac OS. When I first create the project, XCode does not generate a tests group in the project navigator. When I try to add a new test targe...
Remount asked 21/1, 2015 at 15:6

2

Solved

I'd like to do the following in raku on windows raku -n -e ".say if /mydatabegin/;" *.file Failed to open file C:\..\*.file: Invalid argument The glob isn't interpreted as a glob. I assu...
Vatic asked 30/9, 2021 at 0:30

2

Solved

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 gen...
Tallyho asked 21/4, 2017 at 15:34

16

Solved

How do I get the command-line build tools installed with the current Xcode/Mac OS X v10.8 (Mountain Lion) or later? Unlike Xcode there is no installer, it's just a bundle. It looks like all the c...
Audwin asked 17/2, 2012 at 13:38

2

Solved

Is there any option to publish Android Application to Google Play using command line tool ? I have signed my application but I can't use web browser to publish it.
Sharp asked 21/2, 2014 at 15:34

6

Solved

I downloaded the source files for gnuplot 5.0.1 (gnuplot-5.0.1.tar.gz) from the source forge page. I also installed the Command Line Tools on my OS X 10.7.5 so that I have gcc and make in the /usr/...
Jacquetta asked 6/9, 2015 at 8:49

0

I am working on a Swift package command line tool that has a third-party dependency. It has been working great just opening the repo folder and using SwiftPM, except that I don't seem to have contr...
Sauger asked 22/7, 2020 at 14:51

4

Solved

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 ...
Arkwright asked 18/4, 2018 at 18:8

4

Solved

I don't know how to install the Command Line Tools on OSX Mavericks. Or better: I know how to do it (I just did it on another MacBook), but something goes wrong this time. What happened: I Install...
Radicand asked 26/11, 2013 at 22:34

5

Solved

I'd like to install openCV to vectorize image, but there's a series error message regarding Xcode and Ruby. First, I use terminal to install openCV, brew install opencv. Then, I got error messag...
Romanism asked 23/11, 2017 at 16:41

1

Solved

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.pli...
Dumbbell asked 4/4, 2019 at 14:48

9

When i try to initialize pod file to use cocoapods via terminal, it gives me this error. How to fix it. /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:128:in `verify_minimu...
Maxilliped asked 2/2, 2017 at 7:28

6

Solved

This is the command that works fine if run from a user-spawned command prompt: PSEXEC \\xxx.xxx.xxx.xxx -u xxxx -p xxxx -accepteula cmd /c "TYPE C:\Pyxislog\PYXIS01.log|Find/i "%ID%"" >nul Ho...
Henpeck asked 1/12, 2012 at 19:59

2

Solved

I've added a few JSON files to my macOS Command Line Tool project, but I can't seem to find them the usual way. if let path = Bundle.main.path(forResource: "Data", ofType: "json") { if let conten...
Adagietto asked 7/5, 2017 at 1:7

5

Solved

I was not able to install any pod in my system. Hence, I removed cocoapods from my Mac and then reinstalled it. The process was successful but when I run the command pod init following error shows ...
Credenza asked 30/6, 2017 at 6:53

© 2022 - 2024 — McMap. All rights reserved.