XCode is a suite of development tools (including an IDE of the same name) from Apple primarily for developing for its Cocoa environment. Questions about XCode should be limited to installation, basic usage/configuration, and troubleshooting.

learn more… | top users | synonyms

1
vote
1answer
301 views

Version Control for Eclipse that's like Xcode 4's version control?

I really enjoy Xcode 4's version control with git. It's all very simple and intuitive and enables me to be extremely productive. If I modify a file, a little 'M' pops up next to the file and all I ...
0
votes
2answers
232 views

Cannot find log navigator buttons in Xcode version 3.2.6

I'm completely new to the world of Xcode. Since my MacBook is too old for installing the newest Xcode version, I'm trying to learn with Xcode 3.2.6. Now I go through a book for learning Objective C ...
4
votes
0answers
600 views

Permission denied issue in cocos2d update

I have been trying to update to Cocos2D version 2, but I always get the following lines of code in the terminal. Installing Xcode 4 Box2d iOS template ...
2
votes
2answers
3k views

Why is it that XCode cannot push my changes?

I am writing an iOS application in XCode. I associated a remote repository to it. I finished writing a View Controller file and then went to File -> Source Control -> Commit. I wrote a commit ...
1
vote
1answer
5k views

How come I cannot create a new nib file in XCode?

I am trying to create a new nib file in my empty iPhone application project in XCode. I go to File -> New, after which XCode presents me with these options. I tried selecting "Objective-C ...
0
votes
1answer
145 views

How do I make XCode open files to the right?

When I double click on files in my left file panel in XCode while developing my iPhone application, they open in new windows. I want them to open in the right main area. How do I set that feature?
0
votes
1answer
78 views

How do I get rid of this odd dual view in XCode?

There was a run time exception in my iPhone application in Xcode, and this panel appeared that was divided in two. The left side seems to be my code, while the right side is marking where code is ...
0
votes
1answer
295 views

Transferring iOS/Mac App Store Developer Credentials

I'm a Mac/iOS developer, and currently have all my code and certificates/profiles on a single machine. I'm currently using a 500GB platter drive, but will be moving soon to a 256GB SSD. My drive is ...
14
votes
3answers
19k views

GCC on OS X Lion with Xcode 4.3.1

After installing Xcode 4.3.1 on OS X Lion, I have lost my GCC compiler. I need this for my study. Does anyone know how I will install this? All I have been able to find was people suggesting to ...
12
votes
2answers
1k views

Xcode: multiple key bindings per function

In Xcode I'd like the ability to set up several key bindings for the same function. For example, I'd like the step over function to be mapped to both F6 and F16. I don't see a way to do this from ...
1
vote
2answers
1k views

MonoMac project fails, ibtool returned error code 1, No Xcode folder is set

I have a new MacBook and have installed Xcode 4.3 with the command line tools. Homebrew is working so everything seems ok so far. I then installed MonoDevelop 2.8.6.5. If I create a new MonoMac ...
1
vote
1answer
5k views

Run apps from xcode to a device wireless?

Is there a way to run apps over air from xcode?
7
votes
1answer
6k views

Homebrew doesn't find XCode 4.3

When I try to install something with homebrew I get an error message that it does not find XCode. But I just installed XCode 4.3 and also did a reboot. admins-MacBook-Pro-2:~ ernst$ brew install ...
1
vote
3answers
3k views

Moved to a new Mac and now GCC is missing, what to do?

I have a new Macbook. I bought it, use time machine to move to it, and it copied everything and xCode runs fine, but when I go to the terminal and type gcc it says command not found. How do I get ...
2
votes
2answers
1k views

How do I wipe all preferences and settings for a Mac app that's under development?

On iOS, if you want to remove all settings and documents for an application during development and start from a clean install, you just need to delete it. However, on the Mac, removing the application ...
0
votes
3answers
3k views

How to view file's path in XCode?

I am trying to debug another developer's iPhone project. I am using XCode 4.2 on Mac OS X Lion. Now, when I try to compile the project, I get an error saying that some files are missing. These files ...
2
votes
0answers
1k views

Command /usr/sbin/chown failed with exit code 1 Error when archiving

I'm trying to archive a project to submit it to the iOS App Store, but keep getting this problem. I have already set yes to the skip install option, re-installed Xcode, rebooted and re-copied my ...
1
vote
0answers
669 views

Mac crashing with black screen on XCode install + random other times

I have a Macbook Pro bought over a year ago without extended warranty. Lately it has started crashing as follows - the screen goes black. The last note of the music (if playing, radio or iTunes) ...
4
votes
2answers
572 views

How did XCode/OSX do that? Moved an XCode project to another location. XCode automatically knew where it was located

Just a quick bit of background. I am a long time Windows, C# developer and for a new project for my employer, I've had to transition to OSX and begin learning iOS development. In other words, I'm ...
1
vote
0answers
148 views

XCode to debug gdb-debuggable executable

I have compiled a cmake-based executable that is (miraculously) debuggable in gdb. So examining hundreds of variables with the terminal becomes a little bit slow for very large projects and I would ...
3
votes
2answers
1k views

Do I need to buy a new Mac to develop iOS 5 apps?

I have a Mac mini I picked up a few months ago to learn about developing iPhone/iPad apps; it's an Intel Core Duo running OSX 10.6. I'm running Xcode 3.2.6. Can I not use this to test apps for ...
6
votes
1answer
990 views

How do you define a new language specification for color syntax highlighting in Xcode 4?

For Xcode 3 there is plenty of information available about how to define a syntax highlighting specification for a language not already supported in Xcode. But there doesn't seem to be any ...
2
votes
1answer
367 views

“internal logic error” after upgrading from Xcode 3 to Xcode 4.2

I've just upgraded to Xcode 4.2 a few days ago from Xcode 3. The project I have been working on seemed to get on well to 4.2 with no problem at all for the first few days. But then after I moved a ...
9
votes
5answers
3k views

Homebrew keeps saying XCode is not installed

I'm trying to installed Ruby using Homebrew, the OSX package manager. When I run 'brew install ruby' I keep getting the message 'Warning: XCode is not installed!'. XCode is installed, it's lying. ...
4
votes
2answers
4k views

Unable to view Xcode 4.2 help “index.html” is locked for editing

When viewing help documentation in Xcode 4.2 (iOS SDK 5) we get these error messages: "index.html" is locked for editing and you may not be able to save your changes. Do you want to unlock it? The ...
12
votes
3answers
50k views

Is there an Xcode 4.2 for Snow Leopard?

I was looking for Xcode 4.2 for Snow Leopard. I had heard that the official release for iOS 5 was also going to be Snow Leopard enabled. I could not find Xcode 4.2 + iOS5 for Snow Leopard on Apple's ...
4
votes
3answers
9k views

Where is the Xcode dmg file downloaded to?

I'm downloading XCode 4 onto my new Mac (10.7 Lion, so no DVD) from the App Store. It's taking several hours so I'd like to save the .dmg onto my laptop, so I can install it again without going ...
1
vote
0answers
181 views

Upgrade to OS X 10.7 Lion and Xcode 4 with low disk space

I want to upgrade to OS X Lion (from 10.6.8) but only have 2.5 GB free on my system disk. I also want to upgrade to XCode 4, so I have 10 GB in /Developer that I might be able to trash (though I'm a ...
2
votes
0answers
242 views

Save As… on Mac always saves in “Library/Autosave Information”

I'm incredibly frustrated with my Mac right now. Every time I try to re-save any file that I recently opened, it doesn't overwrite the file I opened, it instead saves to a duplicate copy that is ...
2
votes
1answer
405 views

Having Tabs in Xcode?

Can someone tell me how to make sure that when I open multiple files (i.e., xed blah1.c, xed blah2.c, and so on) from the Terminal that they open as different tabs and not as different windows? I am ...
2
votes
1answer
693 views

XCode 4 on snow leopard?

Is it still possible to get XCode 4 on snow leopard? I downgraded earlier today from lion, and need it.
0
votes
1answer
461 views

iOS Remote Development

Can an OS X Lion Server be used to develop remotely? If yes, could more than one person be on it at a time? Thoughts? I'm trying to find a way for users without Macs to remote in and learn how to do ...
2
votes
1answer
979 views

Is it OK to install Xcode on a removable drive?

I have a MBP running 10.6.8 with a 120 SSD hard drive. I would like to use XCode on the machine, but that requires a decent amount of space so I was thinking about an external drive. How closely is ...
1
vote
0answers
53 views

How to setup Xcode's SCM for static and dynamic site content?

I want to use Xcode 4's SCM (GIT) to manage your static and dynamic site content, which I edit and maintain with a variety of tools (CSSEdit, Dreamweaver and Espresso). I have tried creating ...
0
votes
1answer
1k views

Make on Mac OSX Lion [duplicate]

Possible Duplicate: Snow Leopard: make command not found, even though XCode is installed? How do I install GNU make on my Mac? I tried installing it from MacPorts, but that didn't work. I ...
1
vote
1answer
266 views

xcode 4 split view randomly stops syncing header and implementation

I'm relatively new to iOS development with Xcode4, but when I started using it it seemed like the default setting for the split view was to display the file you were editing in the left pane, and then ...
0
votes
0answers
544 views

How to do a bare minimum install of Xcode such that I can compile common UNIX applications

I just got a new macbook air where every bit of SSD disk space is precious. I want to be able to compile & run most of the open source tools out there. I figured out I needed to install Xcode but ...
1
vote
2answers
3k views

How do I install OSX Lion on Core Solo Mac Mini?

I have a core solo Mac mini that was being used as an HTPC up until now. It's the only Mac I have, so I thought I might try to salvage it to do some iOS development. For that I wanted to upgrade to ...
1
vote
1answer
849 views

How do I install Perl/Tk 804.29 from CPAN on OS X with the Xcode tools?

A friend tried to install Perl/Tk 804.029 from source on his MacBook Pro, but it failed during the build of the internal zlib archive: $ cpanp -i Tk [...] cd zlib && make libz.a "CC=llvm-gcc-4.2 " ...
1
vote
1answer
3k views

Downloading Xcode 4 for Snow Leopard

So I'm trying to download Xcode 4 for Snow Leopard, and it appears to me that you can no longer do so without upgrading to Lion? Is there some way to get this without having to upgrade my entire ...
5
votes
4answers
7k views

Errors when installing Ruby to Mac OSX Lion via RVM

I was trying to install the newest version of Ruby via RVM, after I upgraded my Mac to Lion and installed the new Xcode 4.1 from the App store. I get this error in the log: [2011-07-20 16:57:15] ...
0
votes
3answers
687 views

Xcode 4 iOS 4.3 download keeps stopping just prior to completion

I keep trying to download Xcode 4 with iOS 4.3 SDK and after about 16 hours and 3.1 GB the download stops--before the entire 4.3 GB of the IMG file makes it. It's happened three times now. I turned ...
12
votes
5answers
6k views

What is a “pipe” and how can it be “broken”?

I've gotten the "broken pipe" error from Xcode one time too many. I'm now curious to know exactly what a pipe is. What is the concept of a "pipe" and how can it be "broken"?
0
votes
1answer
1k views

Can a Mac Mini Server and XCode be used for multiple students? [duplicate]

Possible Duplicate: Can a Mac be used by multiple users at same time? I'm not an administrator but Ive been given the task of finding out whether this is possible. The scenario is like ...
2
votes
1answer
3k views

Can you install Xcode 4 on Snow Leopard Server without technical issues?

Simply put, is it possible to run Xcode on Snow Leopard Server? I want to know if there are any issues in doing so; not just in theory but with definitive answers. I say that because half people I've ...
0
votes
1answer
2k views

Open application from OSX Terminal with debug printouts

I can open an application using open, like this: open ./MyApp.app But this doesn't display the application's debug printouts - which I need. If I locate the binary inside the package manually and ...
1
vote
2answers
4k views

Mac OS X 10.6, Xcode 4, PowerPC C compiler?

When I try to cross-compile C code for PowerPC, I get the following error: llvm-gcc-4.2: error trying to exec '/usr/bin/../llvm-gcc-4.2/bin/powerpc-apple-darwin10-llvm-gcc-4.2': execvp: No such file ...
3
votes
2answers
6k views

Xcode installed, but gcc/ g++ compilers are not found

I thought Xcode would come with these compilers. Can i download them manually? Where do i find them?
5
votes
1answer
621 views

Keep Xcode from inserting copyright information in files

Whenever a new file is created in Xcode, it automatically inserts copyright information at the top of the file, like this: // // main.m // dl // // Created by Mark Szymanski on 5/9/11. // ...
5
votes
5answers
13k views

How to test if gcc is installed?

How can I find out if I have gcc installed on my machine? I am trying to run CodeRunner, but it isn't responding. I know you have to have gcc installed in order for it to work properly. I do have ...