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

54
votes
5answers
95k 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 ...
33
votes
8answers
38k 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 ...
32
votes
3answers
88k 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 ...
31
votes
3answers
7k views

XCode 6 on Yosemite crashing in fullscreen mode when build & running app on device

Xcode 6 on Yosemite crashes everytime when pressing Build&Run on Device. Current window disappears and Start screen appears. Anyone else experiencing this? UPDATE: As it seems Xcode is not ...
30
votes
3answers
23k 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, ...
29
votes
17answers
34k 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: ...
29
votes
4answers
28k 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.
28
votes
4answers
27k 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?
21
votes
2answers
11k 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
1answer
20k views

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?
16
votes
3answers
10k 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 ...
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
48k 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 ...
15
votes
4answers
5k 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.
14
votes
3answers
1k views

How do WWDC presenters paste text during demos?

During demos in the WWDC videos, the presenter will often paste code into Xcode to save having to type it in. How are they pasting each different snippet without switching to another app to copy it?
13
votes
9answers
43k 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
6answers
2k views

Save file to hidden directory with standard OS X save dialog

Using TextEdit, when I try to save example.txt to some hidden directory, for example ~/Library, I can't because save panel doesn't show them. The only way I found was to save file to non-hidden ...
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
29k views

How can I compile and run C in Xcode?

Our teacher is teaching use some Data Structures algorithms that are being implemented in C. He uses Visual Studio in class, but I want to be able to run simple programs that we write on Xcode? I've ...
13
votes
4answers
6k 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 ...
13
votes
3answers
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
5answers
20k 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?
11
votes
3answers
7k 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
8k 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
2answers
3k 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 ...
10
votes
1answer
18k 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?
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
1answer
4k 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 ?
9
votes
4answers
2k views

Putting iPhone passcode into Xcode, so I wouldn't need to unlock my iPhone for every build?

Is there a way that I could put my iPhone lock code into Xcode, so I wouldn't need to unlock my iPhone for every build? It gets really frustrating that I need to physically unlock my iPhone before ...
8
votes
2answers
29k 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?
8
votes
3answers
14k 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
3answers
8k views

Is it safe to erase ~Library/Developer?

In the user Library, there is a Developer folder with about 3.2 GB of space (2.8GB from DocSets and the rest mainly from Xcode/iOS DeviceSupport). I had Xcode installed, I presume these are from that? ...
8
votes
2answers
9k 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' ...
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
3answers
24k 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, ...
8
votes
3answers
7k 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
5answers
28k views

How to set gcc 4.8 as default gcc compiler

I recently installed gcc 4.8 using brew on OSX 10.7.5 (Lion). I can now compile using gcc 4.8 by using g++-4.8 some_file.c or using the default gcc 4.2 by using g++ some_file.c I want to use gcc ...
7
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 ...
7
votes
2answers
12k 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
3answers
9k 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
2answers
14k 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
5k 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
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
2k 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
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
2answers
2k 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
0answers
32k views

How to install command line developer tools in Yosemite? [closed]

I am trying to install xcode developer tools via this command: xcode-select --install and I have this error: "Can't install this software because it is not currently available from the Software ...