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

33
votes
8answers
39k 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 ...
2
votes
3answers
3k 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 ...
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 ...
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.
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 ...
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 ...
5
votes
2answers
6k views

How can I create a dictionary for Mac OS X?

Dictionary seems to be several versions ahead of the Apple documentation (2007). I found a good blog post about it, but everything seems different now. I installed Xcode (including the command line ...
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?
5
votes
1answer
771 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 ...
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
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 ...
1
vote
0answers
570 views

Command line tool installed, but gcc/g++ compiler not working

Heads up, I have a similar problem such as in this question, but it wasn't resolved: how to debug configure.sh errors when compiling rsync on Yosemite So basically I am looking to compile code via ...
1
vote
1answer
732 views

how to debug configure.sh errors when compiling rsync on Yosemite

I am trying to build myself a new version of rsync 3.1.1 under Mac OS 10.10.3, as the mac comes with an older version, and the project does not distribute binaries. I followed this simple script but ...
0
votes
1answer
2k 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 ...
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: ...
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 ...
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 ...
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 ...
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.
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 ...
5
votes
4answers
14k views

Xcode appears to be installed but xcodebuild is unusable

I was had to reinstall Xcode 4 and now I'm getting message Xcode appears to be installed but xcodebuild is unusable; and xcodebuild exists but failed to execute all the time when I try to install ...
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?
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
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 ...
4
votes
5answers
354 views

Disable OS X Server's shutdown prompt?

I've just installed OS X Server. Whenever I try to shut it down (as a local interactive user), I keep seeing a prompt that requires me to enter an admin's name and password before proceeding with the ...
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?
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
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 ...
6
votes
1answer
14k 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
404 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 ...
6
votes
1answer
12k 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 ...
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 ...
3
votes
1answer
7k views

How do I acquire SDKs to build target pre-8.0 iOS?

I have installed XCode 6 and it came with the iOS 8 SDK but i need to test on devices still running 7.1 and cannot figure out how to get the iOS 7 SDK now without downloading an older version of XCode ...
2
votes
1answer
9k views

Xcode 5.1 won't launch — “being updated” — but already installed

trying to launch Xcode 5.1 and keep getting "Xcode is being updated". It was updated last week and shows as installed. Screen shots to illustrate. Any ideas? I went to the developer portal, but it ...
2
votes
1answer
3k views

Run and build Visual Studio project on Mac OS X

Can I open a Visual Studio C++ project on Mac OS X and run the app?
2
votes
3answers
2k 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
5answers
14k 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
1k 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 ...
0
votes
1answer
451 views

Can iBeacon range/region monitoring trigger “dynamic”/data-based notification?

I've looked everywhere (and am a Java/web developer so can't try testing in Xcode myself) but don't know the answer to; Can an iBeacon range and/or region event (for an iOS app that is not running ...
0
votes
1answer
175 views

Xcode 6.1 won't let me create a new project

I'm running Xcode 6.1 on OS X Yosemite and I'm unable to create a new project, as you can see below it just says 'loading'. I've removed the product and org name for the purpose of this image. I have ...
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 ...
6
votes
3answers
5k views

Command Line Tools fail to install OS X Lion 10.7.3 Xcode 4.3

I'm trying to install the command line tools to get gcc, make, and other goodies after a Lion upgrade. I went to Preferences → Downloads in Xcode and attempted to install the command line tools. At ...
5
votes
1answer
776 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 ...
4
votes
3answers
4k 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
285 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 ...
3
votes
3answers
517 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
378 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
0answers
309 views

Xcode not updated after updating through Mac App Store

I recently downloaded Xcode 6.1 from the Mac App Store and after downloading it, Xcode shows the version is still same as the old one (5.1). When I go to the Mac App Store and search for Xcode, it ...