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
0
votes
0 answers

VSCode C++ Include Error . Please update your includePath . MacOS BigSur

My Code :- #include using namespace std; int main() { int t; cin>>t; cout<) saying the following : #include errors detected. Please…
0
votes
1 answer

Mac OS cocoa app call command line tool fail in 10.15

I want to create a cocoa app to call command line tool written use c++. I can do it well when use Xcode to call command line tool. but It fail when I close Xcode, double click the app and press Update button to run command line tool. I've tired to…
0
votes
1 answer

NSCameraUsageDescription key error in Xcode

I'm trying to access a webcam for a project using OpenCV in Xcode, but I keep getting this error: This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an…
parsha
  • 1
  • 1
0
votes
1 answer

How to remove all symlinks in usr/local/include from a determined path

I was having some issues to compile a Ruby library where it has some C++ dependencies. I read somewhere that adding the code below fixes the issue: sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/* /usr/local/include/ But…
Pedro Paulo Amorim
  • 1,838
  • 2
  • 27
  • 50
0
votes
0 answers

undefined symbols " __Unwind_Resume" while linking own dylib with libtool on OSX10.15

Trying to compile code on OSX 10.15. which perfectly works on OSX 10.12 and got stuck. Quite familiar with general concept of linking and problem solving with undefined symbols as very well described here. Using command line tools only, libtool and…
0
votes
1 answer

What is the difference between c++ and g++ on Mac OS X (CommandLineTools)?

I see that c++ and g++ are mostly the same. Can they be used interchangably? When they will be different? $ c++ --version Apple LLVM version 9.1.0 (clang-902.0.39.2) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir:…
user1424739
  • 11,937
  • 17
  • 63
  • 152
0
votes
1 answer

Replacing old Xcode command line tool with newer Brew version

I'm trying to build a binary from source code which has a dependency on the package" NASM 2.12.02 or later. However, I have an earlier version already installed on my Mac via Xcode: /usr/local/bin/nasm -v NASM version 0.98.40 (Apple Computer,…
0
votes
1 answer

Command Line Tools location in Sierra

I just updated to Sierra and installed Xcode 8.2.1 from the Developer Portal. (Why didn't I use the App Store? Read here.) In the past, to upgrade to new versions of Xcode, I would download both the main .xip and the CLT package from the portal,…
Chris
  • 547
  • 6
  • 20
0
votes
1 answer

"Symbol not found: _getentropy" error after updating command line tools on yosemite

I recently created a python application which trawls through Bing and saves the pages as PDF's using WKHTMLTOPDF, it was built using Py2APP. Everything was working perfectly and as I wanted it to do until I updated Command Line Tools (OS X 10.10)…
Ruthus99
  • 492
  • 2
  • 10
  • 25
0
votes
1 answer

Error: no provisioning profile matches xcode build

BuilSettings[REFERENCE IMAGE1][1]I'm creating an script to automate ios build to generate .ipa ... Below is my script, # xcodebuild -workspace "project.xcworkspace" -scheme "Schemename" clean # xcodebuild -workspace "project.xcworkspace" -scheme…
SudhakaranR
  • 43
  • 10
0
votes
1 answer

Apple Command Line Tools AND XCode For Open Source Compile/Build?

I don't use XCode but have it "left over" from when it was the path to installing the Apple Command Line Tools - which I do use for compiling/building other software. I now seem to have both XCode and Apple Command Line Tools and don't really care…
ericky
  • 1,641
  • 2
  • 14
  • 16
0
votes
1 answer

CUDA 8 nvcc fails on macOS Sierra with errors in stdio.h, stdlib.h and other headers

I have a Mac dev machine that has installed Xcode 7.3.1 and Xcode 8.0. After updating to CUDA 8, I set up the system to use the Xcode 7.3.1 command line tools, as Xcode 8 command line tools are currently unsupported by nvcc 8.0. After updating the…
w-m
  • 10,772
  • 1
  • 42
  • 49
0
votes
2 answers

Installing Xcode 8 on pre-installed Xcode 7.3.1 [Using multiple version]

Hi I am currently using Xcode 7.3.1 on macOS Sierra. Due to the issue ERROR ITMS 90167. I can't upload my archive using Xcode 7.3.1. So, It's time to upgrade Xcode 8. But, unfortunately, I can't use Xcode 8 to Develop application due to migration…
Thiha Aung
  • 5,036
  • 8
  • 36
  • 79
-1
votes
1 answer

CNCopyCurrentNetworkInfo getting nil when app is created through command line tools

My app's deployment target is iOS 13. So I am using CNCopyCurrentNetworkInfo for getting the wifi SSID information. I am facing a strange issue only when I archive and distribute my enterprise app through command line tools. The wifi SSID info is…
-1
votes
2 answers

Removing older versions of Command Line Tools

I was analyzing my files with CleanMyMac's space lens tool, and found multiple versions of command line tools in /Library/Developer/CommandLineTools. Is it safe to remove the older versions? I don't use Xcode or Android Studio, so can I completely…