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
15
votes
8 answers

Xcode- Deleted images appear in simulator

Mac OS X Lion v10.7.2 Xcode v4.2.1 Build 4D502 gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Thu Nov 3 21:59:02 UTC 2011) I have a bunch of images in my resource folder,…
jsherk
  • 6,128
  • 8
  • 51
  • 83
15
votes
7 answers

Xcode 4 - clang error

I'm migrating from Xcode 3.5 to Xcode 4 and while I'm trying to Archiving my app for AdHoc distribution. I received this error Precompile MyApp_Prefix.pch ProcessPCH…
Tuyen Nguyen
  • 4,389
  • 7
  • 51
  • 77
15
votes
4 answers

How to add initial view to Storyboard file?

I started an "Empty Application" template, this means that I had to add my own storyboard file. Problem is, it is completely blank, and I can't figure out how to get the first view on there, so I can start designing my interface. Anyone know how to…
tarheel
  • 4,727
  • 9
  • 39
  • 52
14
votes
2 answers

iOS scheme goes missing when I branch my project (Xcode 4.2)

In Xcode 4.2 when I create a new branch and open it, the iOS scheme which exists in the Master is lost. Instead I have a scheme for 'Mac 64 bit." This has happened a few times in a row and I handle it by creating a new scheme, deleting the 'Mac 64…
spring
  • 18,009
  • 15
  • 80
  • 160
14
votes
5 answers

aws sdk for mac os x application development

I need to develop an application for MAC OS X, which will be uploading the chosen files to amazon web services. But for that I need aws sdk for mac. I haven't found any on the web. Is it possible to modify the AWS SDK for iOS so it can be used for…
Omer Waqas Khan
  • 2,423
  • 4
  • 33
  • 62
14
votes
2 answers

MKMapView still sending messages to delegate after it's superview has been de-alloc'ed

EDIT: changed the title. I didn't know it at the time but this is a duplicate of Why am I crashing after MKMapView is freed if I'm no longer using it? This question is similar to Why is object not dealloc'ed when using ARC + NSZombieEnabled but…
XJones
  • 21,959
  • 10
  • 67
  • 82
14
votes
1 answer

How to add Entitlement.plist in xCode 4.2

I am using the Xcode 4.2. I did not able to see any method to add Entitlements.plist in this version. So how can i do add that file in my project since i need to install my app on iPhone.
Sandeep Dhama
  • 614
  • 1
  • 6
  • 20
14
votes
2 answers

How can we know the default Installation Directory of XCode through command line?

Is there a way to know the Default Installation Directory of XCode through command line? (I know default is /Developer, but what if i changed it to /XCode42, then in this case how can i get path) Also where is those environment variables are set and…
DShah
  • 9,768
  • 11
  • 71
  • 127
14
votes
2 answers

Enabling crash logs symbolication in Xcode 4.2

I am using Xcode 4.2 and my crash logs are not getting symbolicated. How to enable this in Xcode 4.2?
Abhinav
  • 37,684
  • 43
  • 191
  • 309
14
votes
9 answers

ARC and weak IBOutlet properties

I just updated a project to make use of ARC with the Xcode 4.2 built-in conversion tool. Unfortunately there is a weird bug appearing that I don't understand and didn't find anything about. I have a document class with a property…
Jacque
  • 820
  • 1
  • 9
  • 15
14
votes
6 answers

How to change the skin color of face from the source image in ios?

MY code: How to manage RGB value for differet shades of face,and how to apply? this code will change the color of face along with hair,but i want 1.only face to be colored excluding hair. -(void)changeSkinColorValue:(float)value…
madhyamika
  • 141
  • 1
  • 3
14
votes
2 answers

Multiple views in Xcode storyboard view controller, one of them won't appear in storyboard editor

I'm having trouble updating a project someone else created in Xcode. This is an app built in storyboard and in one case, there is a scene with a view controller that has multiple views underneath it in the document outline palette of the storyboard…
Chris Hart
  • 2,153
  • 1
  • 23
  • 45
14
votes
3 answers

How to assign NSArray data to NSMutableArray in iphone?

In my application I have an NSArray which contains some data. I want to take that data and put it into an NSMutableArray called subArrayData. I am able to insert the data from my first array into the mutable array, but when the application runs I am…
Nilesh .S. Joshi
  • 567
  • 2
  • 9
  • 26
13
votes
7 answers

Warning is not displayed in Xcode Issue Navigator

My project builds with a warning, but it is not displayed in the "Issue Navigator". How can I get to this warning so I can resolve it? I've tried clicking on the warning on the top of the window but that does nothing. I'm using Xcode 4.3.
T.J.
  • 3,942
  • 2
  • 32
  • 40
13
votes
3 answers

Storyboards orientation support for xCode 4.2?

I upgraded to xCode 4.2 and it's new Storyboards feature. However, could not find a way to support both portrait and landscape. Of course, I did it programmatically, with 2 views, one for portrait and one for landscape, like in old days, and: if…
Beny Boariu
  • 736
  • 2
  • 11
  • 26