Questions tagged [xcode3.2]

The June 2009 release of Xcode, Apple's integrated development environment (IDE) for its Mac OS X and iOS platforms.

Xcode is Apple's integrated development environment (IDE) for development for its Mac OS X () and iOS (/) platforms. Documentation for Xcode 4, the newest major version, can be found in Apple's Xcode 4 User Guide. Apple also has a good starting point for new users.

This tag covers:

  • Project organization
  • Source code editing
  • Build system
  • Unit testing
  • Interface Builder (in Xcode 4 and later only; it is separate in 3 and earlier)

Xcode comes with Apple's Mac OS X and iOS SDKs bundled, but that does not mean questions about the use of those SDKs are questions about the IDE. Consider what changes your question would require if you were using vi to edit and make to build; if your question would remain unchanged, then it is not an Xcode question, so you should not give your question the tag. Use the (Mac) and/or (iOS) tags instead.

See for more information.

277 questions
79
votes
3 answers

Compile Error with: switch, "expected expression before"

Cut to the chase I have recreated my problem as it is fairly self explanatory. this complies without error: switch (n) { case 1: NSLog(@""); NSString *aStr; break; default: break; } this compiles with…
Ross
  • 13,412
  • 11
  • 57
  • 88
69
votes
6 answers

Keyboard shortcut for Jump to Definition

I'm looking for a keyboard only shortcut for Jump to Definition. The built-in shortcut requires the mouse: ⌘ + Double click. I've tried to add a regular keyboard shorcut for the Edit>Find>Jump to Defintion menu command, but, alas, it will only work…
Arne Evertsson
  • 18,823
  • 18
  • 64
  • 82
57
votes
3 answers

Which version of Xcode does xcodebuild use?

I have installed both Xcode 3.2 and Xcode 4.0.2 on the same machine, which uses Hudson for automated CI (continuous integration) builds. When I say that both were installed, what I mean by that is that I can use both Xcode 3 and Xcode 4…
kraftydevil
  • 4,864
  • 5
  • 38
  • 59
23
votes
4 answers

Undefined symbols for architecture i386

Possible Duplicate: symbol(s) not found for architecture i386 I have an app to complete, and when I start trying to understand what the previous developer did (it was done with Xcode 3 I think) by executing the simulator, Xcode 4 show me 25…
highthem
  • 245
  • 1
  • 2
  • 6
22
votes
4 answers

How can I stop Xcode 3.2.6 defaulting to the iPad Simulator? Is this new behaviour?

It seems like every time I launch an Xcode project or 'Clean all Targets' the Active Executable resets to the iPad simulator. Prior to the Xcode 3.2.6 release Xcode was defaulting to the iPhone Simulator or remembered my previous Active…
Jessedc
  • 11,538
  • 3
  • 45
  • 63
20
votes
2 answers

How do you keep Xcode project source files in sync with your file system directories?

I'm new to XCode and I find the file management a huge pain. In most IDEs, you can simply have the project source tree reference a directory structure on disk. This makes it easy to add new files to your project - you simply put them on disk, and…
Scott S
  • 401
  • 3
  • 7
19
votes
6 answers

How to update Xcode to install "UNIX Development Support"?

I installed Xcode a long time ago. Apparently I didn't check back then the "UNIX Development Support" checkbox. Now I want to have them but when I click on the installation this is what appears: The UNIX Development Support check box is…
OscarRyz
  • 184,433
  • 106
  • 369
  • 548
18
votes
2 answers

XCode: Function argument indentation

I was unable to find any solution of my specific issue. I'm using Xcode 3.2. I'd like to indent the next line of function argument just one step in from the previous line: somevariable = pow( a, b); However, Xcode's syntax-aware indenting…
Victor Yudin
  • 181
  • 3
17
votes
2 answers

Way to restore Xcode to accept armv6 architecture?

I have a 3rd party .a library, which is apparently compiled for only armv6 compatibility, where both new Xcodes (3.2.6 and 4), both now require a separate armv7 slice to run on the device. The link error is: file is universal but does not contain…
Owen Hartnett
  • 5,827
  • 2
  • 17
  • 34
13
votes
4 answers

How to find and remove unused class files from a project

My XCode project has grown somewhat, and I know that there are class files in there which are no longer being used. Is there an easy way to find all of these and remove them?
node ninja
  • 28,340
  • 55
  • 153
  • 242
12
votes
1 answer

How to display the exact line of code causing application crash in xcode 4 debugger like in xcode 3.2

I just downloaded xcode 4 recently and have read the xcode transition guide, however, I am still wondering how do I get the same feature for debugger in xcode 4 like in xcode 3.2. When I program in xcode 3.2 and run my application, if my code…
code007
  • 2,297
  • 2
  • 18
  • 26
12
votes
3 answers

XCode Compiler Error: ld: library not found for -loauth

I'm trying to use the Twitter libraries and after adding liboauth.a and adding oauthconsumeriphonelib to my header search path, I'm now down to 1 compilation error, which I can't seem to get rid of. ld: library not found for -loauth Command…
Nefsu
  • 408
  • 1
  • 5
  • 16
12
votes
1 answer

"a valid provisioning file for this executable was not found" in XCode

I'm trying to submit my second app to the App Store. I've followed all the instructions to the best of my knowledge, but I keep getting this error when I try to build and run: "a valid provisioning file for this executable was not found" I'm letting…
dbonneville
  • 1,959
  • 4
  • 18
  • 26
11
votes
2 answers

XCode 3.2: Changing the default "Code Sense" indentation and whitespaces

I'm working with XCode 3.2 (on "Snow Leopard") which (still) has this nice "Text Macro" auto-completion feature (eg. if you type if it will expand to if (<#condition#>) { <#statements#> }). These macros are also available via "Edit->Insert Text…
rluba
  • 1,974
  • 2
  • 18
  • 26
10
votes
5 answers

How to speedup xcode builds without any project modifications?

Last version or XCode (3.2.1) is running very slow on OS X 10.6. What kinds of tweaks can you do to your Mac in order to speedup Xcode build process. I'm not looking for general hints like how to restructure your projects, just tweaks that are…
sorin
  • 137,198
  • 150
  • 472
  • 707
1
2 3
18 19