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
0
votes
2 answers

Xcode shows an error, but there is no error

error: property 'airportIATA' not found on object of type 'Flight *' [3] ... @interface Flight : NSManagedObject @property (nonatomic, retain) NSString * airportIATA; ... But this property exists. Is it any way to reset Xcode4? Upd. It seems that…
Shmidt
  • 16,436
  • 18
  • 88
  • 136
0
votes
2 answers

Why isn't my tableView loading?

I have the following code, where I believe the NSFetchRequest is in fact working, but there is nothing showing in my tableView(peopleList) after the viewWillAppear runs. -(void)viewWillAppear:(BOOL)animated{ AppDelegate *appDelegate =…
tarheel
  • 4,727
  • 9
  • 39
  • 52
0
votes
3 answers

Objective C , keeping Data in a UItableView View even after the closing the Application

I am developing an App using XCode 4.2 and in a section of the Application I need to store NSString format strings in a UITableView and save use it again when the application restarts... the data is saved in an NSMutableArray variable . I found a…
user1051935
  • 579
  • 1
  • 10
  • 29
0
votes
1 answer

Implementing object mapping using RestKit in Objective-C

I am having trouble mapping a JSON response to objects using RestKit and Objective-C. I have already set up my RKObjectManager and mappings in my AppDelegate as suggested in my previous post by mja. I call my backend in my controller as per the…
Nick
  • 5,844
  • 11
  • 52
  • 98
0
votes
1 answer

Cocoa: How to erase line from image by painting?

How to erase line from image (for example CIImage or NSImage or bitmap) by painting it? Just like eraser. I wonder how to do that with Core Graphics?
Justin Boo
  • 10,132
  • 8
  • 50
  • 71
0
votes
1 answer

Program crashing when compiled with xcode 4.2

I tried to run my project in ios 5 simulator then the app crashes with this message thread 1 program received signal sigabrt i googled it regarding this problem and followed forums it says to check your interface builder outlets and check whether…
Prateek Chaubey
  • 653
  • 2
  • 10
  • 24
0
votes
3 answers

objective C saving history of items

I am new to App development , I am using XCode 4.2 I am creating an application that reads QR codes . I would like to be able to save the string (NSString format) and possibly the image in a history list so that even if the user close the…
user1051935
  • 579
  • 1
  • 10
  • 29
0
votes
1 answer

application executable is missing a required architecture. At least one of the following architecture must be present armv7

Possible Duplicate: iPhone/iPod Touch: application executable is missing a required architecture I have tried three days for solving this problem. I want to update my iOs application but i can not submit appStore for this reason. I am using Xcode…
0
votes
2 answers

Mapping a JSON response to an object using RestKit and Objective-C

I am relatively new to Objective-C and am attempting to use RestKit to receive a JSON response from a web service. I have successfully received the data back to my application, which looks like this viewing the…
Nick
  • 5,844
  • 11
  • 52
  • 98
0
votes
1 answer

ignoring file ../Test/build/Debug-iphoneos/libTest.a, missing required architecture i386 in file

I have created static library and it's working fine for device but giving warning "ignoring file ../Test/build/Debug-iphoneos/libTest.a, missing required architecture i386 in file" if I try to deploy it on simulator and hence gives error for all…
Pooja M. Bohora
  • 1,311
  • 1
  • 14
  • 42
0
votes
0 answers

Load specific elements from UIWebView into UITableView?

I've been having trouble building a UITableView around an HTML table that loads in a UIWebView, currently I have the web view visible to make sure the search query is working properly, what I want to do, is load the results table into a UITableView,…
iExiledDev
  • 109
  • 9
0
votes
1 answer

how an app can run one time and does not run another time without change

I have a game in cocos2d 2.0. It compiles without errors but one time it runs without error then I press stop and when again I run it, it stops with an error. the next time it runs and the next time does not and so on. even runs work, odd runs do…
Abbas Mousavi
  • 486
  • 3
  • 17
0
votes
1 answer

How to set frame of UIButton

There's UIButton, button1 for example. I want to set its frame in the code. I tried button1.frame = CGRectMake(20,20,50,50); but I've seen no effect. And I try to output the width in an alert: alert.message = [NSString stringWithFormat:@"%f",…
Cuero
  • 1,169
  • 4
  • 21
  • 42
0
votes
1 answer

Can I deploy to Lion 64 bit and Snow Leopard 32 bit?

I'm developing an app on a 64-bit machine with Lion and Xcode 4.2. I'm not doing anything special with the 64bit environment or lion specifically and would like this app to run on 32bit Snow Leopard machines. Can I do this? If so, what specifically…
Aaron Bratcher
  • 6,051
  • 2
  • 39
  • 70
0
votes
2 answers

ios5 , TSAlertView don't pop up, who can tell me why?

it is a Single View Application, and I just add a button above it when I click the button, it will show the key board. and I can't auto release TSAlertView in onBtn function. Who can tell me why, I am really confused. - (void)viewDidLoad { …
Jane_Meng
  • 749
  • 1
  • 9
  • 18