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
27
votes
4 answers

SDKROOT path for latest SDK

I am using Xcode to build an old code and specify SDKROOT=/Developer/SDKs/MacOSX"${HOST_VERSION}".sdk/ I want to specify SDKROOT for latest SDK that comes pre-installed (?) on the system. e.g. I am on 10.8 already and I want to specify SDKROOT with…
JamesWebbTelescopeAlien
  • 3,547
  • 2
  • 30
  • 51
26
votes
1 answer

How can I set the iPhone 5 in simulator in the new XCode 4.5 GM?

I'm having some troubles with running/testing my App for the new iPhone. When running simulator with this newer version of XCode the iPhone 4" is not visible (anymore) under hardware->device. Did I disabled it or is my XCode broken…
BarryK88
  • 1,806
  • 2
  • 25
  • 41
25
votes
2 answers

XCode deployment target iOS 6 = compatibility to?

I seem to be not understanding the effects of a specific deployment target in XCode (4.5) correctly. Specifically, I got an app in the app store that was previously set for deployment target 5.0, meaning on the app store page it says "requires iOS…
pille
  • 1,411
  • 1
  • 15
  • 18
25
votes
4 answers

Xcode Storyboard displaying the new iPhone 5 screen size?

I have the latest version of Xcode. In one of my projects I noticed that the views for the iPhone were the new iPhone 5 screen sizes. I like it but is there a way to switch back to the smaller screen size? Not everyone has the iPhone 5.
flyers
  • 514
  • 2
  • 5
  • 16
24
votes
2 answers

Can't exclude user interface state from commit in xcode

I can't exclude user interface state file from commit. Every time I'm trying to push to github it asks me to commit first and insert user interface state file into the changes (even if I didn't move the mouse or interface at all it still is shown to…
titicaca
  • 813
  • 1
  • 11
  • 20
23
votes
3 answers

lldb error: property not found on object of type

I am trying to debug my iOS app using lldb and I'm getting really weird errors on debug. A few lines before my breakpoint, I've got: CGRect frame = view.frame; Which I can access with no problems with print frame command in lldb. However, when I try…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
22
votes
2 answers

how to highlight countries in ios maps

I am building an app in which I have to highlight some countries dynamically in the world map. In short I want to customize the whole view of ios maps as shown in the images. can this be done using MapKit or is there any other method. Thanks in…
Rajesh
  • 937
  • 1
  • 8
  • 14
21
votes
5 answers

what does "exited abnormally with signal 9: Killed: 9" mean

How to read error codes which appear in the console? : ....... -exited abnormally with signal 9: Killed: 9 : ....... -1 err = Bad file descriptor (0x00000009) Here what does signal 9 mean, are there any more signals apart from…
weber67
  • 525
  • 1
  • 9
  • 18
21
votes
3 answers

Xcode with iOS - Creating a library in a way that is easy to run in debug mode, distribute, iterate

This is for Xcode 4.5.x iOS armv7 armv7s and the sim and specifcially about Xcode project setup / project build setup: I have a project "A" that is an app in the app store. I have a project "B" that is a library that will be used in A as a…
jpswain
  • 14,642
  • 8
  • 58
  • 63
21
votes
3 answers

xcode timed out waiting for app to launch

Application get fail to launch in device having iOS 6.0 from xcode 4.5. Xcode says Application can't be launched timed out waiting for app to launch. I reset my all device settings. Cross checked if i choosed right provisioning. Yes, its right. here…
Ketan Shinde
  • 1,847
  • 4
  • 18
  • 38
20
votes
2 answers

Implicit conversion of NSInteger error

Using MagicalRecord, I am trying to get the record with a particular clientNumber which is a NSInteger (defined as int16 as the data type). This is my line of code where I'm getting the error: ClientInfo *clientSelected = [ClientInfo…
SpokaneDude
  • 4,856
  • 13
  • 64
  • 120
20
votes
2 answers

Can't change target membership visibility in Xcode 4.5

I currently try to exclude my In-App Purchase logic in an App of mine to make it reusable in other Apps of mine or even put it on a public git repository for others to use. For this purpose I follow this guide of creating a framework in XCode. But…
CGee
  • 1,650
  • 5
  • 20
  • 31
20
votes
3 answers

Did Apple remove the 'git gui' command in Xcode 4.5 command line tools?

After updating to Xcode 4.5 and installing the developer tools I can no longer run the 'git gui' command from the command line. It says: $ git gui git: 'gui' is not a git command. See 'git --help'. I'm running this version: $ git --version git…
joseph.hainline
  • 24,829
  • 18
  • 53
  • 70
19
votes
3 answers

Why is the row property of NSIndexPath a signed integer?

Why is the row property of NSIndexPath a signed integer? Could it ever take on a "valid" negative value? edit I haven't thought about this until today when I set LLVM to check sign comparison. This made the compiler spew out warnings whenever there…
MdaG
  • 2,680
  • 2
  • 34
  • 46
18
votes
2 answers

UIPickerView can't autoselect last row when compiled under Xcode 4.5.2 & iOS 6

I have been beating my head against the wall trying to diagnose my app's inability to automatically preselect the last row of a UIPickerView using code that successfully worked under older versions of XCode. I think this is a bug in Xcode rather…
user1819329
  • 411
  • 3
  • 9