Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 22, 2011, 12:43 AM   #1
larswik
macrumors 65816
 
Join Date: Sep 2006
Setting up Xcode 3.x.x

So I took your guys advice and started with Objective-C. For my Pascal class I used a Linux machine and have not used Xcode in a while. Also I just finished installing it on my new 6-Core machine.

Are their any default preferences I should set up? Also when I ran the default 'Hello World' on the console it came up with a bunch of junk I want to get rid of, like the GNU, copyright and 10 other misc lines of information.

Where do I shut that off?

-Lars
larswik is offline   0 Reply With Quote
Old May 22, 2011, 02:12 AM   #2
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: Sydney
You can't shut off the initial output of gdb under XCode. XCode is invoking gdb with the -q option that is meant to suppress the initial output, but for some reason the initial output is still appearing. When I invoke gdb (either in /usr/bin or /Developer/usr/libexec/gdb) from the Terminal, it does suppress it, so I don't know where the bug is.

Last edited by jiminaus; May 22, 2011 at 02:25 AM.
jiminaus is offline   0 Reply With Quote
Old May 22, 2011, 05:26 PM   #3
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: Sydney
Having just seen code you posted in another thread, I would suggest changing Xcode to indent using spaces instead of tabs. I can't tell you where this setting is in the XCode 3 preferences, I've been using XCode 4 for too long to remember. If there's a Text Editing group, try under that.

Edit: Thanks to Google Books, I found the relevant pages of an XCode 3 book. Under the indentation group, untick "Tab key inserts tab, not spaces".

Last edited by jiminaus; May 22, 2011 at 05:29 PM. Reason: Found XCode 3 setting
jiminaus is offline   0 Reply With Quote
Old May 22, 2011, 05:55 PM   #4
larswik
Thread Starter
macrumors 65816
 
Join Date: Sep 2006
I was holding off on Xcode4 for because people said it was buggy. Also I was worried if they changed it so much that the book I am reading will look different then what is on the screen.

1. Should I get 4?
2. Will 4 overwrite 3 (I would like to keep 3 intact just in case?

-Lars
larswik is offline   0 Reply With Quote
Old May 22, 2011, 06:03 PM   #5
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: Sydney
Quote:
Originally Posted by larswik View Post
1. Should I get 4?
2. Will 4 overwrite 3 (I would like to keep 3 intact just in case?
They can install side-by-side in say /Developer and /Developer4. I remember people saying XCode 3 got moved into a folder called something like /Developer-old when they installed XCode 4 via the Mac App Store.

I've not found XCode 4.0.2 to be buggy. I (for one) prefer XCode 4 to XCode 3. But I would suggest sticking with XCode 3 for now, only because books and the material on the Internet is oriented towards XCode 3. XCode 4 is quite a bit different in lots of aspects.
jiminaus is offline   0 Reply With Quote
Old May 22, 2011, 06:12 PM   #6
larswik
Thread Starter
macrumors 65816
 
Join Date: Sep 2006
I will hold off, thanks.

-Lars
larswik is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Setting countdowns in Xcode robertwinters iPhone/iPad Programming 2 Mar 28, 2014 02:36 AM
Setting targets and actions in Xcode Aarend iPhone/iPad Programming 2 Mar 3, 2014 08:55 AM
setting targets and actions Xcode Kapthehat iPhone/iPad Programming 21 Jul 4, 2013 01:05 AM
Moving from xcode 3.2 to xcode 4.5.2 compilation error for 'abs' macro in stdlib.h hrishidev Mac Programming 7 Jun 2, 2013 10:36 AM
Xcode 3 vs Xcode 4 when dealing with Objective-C timebourne Mac Programming 8 Sep 23, 2012 05:36 PM

Forum Jump

All times are GMT -5. The time now is 11:12 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC