Xcode is Apple's Integrated Development Environment (IDE) for developers working on Mac OS X. Xcode 4 is the fourth major version of the app.
30
votes
4answers
30k 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 ...
14
votes
1answer
5k views
How to compile mod_wsgi, mod_fastcgi, etc on Mountain Lion 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 ...
11
votes
2answers
21k 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 ...
10
votes
3answers
5k 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 ...
6
votes
2answers
1k 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' ...
6
votes
2answers
4k views
How to use Xcode 4 mergetool in a standalone fashion?
I sometimes have to make git merges on the console. Up until now, for resolving conflicts, I was using Xcode 3's FileMerge (you can open it on the console using the 'opendiff' command). If conflicts ...
5
votes
4answers
3k views
Missing autoconf/automake in Xcode 4.3?
After I purged Xcode 4.2 and installed Xcode 4.3 from App Store, I can not find autotools (automake/autoconf) through the command line. I've tried to run find /Applications/Xcode.app -name 'automake', ...
5
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? ...
5
votes
3answers
2k 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 ...
5
votes
2answers
834 views
Mac OS and distributed compile
Is there an alternative to distcc on Mac OS X Lion?
Apple recently removed distcc from Xcode. It's a feature I use a lot. If I want to update to the latest version of Xcode I will have to give it up.
...
4
votes
4answers
7k 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?
4
votes
1answer
1k views
How to use a custom text editor (like Emacs.app or MacVim) in Xcode 4?
In Xcode 3 we could change file type settings, like indicated below:
Using External Text Editors with Xcode
There are lots of text editors available on Mac OS X. If you shelled
out good ...
4
votes
1answer
3k views
Why does Xcode always have trouble submitting archives to iTunes? [closed]
Some Background
Xcode not submitting to iTunes flawlessly has ALWAYS plagued me! I just don't understand what's going on, ever!
I know what I am doing, I have quite a few apps in the iTunes App ...
3
votes
2answers
4k views
Can't install Xcode Command Line Tools on Mountain Lion
I try to install the most recent (july 25) version of Command Line Tools (xcode44cltools_10_76938107a.dm), downloaded from https://developer.apple.com/downloads/, but are stopped with the error ...
3
votes
3answers
4k views
Xcode 4 and Snow Leopard
This is the thing :
I have Xcode 4.3 on my MacBook Pro (running Lion)
I am stuck with 4.0.2 on my iMac (running Snow Leopard)
Given that I would really like to retain a SnowLeopard-running machine ...
3
votes
3answers
5k views
Installing Xcode with iOS 4.3 device simulator?
I installed Xcode 4.3.1 two days ago. I need to access the iOS 4.3 device simulator, but it is not available in the new Xcode. So I went to Xcode > Preferences > Download (tab) and downloaded the ...
3
votes
2answers
2k views
Can I delete folder Developer-3.2.5?
I saw a similar question (Can I delete the /Developer-3.2.6 folder?), but I am unclear if it would break anything. That question assumes the user is not a developer, so I was a little worried and ...
3
votes
1answer
664 views
Xcode 4.1 does not show any recent projects
I would like to ask you what is wrong with my Xcode 4.1. Every time I launch it, it show me that there are "No recents" nevertheless the fact that I have created lots of projects.
P.S.:
defaults ...
3
votes
2answers
2k views
How do I restore autoconf after Mountain Lion update?
I upgraded my macbook to Mountain Lion today and found that I no longer have autoconf installed, is there a specific way to restore that or will I need to manually compile it etc? I have XCode 4.4 ...
3
votes
1answer
2k views
Command Line Tools fail to install OSX 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 the ...
2
votes
3answers
343 views
How do I deploy a custom app to my iPhone?
I'm taking a mobile phone app development class, and will be making custom apps using Xcode. I'm able to run the app from Xcode on my iPhone 4 no problem, however when I disconnect the phone from the ...
2
votes
8answers
4k views
Xcode failed to download. Use the Purchases page to try again
Xcode is showing in App store ready to be upgraded. Clicking upgrade results in above error.
Steps taken that didn't help:
Rebooting
Removed ~/Library/Cookies/com.apple.appstore.plist
Searched and ...
2
votes
1answer
1k views
Subversion - Homebrew vs. Xcode command line tools
I have to update Subversion on my system because I'm working with a server which is running the version 1.7 and this stops me to make commits.
This is the error it returns:
$ svn commit
svn: The ...
2
votes
1answer
274 views
What are some good resources for learning how to AppleScript with Xcode 4.3.2?
I AppleScript quite a bit and I'd like to start working with Xcode 4.3.2, so that I can expand the functionality of the things I'm writing. However, I have no idea how to use Xcode, nor how to ...
2
votes
1answer
760 views
Xcode Quad Core Optimization
Is Xcode (Using Xcode 4.2) optimized for a quad core processor? My real question is will Xcode's performance be noticeably different with a dual core i7 as opposed to a quad core i7?
I might be ...
2
votes
1answer
256 views
How do I export an XCode app so I can publish it on my website, not in the Mac App Store?
How do I export an XCode app so I can publish it on my website, not in the Mac App Store?
2
votes
2answers
115 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 ...
2
votes
1answer
376 views
XCode 4.5 downloading documentation
I have installed XCode 4.5. During the installation there was an error about downloading the documentation. I did not pay much attention, but I think the error was same as that mentioned in:
this ...
2
votes
1answer
577 views
“Build and go” equivalent in Xcode 4 [closed]
To the Xcode nerds out there, how can do I "Build & Run" in Xcode 4? I can't find this feature whereby the project is built and launched in Terminal (in the case of my C terminal apps) ...
2
votes
0answers
786 views
Better PHP syntax coloring for XCode, and support for short_open_tag [closed]
The syntax coloring definition for PHP in Xcode (as of 4.5.1) is pretty poor:
probably some 30% of PHP keywords are missing from the definition and are not highlighted as such
PHP blocks in the ...
1
vote
2answers
403 views
Is Eigen provided with XCode?
I found out that I have some Eigen file in /usr/include/eigen3/...
Is Eigen provided by deafult with XCode 4.3 or were them installed by me with a package manager like macport or homebrew?
I'm ...
1
vote
2answers
660 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
4answers
402 views
1
vote
1answer
727 views
How do I get a Unix Executable File to run from anywhere, like Java or Git?
I've just created my first Command Line Tool in Xcode.
What do I have to do, or where do I have to put the final output file, so that I can run it from anywhere from within terminal, without having ...
1
vote
1answer
546 views
What is icon\r file and how do I delete them?
I notice that within my xcode project I see an icon\r file. When I go to the folder where the project is from finder, I dont see this file. I believe this is some sort of hidden file that I should ...
1
vote
1answer
85 views
Something has been wrong with my finder and Mac. How to fix?
Finder is often unresponsive.
Also in many software, like xcode or any project. I used to be able to right click and select open in Finder. Now if I do that nothing happen.
Zip utility is much ...
1
vote
1answer
116 views
How to change 2 properties in Xcode 4?
I would like to do 2 things in the xCode:
enabling spelling correction in the comments.
unrolling the lines of code/comment, I mean like when I have a long line of code xCode won't break it to 3-4 ...
1
vote
1answer
127 views
Xcode stops running when I don't watch it for a while. What's wrong?
I am (trying to be) running Xcode 4.3.2. on Lion 10.7.3
I noticed that when I stop watching Xcode and walk away from the computer for a while (like half an hour or so), Xcode in the mean time stopped ...
1
vote
1answer
989 views
Problem Updating Xcode 4.1 to 4.2
I had installed Xcode 4.1 on Lion and recently I saw the update for Xcode in the appstore. It was to update my current Xcode 4.1 to 4.2 with iOS5 SDK. It's around 1.8 GB of download and I did update ...
1
vote
1answer
731 views
Copying Xcode.app from App Store to another computer (under different Apple ID)
I don't want to re-download the 1.4GB of file, and the app itself is free. We're both Apple developers. Is there any way I can copy mine to his machine?
This is the current version of Xcode that ...
1
vote
1answer
777 views
I can't get gcc to compile DevIL library [closed]
I'm writing an OpenGL application in C++ using Xcode 4 on Lion. To load textures, and keep the application platform independent, I plan on using DevIL.
To install DevIL on my mac I ran ./configure ...
1
vote
1answer
259 views
Is it possible to install both Xcode 3 and 4 side-by-side, alternate use either one or the other
I've got a handle on how to install Xcode 3 and 4 on the same machine (running OS X < 10.7), so I'm looking more how to manage this environment.
Rather: is it possible to enter some shell command ...
1
vote
0answers
20 views
Use a custom version of clang in Xcode
I installed the recent version of clang (to /usr/local/). How do I set up Xcode to use this and not the built-in version of clang?
1
vote
0answers
67 views
How does one get IOS SDK 5.0 or higher? [closed]
I cannot find IOS SDK 5.0 Did Apple remove that SDK as an option?
Also, I already have the latest Xcode installed. Shouldn't I be able to select IOS SDK 5.0 within that environment? When I ...
1
vote
1answer
97 views
Xcode commit view: keyboard shortcut for jumping to the next change?
When I commit my code from Xcode (File -> Source Control -> Commit), is there a command (that can be assigned a shortcut presumably) to jump to the next change in the commit view? This will allow to ...
1
vote
1answer
84 views
Making all application windows stay fullscreen on relaunch
I usually have 4+ fullscreen windows open whenever I use Xcode 4. When I quit Xcode, and reopen it, only one or two of the windows open as fullscreen, and the rest all open in a single desktop as ...
1
vote
2answers
295 views
Problem of installation xcode4 and then xcode3
I install Xcode4 first in the default path /Developer then I install Xcode3 in /XCode3 It seems that the installation was not completed because I can't see Xcode.app in /XCode3/Application. What ...
0
votes
2answers
3k views
Xcode update for 10.6.8
I would like to use a newer version of Xcode (current version on my system is 3.2.4) and the command line tools (gcc & make).
I have tried to install Xcode through the Mac App Store, however I ...
0
votes
1answer
448 views
Install Clang 3.1
What would be the best place to manually install llvm/clang binaries in OS X 10.7 without conflicting with existing/future versions shipped with xcode?
Thanks!
0
votes
1answer
473 views
Force style of push notification? [closed]
I was wondering - is there a way to force how a push notification will appear to the iPhone user? There are 3 options in settings for the user to choose - none, some kind of top banner that ...

