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
175
votes
3 answers

What's the meaning of Base SDK, iOS deployment target, Target, and Project in xcode

Say I set base SDK to 7, what does it mean? It could mean that the app would run on iOS 7. But that's what iOS deployment target is for. Also why do I specify those 3 values in both project and target. It doesn't make sense. Why specify the same…
user4951
  • 32,206
  • 53
  • 172
  • 282
167
votes
15 answers

Could not change executable permissions on the application

Just updated to iOS 6 sdk and latest Xcode and get this when trying to build to my 3gs. I 've added armv6 under valid architectures? "Could not change executable permissions on the application"
Alex McPherson
  • 3,185
  • 3
  • 30
  • 41
137
votes
17 answers

iOS Simulator failed to install the application

I have created a Cordova 2.1.0 app, It ran fine for the first 2-3 times. But now when I am trying to run it through terminal it is giving me the following error.I didn't change anything. Ankurs-Mac-mini:~ ankur$…
Ankur Arya
  • 4,693
  • 5
  • 29
  • 50
120
votes
3 answers

What's the difference between "Architectures" and "Valid Architectures" in Xcode Build Settings?

What's the meaning of them and can I set them in different values?
northtree
  • 8,569
  • 11
  • 61
  • 80
115
votes
31 answers

"Auto Layout still required after executing -layoutSubviews" with UITableViewCell subclass

Using XCode 4.5 and iOS 6, I'm developing an app with a simple table view with custom cells. I've done this a hundred times in iOS 5 and below, but for some reason the new autoLayout system is giving me a lot of trouble. I setup my table view and…
Mike Mayo
  • 1,259
  • 2
  • 9
  • 5
113
votes
10 answers

Change templates in Xcode

How would I change the initial templates created by Xcode when creating a new Cocoa Class. I am referring to the comments and class name created when using Xcode's new class wizard.
Misha M
  • 10,979
  • 17
  • 53
  • 65
100
votes
3 answers

Does anyone know what the new Exit icon is used for when editing storyboards using Xcode 4.5?

Right-clicking the Exit icon yields an empty window. Can't Ctrl-drag a connection to any IB elements or corresponding source files. Docs give no love. Doesn't appear in nib files, only storyboards. My assumption is that it's a corollary to segues,…
rsswtmr
  • 1,776
  • 5
  • 16
  • 26
94
votes
21 answers

how to fix the issue "Command /bin/sh failed with exit code 1" in iphone

I used a cocoa static library in my application. When I compile my library I got the following error: Shell Script invocation error:can't open input file: /Users/sijuthomas/Library/Developer/Xcode/DerivedData/SCXML2- …
Ben10
  • 3,221
  • 2
  • 34
  • 61
61
votes
2 answers

XCode: Can I delete test target?

What would happen if I delete the test target for my app? Would this affect my other target? How would I go about properly deleting the target?
user1486548
  • 1,201
  • 4
  • 15
  • 22
53
votes
7 answers

How to support both armv6 and armv7s for release build in xcode 4.5

I know that this is not possible and Apple planned it this way to force the users to upgrade their devices. But I just want to know if there is some workaround or hacks in able to do this? The client insists that we should still support armv6…
schystz
  • 800
  • 1
  • 8
  • 21
52
votes
4 answers

Very slow tab switching in Xcode 4.5 (Mountain Lion)

I recently updated my MacBook Pro (2.3 GHz Intel Core i5) from Lion to Mountain Lion and simultaneously upgraded Xcode to the latest 4.5 version. I've experienced one very irritating problem. While programming I'm used to have a couple of tabs…
Anden87
  • 970
  • 1
  • 9
  • 19
45
votes
5 answers

Logout of Facebook in app using Facebook ios SDK

I have integrated Facebook login in my app and therfore user can login with both my app account and also Facebook and do corresponding actions.For Facebook integration I have added Facebook SDK.Now when Logout button is clicked in my app it has to…
Aaradhya
  • 559
  • 1
  • 5
  • 13
43
votes
2 answers

EXC_BAD_ACCESS code 2 on UIAlertView in iOS6

I'm trying to figure out why im getting this crash in my app. It works perfectly fine in Xcode 4.4 running in the simulator with ios5.1, but when i switch into xcode 4.5 and ios6 I'm getting an EXC_BAD_ACCESS code 2. Here is my code: - (void)…
Sean Danzeiser
  • 9,141
  • 12
  • 52
  • 90
42
votes
5 answers

xcode 4.5 how to pick storyboards at launch

Trying to make my app work with both iPhone 5 and iPhone 4/4s. I tried the "AutoLayout" but does not seem to work for my app also read that it is not supported in iOS 5. AutoLayout specifically fails on a view controller that has an UIScrollview…
Xaphann
  • 3,195
  • 10
  • 42
  • 70
39
votes
10 answers

How do I sizeToFit a UILabel by changing only the height and not the width?

[self.Review sizeToFit]; Result before sizeToFit: NSStringFromCGRect(self.Review.frame): {{90, 20}, {198, 63}} Result After sizeToFit: NSStringFromCGRect(self.Review.frame): {{90, 20}, {181, 45}} I want the width to remain the same. I just want…
Anonymous White
  • 2,149
  • 3
  • 20
  • 27
1
2 3
99 100