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

59
votes
5answers
123k 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 ...
54
votes
19answers
64k 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: ...
52
votes
10answers
62k 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 ...
49
votes
6answers
61k 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?
41
votes
3answers
114k 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 ...
38
votes
4answers
33k 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?
32
votes
3answers
28k 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, ...
31
votes
3answers
8k 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 ...
31
votes
4answers
30k 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.
22
votes
2answers
12k 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 ...
19
votes
3answers
57k 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 ...
18
votes
6answers
4k 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 ...
18
votes
4answers
22k 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 ...
18
votes
2answers
8k views

Xcode.app gets scanned by socketfilterfw (OS X Firewall) at every launch

Situation: When I launch Xcode, socketfilterfw, OS X's application based firewall, starts using a lot of CPU. After some research I narrowed it down to this: socketfilterfw reads all the files in ...
17
votes
4answers
12k 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 ...
17
votes
5answers
7k 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.
16
votes
4answers
15k 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
3answers
29k views

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 these steps however when I run the application I ...
15
votes
6answers
4k 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
3answers
2k 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?
15
votes
2answers
53k 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 ...
14
votes
9answers
44k views

Where can I download Xcode (n) Beta?

I want to start developing in Swift. I already own an apple developer account, yet am struggling to download Xcode (n) beta. How can I do this? Thank you in advance.
14
votes
5answers
53k 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 ...
14
votes
5answers
26k views

Xcode update would not work, and now won't leave the App Store update queue

Hello I am trying to remove this update. It was not working and I ended up downloading the Xcode update directly from apple.developer, it gave me no problem. This has been my spring cleaning project ...
14
votes
1answer
10k views

Reopen Swift 2.0 migration tool in Xcode 7

I just opened a Swift project on the new Xcode 7. I didn't really look on what button I clicked and closed the migration tools without migrating anything. Any idea how I could reopen it?
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
1answer
875 views

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?
13
votes
2answers
60k views

Enable “Developer” inside the “Settings” app on iOS

Before Xcode 6 one could go to the Xcode Organizer window. Tap on the Devices tab. Select the connected device and click the "Use for Development" button. See here. However with Xcode 6 there are no ...
13
votes
4answers
48k 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?
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 ...
12
votes
5answers
23k 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
2answers
40k 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?
11
votes
4answers
17k 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 (...
11
votes
3answers
15k 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? ...
11
votes
3answers
13k 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' ('MyProject/...
11
votes
2answers
4k 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 ...
11
votes
3answers
8k 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 ...
11
votes
2answers
3k views

Can't update Xcode

I am aware there are more questions with the same title, but I couldn't find any other post with this specific case. I have XCode 7.0 and I want to update to the last version (7.3). But it doesn't ...
10
votes
3answers
10k 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
13k views

How to accept Xcode license?

I want to install a C based toolbox on Matlab software. To do this, I should install GCC compiler. I think I have done that already. And also I have Xcode too. To setup the toolbox I need to write "...
10
votes
3answers
14k 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 ...
10
votes
4answers
6k views

git is broken: “Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo”

My install of git seems to be broken, and it looks like somehow my Developer Tools are broken. When I try to run git, I get this error. This happens both with /usr/bin/git and /opt/local/bin/git (...
10
votes
5answers
4k 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 ...
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
7answers
17k views

Xcode failed to download, use the purchases page to try again

I continue to get this error each time I try to install xcode: "Xcode failed to download, use the purchases page to try again" This is with the newest OSX 10.10.3. I found this thread: Xcode failed ...
9
votes
3answers
19k 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 ...
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
3answers
28k 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 require a developer account and build an app to run on a jailbroken iOS device. I have a 5th gen iPod Touch, ...
9
votes
3answers
2k views

How to uninstall Xcode IDE without completely removing the dev tools

I wanted to enable the developer libraries in Mac (RoR, Perl, gcc etc.) so I installed Xcode. I am only interested in these command line tools and will not be using Xcode (or other GUI tools with Mac ...