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
7
votes
1 answer

Can not include .ttf font into project

I am trying to include the font "Hipchick" into my project but it does not work. I have tested a few methods and ended up with this one: iOS tips: Custom Fonts to try to solve this but it still doesn't work. Here is some screens and code: The font…
PeterK
  • 4,243
  • 4
  • 44
  • 74
7
votes
2 answers

How to change the colour of the UIPageControl when used in ios 5 simulator

I am using the following code in my application :- In .h file @property (strong, nonatomic) IBOutlet UIPageControl *pageControl; and in .m file pageControl.currentPage = counting; counting is NSInteger. The application works fine but the…
vinay
  • 351
  • 1
  • 5
  • 16
7
votes
1 answer

Unable to install app on iOS 6.1

I am facing a problem in installing ios app on the iphone with iOS 6.1. all the provisioning profiles and certificates works fine. App installed successfully on previous versions of iOS i.e.. 6.0.1, 5,4. I am using testflight to download and install…
Aadil Ali
  • 351
  • 1
  • 15
7
votes
7 answers

ibtool failed when compiling storyboard

I just downloaded a project from a git repository on two different Macbooks. On the first, it runs without problem. On the second Macbook shows me the following message: Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with…
javsmo
  • 1,337
  • 1
  • 14
  • 23
7
votes
3 answers

How to simulate protected properties and methods in objective-c

Possible Duplicate: Protected methods in objective-c The way to declare private properties is simple. You declare that in extension that's declared in .m files. Say I want to declare protected properties and access it from the class and…
user4234
  • 1,523
  • 1
  • 20
  • 37
7
votes
3 answers

XCode 4.5 warns about method name conflicts between Categories for parent/child classes

I'm working on a project that was originally built in XCode 4.0, and then migrated to using XCode 4.2. Now I've tested out migrating to XCode 4.5, and I'm getting a ton of warnings like below... instance method 'values' in category from…
Jim
  • 6,753
  • 12
  • 44
  • 72
7
votes
3 answers

XCode 4.5 'tr1/type_traits' file not found

I use the wxwidget library and I have the following problem: #if defined(HAVE_TYPE_TRAITS) #include #elif defined(HAVE_TR1_TYPE_TRAITS) #ifdef __VISUALC__ #include #else #include…
Aranir
  • 828
  • 1
  • 10
  • 21
7
votes
3 answers

How to set up working logic unit tests target in Xcode 4.5 "Command Line Tool" project?

Having trouble getting unit tests set up for a specific scenario. Here's what I'm trying: In Xcode 4.5, I created a simple OSX "Command Line Tool" application project (Foundation). Note that Xcode does not provide the option to add unit tests to a…
7
votes
3 answers

Deprecated UILineBreakModeCharacterWrap Warning

I am getting a warning of deprecated in ios6 when using label.lineBreakMode=UILineBreakModeCharacterWrap; Is there any other method for this?
Bond
  • 328
  • 4
  • 16
7
votes
3 answers

Xcode4.5 assembler fails to compile files that Xcode4.4 handled perfectly

After update xcode to 4.5 version I have an error Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1 I read about error like this after update, but changing the…
user1595102
  • 127
  • 2
  • 8
7
votes
3 answers

IBAction in Xcode 4.5

Anybody experiencing no response for IBAction touchUpInside in Xcode 4.5, deployment target iOS 5 as well? It works in simulator for me having iOS6, but not iOS5.
Michal
  • 15,429
  • 10
  • 73
  • 104
7
votes
8 answers

The document "MainStoryBoard.storyboard" could not be opened

The document "MainStoryBoard.storyboard" could not be opened. The operation couldn’t be completed. (com.apple.InterfaceBuilder error -1.) Our team using SVN and when one of our developer committed the code, the others are get above message and are…
Say2Manuj
  • 709
  • 10
  • 20
7
votes
1 answer

xcode 4.5, iPhone 5 breaks my UIScrollView

So I've got a pretty complex project. I'm using both interface builder and xcode directly to build objects. Right now I have UIScrollViews being built in IB, where they need to be, and UIButtons built on top of those scrollviews. There are…
Jeff Stone
  • 319
  • 1
  • 4
  • 14
7
votes
2 answers

Xcode 4.5: no "com.apple.product-type.application" product type for iphoneos

I just upgraded Xcode to version 4.5, but I now get this error when trying to run it on my iPhone: target specifies product type 'com.apple.product-type.application', but there's no such product type for the 'iphoneos' platform It works fine on the…
Tyilo
  • 28,998
  • 40
  • 113
  • 198
7
votes
2 answers

Upgraded to XCode 4.5 for armv7s but XCode 4.5 removes armv6 but cannot restrict requirements

I've upgraded to XCode 4.5 to add armv7s arch support, however, I found that you cannot generate armv6 binaries with XCode 4.5. I already support armv6, but, wanting to support armv7s with XCode 4.5 seems to force me to contradict the clause: "You…
Christian
  • 1,900
  • 14
  • 19