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
33
votes
3 answers

How to enable/ disable "Automatic Reference Counting"?

Using Xcode 4.2, how can one enable/disable "Automatic Reference Counting"? ANSWERED Under Build Settings, flip "yes" and "no" depending whether you want ARC enabled.
James Raitsev
  • 92,517
  • 154
  • 335
  • 470
32
votes
2 answers

Is ARC really supported in iOS 4? The iOS 4.2 SDK is missing ARC-related symbols at linking time

I've read and heard since ARC was first announced that it was a compile-time thing and would be backwards-compatible with iOS 4. I have successfully refactored my project to ARC using Xcode 4.2's automatic refactoring, and when compiled against the…
Doug McBride
  • 514
  • 1
  • 4
  • 13
32
votes
2 answers

Cross compiling FreeTDS to iPhone

Since this question is unanswered and I spent the majority of a semester figuring it I thought I would post how to Cross compiling FreeTDS 0.91 to iPhone ARMv6, ARMv7 architecture. This was done using Xcode 4.2 and iOS 5 SDK. The reason this…
Tristan
  • 661
  • 9
  • 15
30
votes
3 answers

What does the acronym DDI stand for when Xcode emit "Checking DDI symbol" when building?

Please provide link(s) to authoritative sources (e.g. Apple, etc). Thanks.
Global nomad
  • 1,037
  • 12
  • 25
28
votes
1 answer

conflicting distributed object modifiers on return type in implementation of 'release' in Singleton class

I have recently upgraded to Xcode 4.2 and its started to give me so many semantic warnings with my code... one of them is "conflicting distributed object modifiers on return type in implementation of 'release'" in my singleton class.. I read…
Kiran S
  • 448
  • 5
  • 14
27
votes
4 answers

What does it mean when you check on "Recursive" in Header Search Paths

I've been referencing a lot of Projects, and i do it through adding their paths in Header Search Paths. I've been following the referencing stuffs through the "Referenced Project's" getting Started (like for example including the ZXingWidget). And…
Vincent Bacalso
  • 2,071
  • 4
  • 23
  • 34
26
votes
4 answers

Xcode 4.2 Warnings when dropping Nav Controller on Tab Bar in IB

I'm developing an app which is iOS 4 compatible, so my deployment target is set to iOS 4.0. Whenever I drop a UINavigationController onto a UITabBar, I get these two warnings: warning: Attribute Unavailable: Defines Presentation Context is not…
user975284
  • 261
  • 1
  • 3
  • 3
25
votes
1 answer

What do the icons in Xcode 4's debug area variable list mean?

Is anyone able to provide a definitive guide to the labelled icons in Xcode 4's debug area variable list? Here's a list of what I have at the moment. I can't figure out what they mean: It's not intuitive. For example, I have BOOL and…
Steve HHH
  • 12,947
  • 6
  • 68
  • 71
24
votes
9 answers

'libxml/xmlversion.h' file not found in xcode 4.2?

i am integrating twitter application in my application my application is created in xcode 4.2 using ARC when i implemented code for twitter from this code. it worked perfectly when i just download the project & run it. when i integrate this twitter…
Hrushikesh Betai
  • 2,227
  • 5
  • 33
  • 63
24
votes
2 answers

Unsupported configuration plain style unsupported in a navigation item

When i try to add a button to a navigation bar, i got this warning: unsupported configuration plain style unsupported in a navigation item Concerning the Plain style, i don't find it in interface builder since i moved to Xcode4.2. EDIT: @Michael:…
Malloc
  • 15,434
  • 34
  • 105
  • 192
24
votes
4 answers

ios 5 UISearchDisplayController crash

I am implementing a UITableView with UISearchDisplayController in xcode 4.2. UITableView & UISearchDisplayController are created in StoryBoard. I set the Cell Identifier (SampleCell) for UITableView and access it like cell = [tableView…
moon
  • 1,392
  • 3
  • 15
  • 29
23
votes
4 answers

Will Apple accept Apps with deprecated code?

Will Apple accept Apps for selling inside the App-Store with deprecated code?
TheAustrian
  • 337
  • 3
  • 10
23
votes
2 answers

What is the difference between Copy Bundle Resources and Copy Files for Xcode build phases?

Could someone explain the difference between the Copy Bundle Resources phase of Xcode and a Copy Files phase? When would I use "Copy Files"?
Ben Flynn
  • 18,524
  • 20
  • 97
  • 142
21
votes
4 answers

Xcode 4.2 (Snow Leopard) and iOS 5.1

Possible Duplicate: ios 5.1 with xcode 4.2 for iOS development I updated my iPhone to iOS 5.1. My operating system is Snow Leopard. Now I need the sdk 5.1 to develop, with xcode 4.2. Where can I download it? Any suggest? Solution: Downgrade to…
Dany
  • 2,290
  • 8
  • 35
  • 56
21
votes
1 answer

Download Xcode 4.2 documentation for offline install

I've read a few posts on how to install the missing documentation on Xcode 4.2 by going into the documents manager and downloading it directly. Other questions suggest me to look into the rss feed, but I get only the Mac OS Lion Core reference, I…
David Conde
  • 4,631
  • 2
  • 35
  • 48