Questions tagged [xcode4.5]

Xcode 4.5 is the Sep. 19, 2012 release of 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.5 is the Sep. 19, 2012 release of 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 for Mac programming questions, or for iOS for general programming-related questions. 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.

Changed Features for September 19, 2012

  • Includes iOS SDK: iOS 6 (incl. support for the 4-inch Retina Display on iPhone 5 and iPod touch 5th generation, and added auto-layout support for iOS)
  • Includes Mac SDK: OS X Mountain Lion 10.8
  • New Localization Workflow
  • Updated some minor Objective-C syntax
  • OpenGL Debugger
  • Enhanced for Mac Retina
  • Bug Fixes

Bug Fix Releases:

  • Xcode 4.5.1, released on October 3, 2012, shipped bug fixes and stability improvements.
  • Xcode 4.5.2, released shortly afterward, added support for iPad Mini and iPad with Retina Display, and bug fixes and stability improvements.

See for more information.

1650 questions
11
votes
1 answer

Localize Localizable.strings with Xcode 4.5

Possible Duplicate: Localization - Add additional language to localizable.strings file With Xcode 4.5 SDK iOS 6.0, I cannot add localization to Localizable.strings file. In Xcode 4.4.1- under the list of all added languages was a "+" to add other…
Fry
  • 6,235
  • 8
  • 54
  • 93
11
votes
3 answers

crash report using optimization other than -o0 after xcode 4.5 update

I've updated to Xcode 4.5 today and I can't produce a functional release build of my app any longer. I had no trouble producing a release with the previous version of Xcode. I noticed that it doesn't crash when I run it directly on my phone in…
Dan
  • 113
  • 8
11
votes
3 answers

Xcode Code Completion "flicker"

I've recently upgraded from Xcode 4.3 to 4.4 and I'm about to bash my screen in with frustration. The problem I'm having is with the code completion. As I type a variable or method name, the completion window pops up with the suggestions like it's…
Will Moore
  • 510
  • 1
  • 5
  • 14
10
votes
1 answer

Xcode Copy Files Build Phase - what do the "Destination" options mean?

The Xcode docs for this don't explain exactly where each of the Destination paths maps to on disc, relative to my application package. If I use this app as an example, could someone give a canonical answer where each will put files relative to…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
10
votes
2 answers

Xcode 4.5 Automatically changing .xib files

Since I upgraded to Xcode 4.5 I've found that it's automatically removing a section of each xib file I visit. Here is the section:
Rob Jones
  • 4,925
  • 3
  • 32
  • 39
10
votes
2 answers

how to disable auto layout by default for xcode 4.5?

A question here: Xcode 4.5 corrupting XIBs? illustrates the problem and solution for xcode 4.5 creating nib files that can not run on ios5. Does anyone have a solution to prevent the auto layout checkbox from being defaulted to on? I'm worried that…
Mike
  • 894
  • 12
  • 19
10
votes
2 answers

Weird LLDB error in Xcode 4.5: Internal error [IRForTarget]

When putting breakpoint in some files, for example: Just newly created ViewController and putting breakpoint on viewDidLoad method I get strange LLDB error Internal error [IRForTarget]: Couldn't rewrite external variable…
Taras Kalapun
  • 1,761
  • 15
  • 19
10
votes
2 answers

Will installing XCode 4.5 remove iOS Simulator 5.1?

I have 2 machines. On one of them I updated to xcode 4.5, but doing so uninstalled my iOS simulator for 5.1. I'm hesitant to update my other machine as I have a project that requires the 5.1 simulator. Are my assumptions correct or did I do…
Jonas Stawski
  • 6,682
  • 6
  • 61
  • 106
10
votes
4 answers

iOS: Is there absolutely no way to build for armv6 in Xcode 4.5?

Starting with Xcode 4.5 the possibility of building for armv6 devices is not given anymore (iPhone/iPod touch 1st and 2nd generation). This means no new versions of our app for iPhone 2G and 3G which is very unlucky. Does anyone know if there will…
9
votes
1 answer

Find and replace in selection or single file - Xcode 4.5

I'm stuck with a bit of an Xcode puzzle: how can I find and replace either in a selection I've made, or at least just in a single file? According to the following topic there's a way to hold down the option key and Replace All should change to…
Jay Versluis
  • 2,062
  • 1
  • 19
  • 18
9
votes
3 answers

Error "Archive for In-App Purchase ... is invalid. The package contains an executable at 'Contents/xyz.m4a'"

I am creating a .pkg file for a couple of game levels using iOS 6 and Xcode 4.5.2. When validating the Xcode .pkg for the IAP content, it complained about m4a audio files that I have in the package for sound. The strange thing is that it says: "The…
9
votes
3 answers

iOS code coverage broken in Xcode 4.5?

I'm trying to set up code coverage in Xcode 4.5. To do so, I turned on Generate Test Coverage Files and Instrument Program Flow for debug setting. According to http://meandmark.com/blog/2012/08/xcode-4-generating-code-coverage-files-with-llvm/…
Karl
  • 14,434
  • 9
  • 44
  • 61
9
votes
7 answers

View drops 20 pixels when build against iOS 6 SDK in Xcode 4.5

After building my iPad app against iOS 6.0 SDK, I get this weird behavior with my UISplitViewController's detailed view. The detailed view is positioned 20 pixels (points / 40 pixels) lower than it should be. Here is what it looked like under…
MattyG
  • 8,449
  • 6
  • 44
  • 48
9
votes
3 answers

Bug in iPhone Simulator 5.1 with Xcode 4.5 using UIManagedDocument

I have a very weird problem I've spent the last two days trying to solve... I had a piece of code that was working perfectly fine on Xcode 4.4 and iOS 5.1 Simulator, using the 5.1 SDK. After I updated to Xcode 4.5 and the 6.0 SDK, my code stopped…
Breno Gazzola
  • 2,092
  • 1
  • 16
  • 36
9
votes
3 answers

XCode 4.5 giving me "SenTestingKit/SenTestKit.h" file not found, but works on 4.4.1

I just installed XCode 4.5 and it's giving me a 'SenTestingKit/SenTestingKit.h" file not found error on one of my existing projects. This error only happens in XCode 4.5, but it compiles fine on 4.4.1. I've checked that the SenTesting framework…
BeachRunnerFred
  • 18,070
  • 35
  • 139
  • 238