Questions tagged [xcode4.2]

the Oct. 12, 2011 release of Apple's integrated development environment (IDE) for Mac OS X and iOS. USAGE NOTE: Use this tag only for questions that are specific to this version of Xcode, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [ios] for iOS programming questions.

Xcode 4.2, Apple's integrated development environment (IDE) for Mac OS X and iOS, was released October 12, 2011.

Use this tag for questions that are specific to Xcode 4.2, and not for general programming questions. Use the or tags for macOS programming questions; use the or tags for iOS (formerly iPhone OS) programming questions; for questions about the Objective-C language and its features, use the tag; also, avoid adding the Xcode tag if your question would stay the same if you would use any other editor for writing your program code.

New Features:

  • support for Mac OS X 10.7 Lion and iOS SDK 5.0
  • Apple LLVM compiler 3.0 with Automatic Reference Counting (ARC)
  • LLVM compiler support for C++’0x features using the new LLVM libc++ standard library
  • Storyboarding support to design multi-view workflows for iOS
  • OpenGL ES graphical debugger
  • Location Simulation

Note:

Xcode 4.2 is the last version to support Mac OS X 10.6 (Snow Leopard), but is only available to registered developers; without an account, 3.2.6 is the latest download that appears for Snow Leopard.

Source: Release notes for Xcode 4.2

See for more information.

1965 questions
20
votes
5 answers

Setting the style of UITableView section headers

I'm working with iOS 5 and have dynamically generated cells in a table (2 sections of 3 rows each). Each section has a header that is also dynamically generated using the titleForHeaderInSection call. I also have an image set as the background for…
Russell Winkler
  • 277
  • 1
  • 3
  • 12
19
votes
5 answers

Facebook iOS SDK 3.1 with XCode 4.2 linker errors

I've just updated the Facebook iOS SDK in my project from 3.0 to 3.1. The project does not compile anymore. Instead I get the following linker errors: Undefined symbols for architecture i386: "_ACFacebookAppIdKey", referenced from: …
borisdiakur
  • 10,387
  • 7
  • 68
  • 100
19
votes
4 answers

NSTextField Vertical alignment

I am creating cocoa app in which i created NSTextField programmatically like this, NSView *superView = [[NSView alloc] initWithFrame:NSMakeRect(0, 300, 1400, 500)]; NSTextField *myTextField = [[NSTextField alloc] initWithFrame:NSMakeRect(180, 100,…
iUser
  • 1,075
  • 3
  • 20
  • 49
18
votes
10 answers

Bitbucket + XCode 4.2 + Git

I've been looking for a solution with Bitbucket and XCode. As everybody knows, XCode 4.2 comes with git support. I've created a bitbucket account and I wanted to push my changes to my repository, I've followed this…
raul782
  • 479
  • 1
  • 5
  • 15
18
votes
7 answers

Which is the cause for dyld`dyld_fatal_error, a incompatible api on iOS?

I'm moving part of my projects to iOS 5 / ARC. One of the oldest project (iOS 4.2, armv6 for support iPod Touch 2g) is giving to me: dyld`dyld_fatal_error: 0x8feb1070: int3 0x8feb1071: nop Just after the launch image but before going to…
mamcx
  • 15,916
  • 26
  • 101
  • 189
17
votes
3 answers

How to delete things when I'm using the storyboard?

When it comes to Xcode4.2, I'm really in a puzzle about the storyboard. For example, I add a label to a view in the storyboard, but after a moment, I feel it's not the thing I needed.How can I delete this label?
Ringo_D
  • 342
  • 1
  • 2
  • 12
16
votes
1 answer

After Upgrading from Xcode 4.2 to Xcode 4.3, instruments command line fails

After upgrading from Xcode 4.2 to Xcode 4.3, the instruments command line tool fails with the following error: Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path.
Heath Borders
  • 30,998
  • 16
  • 147
  • 256
16
votes
1 answer

How do you create a Shell Script target in Xcode 4.2?

I was wondering if anyone knew with XCode 4.1 how to create a shell script. The option for that doesn't exist, but it might be called something else in the latest version. Ta
Doz
  • 7,009
  • 12
  • 61
  • 69
16
votes
3 answers

rootViewController set in Storyboard not showing on App Launch

I started with an Empty Application and added the storyboard file myself, added a View Controller to the storyboard and then embedded it into the Navigation Controller. Now, when I launch the app in iOS Simulator - nothing shows. Screenshot of my…
tarheel
  • 4,727
  • 9
  • 39
  • 52
16
votes
3 answers

how to get XCode to add build date & time to Info.plist file

Finally... after a couple years of watching and a month of participating, I have a chance to ask you guys a question of my own. My boss doesn't trust me (or any process) to increment a build number, he also wants to have a build date & time baked…
Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215
16
votes
8 answers

Xcode 4.2 creating navigation based application

I just tried to create navigation based application via xcode 4.2 and all I found in the new window have nothing to do with navigation based application .. I found page based application which is the nearest thing to the navigation based…
Mohamed Emad Hegab
  • 2,665
  • 6
  • 39
  • 64
16
votes
4 answers

Finding File Owner in Xcode 4.2

Please glance at the image below and help me find a File Owner for the class. Generally i would connect my UILabel to it, but, alas, i can't find it. Question: What should i connect my Label to? Storyboard: Meanwhile class is set up as
James Raitsev
  • 92,517
  • 154
  • 335
  • 470
16
votes
4 answers

Storyboards and custom container view controllers

I'm creating a custom container view as per the apple spec. I would like to use the storyboard to connect three static child UIViewControllers. Is there an easy way in the storyboard to connect via a Relationship as seen for the…
Stephen
  • 522
  • 5
  • 12
15
votes
2 answers

How to properly set run paths, search paths, and install names?

I have a collection of projects that I'm compiling as dynamic libraries. Each of these .dylibs depend on other various .dylibs that I would like to place in various other directories (i.e. some at the executable path, some at the loader path, some…
BigMacAttack
  • 4,479
  • 3
  • 30
  • 39
15
votes
8 answers

Making the launch image display longer xcode

I need help with launch images on iphone. In the project settings on xcode theres an option to add launch images. I added it and it displays for 2 seconds... I want it to be more... How can i change it? Thanks :)
Matan
  • 456
  • 2
  • 8
  • 18