Questions tagged [xcode4]

Xcode 4, released in June 2011, is Apple's integrated development environment (IDE) for Mac OS X and iOS. This tag should only be used for questions about this specific version of Xcode, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, or [cocoa-touch] for iOS (formerly iPhone OS) programming questions.

Xcode 4 is the successor to Xcode 3, the main development tool for developing software under Mac OS X, targeting Mac OS and iOS. It was introduced to the developer community at Apple WWDC 2010, and the final release was published in March 2011. It was replaced by Xcode 5 in September 2013.

References

See for more information.

5408 questions
44
votes
3 answers

How can I have the only column of my NSTableView take all the width of the TableView?

I am currently trying to learn a bit of Cocoa (using the book Cocoa Programming for Mac OS X). In one of the exercises, we set up a NSTableView with only one column, to act as a list of things. What annoys me is that in Interface Builder, I could…
tsimbalar
  • 5,790
  • 6
  • 37
  • 61
44
votes
9 answers

Vim key bindings in Xcode?

Is there any way to have Vim key bindings in Xcode?
Chris
  • 39,719
  • 45
  • 189
  • 235
44
votes
7 answers

How to display compiler output or custom build steps output when building with xcode?

How can I see the output from the compiler of from the custom build steps (pre-action or post-action)?
sorin
  • 161,544
  • 178
  • 535
  • 806
44
votes
10 answers

Storyboard Zoom In/Out Keyboard Shortcut

What shortcut key combination can I use in Xcode to zoom in and out? Yes, I know this is a silly question but a Google search didn't give me any result. Even the Xcode keyboard shortcuts didn't give me much info. Maybe I must ask for a better…
Lennie
  • 1,999
  • 4
  • 27
  • 42
44
votes
10 answers

Xcode project CMD-Click on symbol to 'Jump to Definition' does not work

I've been using Xcode 4.3.1 since it came out now and I've worked on many different projects since. Everything has always worked fine until this new project I'm working on. The code completion/code sense never finds anything. When I 'Command+Click'…
rob1302
  • 1,631
  • 3
  • 15
  • 18
43
votes
1 answer

Creating breakpoint in Xcode for unrecognized selector

Is it possible to set the breakpoint in Xcode to have the debugger stop only on unrecognized selector? I have other exceptions that are triggering, and I only want to trigger on the unrecognized selector exception, nothing else.
AWF4vk
  • 5,810
  • 3
  • 37
  • 70
43
votes
5 answers

How to create dSYM file in XCode 4?

Can you please let me know how can I create .dSYM file using XCode 4? Thanks!
meetpd
  • 9,150
  • 21
  • 71
  • 119
43
votes
4 answers

Where is the expression window in Xcode 4?

How can I add an expression to watch in Xcode 4? This should be very obvious, but it is not. It does not seem to be down any menu or available on a contextual click. It would be nice if I could highlight a variable or expression and then "Add to…
jcpennypincher
  • 3,970
  • 5
  • 31
  • 44
43
votes
8 answers

Xcode 4 Archive Version Unspecified

I'm trying to build a release version of my iPhone app in Xcode 4 and when it finishes and launches Organizer, there is no version number, it only says "unspecified". This is preventing me from using Xcode 4's Validate and Submit features. Any ideas…
Matt DeWitt
  • 533
  • 1
  • 4
  • 5
43
votes
15 answers

Xcode 4: Auto-complete & Jump to Definition broken in my Xcode 3 Project

My project was created in Xcode 3, I'm opening it in Xcode 4 and notice the following: 'Jump to Definition' no longer works with my own symbols (However UI* and even TT* symbols do work fine!) Auto-complete / 'Code sense' is as bad as Xcode 3,…
Jimmy
  • 639
  • 1
  • 5
  • 9
43
votes
25 answers

Xcode 8.0 Command /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

When I compile my code on Xcode Version 8.0 beta 4 (8S188o) I get this single error bringing the compilation to failure: Command /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit…
Fabrizio Bartolomucci
  • 4,948
  • 8
  • 43
  • 75
42
votes
9 answers

Xcode using FIXME, TODO, ???,?

I have started to use the FIXME, TODO, ??? and !!! tags in XCode but have am finding it painful that it does not recognise the tags when they are within a function. The tags are only recognised outside a given function. How can I get these tags…
Ben
  • 836
  • 1
  • 9
  • 19
42
votes
4 answers

Running script only for an 'Archive' build in Xcode 4

I have a script that I run using osascript from a Run Script Build Phase in Xcode 4. This script does some checks to try and catch any human-error in plists and suchlike. However, I only really want to run this script when a developer chooses…
Wex
  • 4,434
  • 3
  • 33
  • 47
42
votes
13 answers

Xcode cannot run using the selected device

This is the message while trying to run under XCode 4 (it used to work under XCode 3): No provisioned iOS devices are available. Connect an iOS device or choose an iOS simulator as the destination. I have profiles for my device for this app... where…
SpokaneDude
  • 4,856
  • 13
  • 64
  • 120
42
votes
4 answers

Renaming targets in Xcode 4

In Xcode 4 I changed the name of my cocoa Application's Target Name because I wanted to change the name of the executable. The Build works fine but after compiling Xcode still starts the old executable that is still listed in the Products folder in…
TalkingCode
  • 13,407
  • 27
  • 102
  • 147