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

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 ...
59
votes
5answers
122k 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.
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 ...
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: ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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 show,...
3
votes
3answers
7k 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 (...
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 ...
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 ...
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 ...
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 ...
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
19k 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
1answer
995 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 ...
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 ...
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
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 ...
5
votes
3answers
14k 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 ...
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
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
2k 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 ...
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

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

What are the minimum and recommended hardware requirements for Xcode development on OS X?

I am a freelancer programmer and so far I have only worked on projects on Windows platform. I don't have much idea about OS X hardware. I am not looking for a very high end configuration but ...
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
2answers
433 views

Updated XCode to 7.0.1 via the app store but it still shows itself at 6.4 in the app and missing the new features

I tried to update Xcode to 7.0.1 today and it told me that I needed to get OS X 10.10.4 or greater (I had 10.10.3). I agreed to that update, but it didn't update OS X and has now marked XCode as being ...
3
votes
1answer
485 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 ...