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

51
votes
5answers
71k 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 ...
26
votes
4answers
20k views

Can I code using Swift on Mavericks?

Is is possible to code using Swift on OS X Mavericks? I found the manual on iBooks but that's as far as I can get right now.
25
votes
3answers
18k views

Was the FileMerge application removed from OS X 10.7.3?

I just updated to 10.7.3 and can no longer find the FileMerge application, which is part of the Xcode developer tools package. Did apple remove this in 10.7.3? I've checked in my developer directory, ...
24
votes
4answers
21k views

Where did Icon Composer go from Xcode?

I can't seem to find Icon Composer on the Xcode versions at run on Mountain Lion. Where is it? Has it been taken out? How to get it back?
20
votes
3answers
53k views

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 ...
20
votes
2answers
9k 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 ...
17
votes
5answers
16k 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 ...
16
votes
13answers
19k views

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: ...
16
votes
4answers
14k views

Is it safe to remove the “Install Xcode” application after installation?

Is it safe to remove the Xcode 4 installation program from my Applications folder after I installed Xcode? If there is a free update, will I still get it, or do I have to buy it again? The installer ...
15
votes
6answers
3k views

How to install g++ or c++ without paying for xcode?

I need to install node.js on my new Mac and it requires having c++ or g++ compiler installed. How do I get one without paying for xcode?
15
votes
2answers
41k 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
9answers
39k views

Where can I download Xcode 6 Beta?

I want to start using Swift the new Apple programming language and I am a registered developer, yet am struggling to download Xcode 6 beta. Where can I download XCode 6?
13
votes
4answers
7k 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?
13
votes
2answers
3k views

Why is the Network Link Conditioner preference pane crashing as soon as I turn it on?

I am trying to use the Network Link Conditioner preference pane included with the Hardware IO tools in the developer tools to throttle Internet speeds. I can open and load the preference pane, but as ...
13
votes
4answers
47k views

No more Xcode 4 for Snow Leopard?

I'm trying to download Xcode 4.0 for my Mac and they want me to upgrade to Lion and download 4.1. Is there a way to download 4.0 without having to change my entire operating system?
12
votes
3answers
5k views

Installing Xcode via command line

I am a Linux user and have never used OSX before. Someone asked me for help with installing some software on an OSX "Lion" server. I asked him to give me an SSH shell, assuming that would be ...
10
votes
3answers
7k 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
3answers
6k views

In Xcode 4.3, where do I put the additional tools?

I'm confused. I just downloaded 6 supplementary packages using Xcode > Open Developer Tool > More Developer Tools... and I thought the .dmg files would contain .pkg files, but instead they ...
10
votes
3answers
4k 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.
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 ...
9
votes
5answers
14k views

How do I upgrade git on Mac OS X?

I have git on /usr/bin/git (I think was Xcode install) but it is 1.7.5.4 and I want to use the current version 1.7.7 Is there a way to uninstall that version and use the new one?
9
votes
2answers
3k 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 ...
9
votes
2answers
2k views

Xcode Service: Do I need a separate Mac for OS X Server on Mavericks?

I am an iOS developer and I want to implement continuous integration in Xcode. I have received the following email from Apple: As an iOS developer, you can now take advantage of continuous ...
9
votes
1answer
17k views

Can I download xcode 6 without dev account? [closed]

I don't want to download iOS 8 or so, but I want to start learning Swift without paying 100$. So, is there a way to download xcode 6?
8
votes
2answers
11k views

How do I run the iPad simulator to test a website on my mac

I've developed a web app which is having some weird issues on iOS safari on my iPad. I've never developed an iOS app, although I am a developer (c#) and have downloaded the latest xcode dev tools ...
8
votes
1answer
11k views

Quartz Composer in MacOS X 10.7.3

How do I install Quartz Composer in Mac OS X Lion?
8
votes
1answer
3k views

No Shark on OS X Lion?

I can't find Shark on OS X Lion. The most recent Xcode is correctly installed, but I can only see Instruments. Has Shark been made obsolete by Instruments ?
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 ...
8
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 ...
7
votes
2answers
11k views

GCC not found, but Xcode is installed

I have Xcode installed, but when I type gcc in terminal I get "command not found". Maybe I messed up the $PATH variable? What is suposed to be the default value? EDIT: (...):/ imac2$ echo $PATH ...
7
votes
2answers
5k views

How do I rename a file in git that differs by case only?

In my git (Xcode) project, I committed a filename with improper case. Now I went to try to rename it, but when I commit, I get: fatal: Will not add file alias 'MyProject/MyFile.h' ...
7
votes
2answers
11k views

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 ...
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 ...
7
votes
1answer
2k views

I installed latest Xcode (4.3.2) which comes as package, can I delete the older versions?

According to apple, Xcode in the Mac App Store has been repackaged, and is now distributed as a stand-alone application. Can I safely remove old versions of Xcode which are using a lot of space? ...
7
votes
2answers
4k views

How do I resize the iOS simulator?

I know that there's Window>Scale>100/75/50% but the scale of the retina iPad simulator is still too big for my screen to be able to test anything. Is there a way I can scale the size of the iOS ...
7
votes
5answers
1k views

Is it possible to add alternate SCM options in Xcode 3?

Is it possible to add additional SCM options in Xcode, specifically Mercurial? I know it is possible outside with Murky and others but I was hoping for a "inside Xcode" integration. If this is too ...
7
votes
2answers
757 views

What does Apple want for the WWDC Scholarship application uploads?

I am trying to submit my app for the 2013 Student Scholarship - form here (Dev program needed). However, I am confused about what it is, exactly, that they want: Here's a screenshot of the section ...
7
votes
2answers
1k 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 ...
6
votes
3answers
516 views

As an iOS Developer, how can I avoid upgrading to Lion?

I have been an iOS developer for quite some time now, and I am still using Xcode 4.2, because the new version is now only available for Lion. My problem is that after reading the reviews for Lion in ...
6
votes
4answers
3k views

What are the consequences of jailbreaking an iOS device as a Developer?

What would be the consequences of Jailbreaking my iOS device as a developer? What are some of the benefits, and what are some of the issues with Jailbreaking as a developer? How would this effect ...
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 ...
6
votes
4answers
14k views

How to download command line tools in xcode 4.5

I just installed xcode 4.5 and need to install the command line tools. The apple documentations says (with very little detail) that there is a download section in the preferences pane. I have yet to ...
6
votes
4answers
6k views

Missing autoconf/automake in Xcode 4.3?

After I purged Xcode 4.2 and installed Xcode 4.3 from App Store, I can not find autotools (automake/autoconf) through the command line. I've tried to run find /Applications/Xcode.app -name 'automake', ...
6
votes
1answer
12k 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 ...
6
votes
3answers
17k views

Is it possible to compile and run an Xcode project on a jailbroken device without a paid developer certificate?

Both for kicks and for budgetary reasons, I'd like to take a package that would normally requite a developer account and build an app to run on a jailbroken iOS device. I have a 5th gen iPod Touch, ...
6
votes
2answers
791 views

Cannot compile C code after installing xcode

When I installed Xcode on Snow Leopard, gcc was not in my path. I manually added /Developer/bin to get gcc. However, I wrote a simple C program to include stdlib.h and stdio.h and print a string, but ...
6
votes
1answer
404 views

iChat call forces in-call status bar in iOS simulator [closed]

Is there a way I can disassociate the iOS Simulator from my iChat calls, currently I am working on my app and I am using iChat for a video call and the in-call status bar comes and I can't toggle it ...
6
votes
4answers
2k views

How do I get Xcode 4.1 running under Snow Leopard?

I'm trying to upgrade to xcode 4.1, but I it's not working as I expect. I am a registered iOS developer, so I downloaded the (huge) installer. When I double click, it appears to launch, but then it ...
5
votes
2answers
21k views

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?
5
votes
7answers
29k views

How can I obtain older versions of Xcode?

How can I obtain older versions of Xcode? Is there a way that I can freely download a version that only requires OS X 10.6.8? So far this is all I've found on the matter; but, when I click the ...