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

50
votes
10answers
61k 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 ...
58
votes
5answers
120k 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 ...
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.
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 ...
6
votes
2answers
8k 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 ...
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 ...
50
votes
19answers
63k 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: ...
14
votes
5answers
50k 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 ...
40
votes
3answers
112k 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 ...
4
votes
6answers
1k 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 ...
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.
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 ...
5
votes
1answer
977 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
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
2k 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
1k 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 ...
0
votes
1answer
3k views

can't install xcode, issue with MobileDevice.pkg

I am trying to install xcode on my mac version : Mac OS X Lion 10.7.5 But I'm having a problem, i download xcode version 4.6.2 from Appstore after i installed the app i clicked on the icon in the ...
48
votes
6answers
60k 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?
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 ...
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 ...
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.
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 ...
6
votes
4answers
17k 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
8k 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
4k 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 ...
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 ...
14
votes
3answers
26k 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 ...
12
votes
2answers
55k 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 ...
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
1answer
18k 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 ...
5
votes
3answers
415 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 ...
3
votes
3answers
6k views

Remotely distribute an iOS app compiled in Xcode 7 without App Store, developer program sub, or jailbreak?

Following these instructions (see also Apple's developer documentation and BoltClock's answer to Test iOS app on device without apple developer program or jailbreak), I was able to compile an iOS app ...
3
votes
1answer
17k 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 ...
13
votes
4answers
24k 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 ...
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 ...
5
votes
3answers
12k views

Xcode 7 develop for iOS without developer account

I have updated my iPod to iOS 9 and want to make my own apps for it, however, I do not want to pay for a developer account because of how much it costs. I read that in Xcode 7 that you can develop ...
5
votes
2answers
1k views

Quicklook stopped working with xcode's .m and .h file suddenly

A week ago, quicklook stopped working with .m and .h files. Instead, it's showing me a .m or .h thumbnail. I think that day a message box popped up and I didn't read it — I answered the question ...
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
1answer
4k 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
2answers
1k 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 ...
1
vote
1answer
1k views

Different programs in the same Xcode C++ project

I am trying to use XCode as my training environment for simple C++ programs. If I create a new project, I can successfully complete everything (compile, run) but If I add one more file, it can't ...
1
vote
5answers
16k 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
249 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 ...