Questions tagged [xcode]

WARNING: Almost all questions about development or app distribution are off topic here. See the FAQs for details. Xcode is Apple's official software development environment for Mac OS X and iOS

Xcode icon

Questions relating to programming generally belong at Stack Overflow where programming questions are best asked and answered.

Ask Different focuses on consumer use of release software (please - no beta software, no NDA topics) so basic questions like how to install or launch Xcode are fine here. Also, Automator and AppleScript questions that relate to Xcode are most welcome here.

If in doubt, check the Help Center for the latest guidance for Ask Different.

1468 questions
2752
votes
7 answers

Why am I getting an “invalid active developer path” when attempting to use Git after upgrading to macOS Ventura?

After upgrading to macOS Ventura, I tried to run git from Terminal but it kept giving me the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at:…
The Onin
  • 61,125
  • 4
  • 13
  • 17
160
votes
10 answers

OS X computer name not matching what shows on terminal

My computer name in System Preferences > Sharing is set to "archos", but is showing as "iphone" on Terminal. It just started doing this after I loaded Xcode for doing iPhone development: Last login: Mon Nov 7 14:46:55 on ttys001 iphone:~ travis$…
Travis Nelson
  • 1,703
  • 2
  • 11
  • 6
135
votes
12 answers

Repeatedly Being Asked to Install Command Line Tools

When I'm doing various development-related activities (such as initializing a git repository or installing packages in RStudio), I get repeatedly asked to install command line developer tools, even though I already have it installed. I have a…
RPatel99
  • 1,691
  • 2
  • 5
  • 9
126
votes
10 answers

Can I delete unnecessary device simulators of Xcode?

I found that Xcode on my laptop consumes much of its storage, so I am trying to delete unnecessary files in Xcode. There are four directories under Application/Xcode.app/Contents/Developer/Platforms/. I feel that WatchSimulator.platform and…
IzumiSy
  • 1,635
  • 3
  • 10
  • 9
125
votes
5 answers

What is the format of a .xip file

As Xcode 8 beta is available to download, I see it's distributed with a .xip extension, Xcode_8_beta.xip. What is the .xip format? What's the difference between previous .dmg format?
Quanlong
  • 1,851
  • 3
  • 17
  • 20
87
votes
6 answers

Xcode Error When Launching Terminal

I'm getting the following errors when launching my terminal, seemingly out of nowhere. I have no idea what the cause is. 2022-03-23 09:41:00.818 xcodebuild[2352:21059] Requested but did not find extension point with…
Darryl Morley
  • 973
  • 1
  • 2
  • 6
85
votes
7 answers

How do I install GCC via Homebrew?

I am using Homebrew exclusively (i.e. I don’t, and won’t, use MacPorts or Fink). I also want to keep manual installations to a bare minimum.1 … But how can I install GCC? First of all, I’ve of course installed Xcode but the current version doesn’t…
Konrad Rudolph
  • 2,056
  • 2
  • 15
  • 30
85
votes
6 answers

Determine xcode command line tools version

How do I determine what version(s) of xcode command line tools I have? I tried doing $ gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.1.0…
Andrew Grimm
  • 1,564
  • 2
  • 15
  • 28
82
votes
8 answers

OS X Yosemite Xcode update stuck on 'Waiting'

I recently downloaded Yosemite, and I'm trying to update my Xcode. I hit 'Update' in the App Store, and but it's been stuck at 'Waiting' for the past 30 minutes. What can I do to fix this?
David
  • 963
  • 1
  • 7
  • 7
78
votes
5 answers

how to reinstall xcode command-line tools?

I had serious problems from two versions of Xcode on the same machine. I removed all Xcode app instances & many other non-System 'xcode'-related files, then reinstalled the app (4.6.2), fixing my original problem. But xcodebuild and xcode-select are…
sierra
  • 881
  • 1
  • 6
  • 3
70
votes
6 answers

iOS Untrusted Developer error when testing app

I am trying to make my own iOS applications by using Xcode 7 and iOS 9.0. I have successfully been able to install the app on my own iPod by following Xcode 7 develop for iOS without developer account however when I run the application I get this…
iProgram
  • 4,480
  • 19
  • 59
  • 87
67
votes
23 answers

Xcode failed to download. Use the Purchases page to try again

Xcode is showing in the Mac App Store, ready to be updated. Clicking update results in an error: Xcode failed to download. Use the Purchases page to try again. Steps taken that didn't help: Rebooting Removed…
Alex Polkhovsky
  • 855
  • 2
  • 9
  • 14
65
votes
8 answers

How can I install the Command Line Tools completely from the command line?

I'd like to script the installation of the Xcode Command Line Tools. On Mavericks, xcode-select --install will open a dialog prompting the user to install, but I'd like to trigger the install without the dialog, like using the softwareupdate…
also
  • 823
  • 1
  • 7
  • 9
63
votes
3 answers

How do I transfer my iOS developer profile to another computer?

I got a new MBP and would like to transfer my certificates and profiles from my old computer. According to TN 2250, under "Transferring Your Identities," I need to transfer three sets of items: all iPhone Developer certificates in your…
Thunder Rabbit
  • 753
  • 1
  • 5
  • 8
63
votes
4 answers

Where can I download Filemerge - the app for comparing two tools and merging them?

I would like to install Filemerge, but can't find where to go to download it. Where can I download it?
pdenlinger
  • 751
  • 1
  • 5
  • 4
1
2 3
97 98