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

learn more… | top users | synonyms

45
votes
4answers
55k views

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 ...
10
votes
2answers
3k views

Switch between full-screen windows of the same application in Lion

Is there a keyboard shortcut in Lion for navigating through my open full screen Xcode projects? ⌘~ is not working.
12
votes
4answers
8k views

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 the terminal. It just started doing this after I loaded Xcode for doing iPhone development. Last ...
7
votes
2answers
1k views

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

I'd like to script the installation of the 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 ...
10
votes
3answers
5k views

I installed Xcode but I still don't have gcc in my terminal

I just got a Mac and I'm a complete newbie, so this may be kind of a really easy question, but I wasn't able to solve it with Google or F1. I was trying to run a C program from the Terminal that ...
10
votes
1answer
7k views

iOS Simulator Hidden in Xcode 4.3.1?

This is more of an "am I doing this right?" type of question... I recently performed a clean install of Lion and installed Xcode 4.3.1 from the App Store. I noticed that the /Developer folder was ...
3
votes
2answers
3k views

Can I delete the /Developer-3.2.6 or /Developer-3.2.5 folders?

I did a quick, pseudo-system audit this morning and found an unexpected directory hogging up ~10GB of space on my drive. I assume that it's a remnant from a reasonably recent upgrade to XCode 4, but ...
2
votes
3answers
2k views

Xcode installation seems corrupt?

I've been try to download Xcode for work, but for some reason the Mac App Store is giving me a bit of trouble. Activity monitor shows some network usage, but in Launchpad it seems the download isn't ...
0
votes
1answer
1k views

MacPorts fails to find 'make'

I've installed Xcode and MacPorts on a brand new mid-2013 MacBook Air, but MacPorts doesn't work, saying that it cannot find anything. mba:~ cnst$ sudo port install wget Warning: The Command Line ...
18
votes
2answers
8k views

How to compile mod_wsgi, mod_fastcgi, etc on Mountain Lion (Mavericks) by fixing `apxs:Error: Command failed with rc=65536`?

I've updated to OS X Mountain Lion. Update has removed all of my python and apache modules including mod_wsgi. Now I'm trying to recompile mod_wsgi (it compiled without problems on Lion). I use ...
14
votes
2answers
36k views

How do I download Xcode 4.4 without using the App Store?

Following an upgrade to Mountain Lion, Xcode 4.3 no longer functions. I need 4.4. Download link I've not been able to get a link for Xcode 4.4, has anyone else found it? Reasons for not using the ...
13
votes
4answers
6k views

Is it possible to run both Xcode 3 and 4 side-by-side on the same machine?

As the title says, can I have both versions of Xcode installed on the same machine?
7
votes
2answers
777 views

Why does Xcode still show up as an available update in App Store after being installed?

I have installed the update shown from the App Store. I have since started and used XCode. Why does this update still show up in the updates list for App Store? Is there some extra action I need to ...
7
votes
3answers
6k views

How to use Xcode 4 mergetool in a standalone fashion?

I sometimes have to make git merges on the console. Up to now, for resolving conflicts, I was using Xcode 3's FileMerge (you can open it on the console using the 'opendiff' command). If conflicts ...
8
votes
1answer
2k views

Why does it appear that I apparently “do not have access to Command Line Tools” in ML?

I just upgraded to Mountain Lion, and now gcc, make, g++, etc. are not found when trying to launch them in Terminal. So I went to Xcode Preferences, Downloads, and clicked "Install" next to Command ...
7
votes
4answers
4k views

Is the installation of Xcode from App Store enough for having the developer tools?

today I tried to install the new version of Xcode. Before that I removed the developer tools with the following command: sudo /Library/Developer/Shared/uninstall-devtools --mode=all I also had ...
5
votes
1answer
10k views

What is the minimum hardware needed to run Xcode 4?

I understand from the Apple developer site that Xcode 4 requires an Intel Mac running Snow Leopard, but I can't see any advice on hardware spec (other than Intel). I imagine it could run on an old ...
5
votes
3answers
390 views

Easy way to get gcc and make in OSX

I want to install a few CPAN modules in OSX. It filed since the module I want requires make and gcc to be installed. A quick google on the subject tells me that I need to install "Apple developer ...
4
votes
1answer
467 views

Stop programs stealing focus

I'm currently using XCode in conjunction with Unity. When I initiate a build in Unity, it automatically runs XCode. XCode will then steal focus from whatever app I happen to be in. Is there a way of ...
6
votes
1answer
1k views

Differences between Snow Leopard Server and Desktop?

I have a friend who is wanting to get a Mac Mini to do iPad development. He says the server version is cheaper than the desktop version. I've only ever used the desktop version. Is there any reason ...
4
votes
1answer
4k views

Why can't I install Xcode 4.4 on Mountain Lion?

When I try to download the Xcode 4.4 update I'm presented with this error: Xcode can’t be installed on “Mac HD” because the version of OS X is too new. But the change log says that the update is ...
2
votes
3answers
1k views

Minimal Xcode installation without iOS SDK

I am in the progress of switching my MBP to run off an SSD, so I’ve been looking of ways to save harddisk space. Xcode with the iOS SDK weighs around 10GB, and since I don’t really use the iOS SDK for ...
1
vote
3answers
9k views

Xcode for iPad?

I don't have an Apple computer, only iPad and Debian computer but I still would like to add a feature to iOS app here. Earlier I found out that I can download Xcode, more here, from Apple Store. Now I ...
1
vote
2answers
886 views

How to install Xcode from downloaded package

I recently uninstalled all dev tools from OS X after having issues with gcc and realizing both Xcode 3 and 4 were installed - but not before saving an Xcode package file to the desktop. It's over 3 GB ...
4
votes
3answers
3k views

How to can I upgrade Xcode 4.1 to 4.5.2 properly?

I'm trying to get Xcode up to date... but i think i have a little problem. I go in the Mac App Store. I find Xcode. I click on free button, it asks me to connect with my Apple-ID. Done. I get the ...
3
votes
1answer
140 views

Is it possible to update the itunes without updating Xcode?

I am having updates for both itunes and xcode in the App store. When I click update to itunes, it asks me to close both the itunes and xcode. I don't want to update xcode. Is it possible update ...
2
votes
3answers
234 views

How can I disassociate a single app (e.g., XCode) from all file types it's mapped to? [duplicate]

Possible Duplicate: How to Change File Type Associations? Every time I get a machine that I install XCode on, it associates itself with all kinds of filetypes. E.g., .xml, .rb, even .java! ...
2
votes
1answer
366 views

Which versions of Xcode are not updated to take advantage of HiDPI/Retina displays?

I've been looking over the release notes for Xcode and can't find one that says it's been enabled for HiDPI mode and the retina display MacBook Pro. By enabled, I mean that Xcode will run on the new ...
1
vote
1answer
2k views

How to install command line tools without error that is not currently available on Software Update server?

I am using maverick, and have Xcode 5.0.2. I am trying to install command line tools using xcode-select --install, but I get message that is not currently available on Software Update server. What ...
1
vote
1answer
668 views

How do I install Macports and Xcode for OS X Snow Leopard

I'm new to OS X and I have an older Snow Leopard system. I need to compile a few simple C programs for some analysis work. It seems that gcc et al are part of a package called Xcode, and that many ...
0
votes
1answer
215 views

Xcode tools getting working without the Xcode CD or external drive?

I would like to get the Xcode-developer things to my Macs. I noticed that Apple has started to offer some terminal things online, more here. I am still lazy to get the CDs, to get all Xcode-developer ...
-4
votes
2answers
278 views

How to Develop iOS or Mac apps?

I know Apple needs developers to be a part of the iOS Developer Program or Mac Developer Program to acquire several solutions and am interested in knowing how to start. What tools are needed for ...