Questions tagged [xcode5]

Xcode 5 is Apple's integrated development environment (IDE). Xcode 5.0 included the SDKs for Mac OS X 10.8 and iOS 7. *Do not use this tag unless your question specifically involves the Xcode IDE!*

Xcode 5 is an Apple integrated development environment (IDE). This version of Xcode includes the SDKs for Mac OS X 10.8 and iOS 7. It is available free on the Mac App Store and as a downloadable disk image file (DMG) from http://developer.apple.com/xcode

This tag should only be used for questions about the Xcode 5 integrated development environment (IDE) itself, and not for general Mac or iOS programming topics. Use for Mac programming questions, and or for iOS programming questions.

If the question is related to the Xcode IDE in general (not specific to Xcode 5), use the tag.

3988 questions
29
votes
15 answers

iOS7 - Change UINavigationBar border color

Is it possible to change the grey border-bottom color of the UINavigationBar in iOS7? I already tried to remove to border, but this is not working: [[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]]; Thanks!
MappleDev
  • 453
  • 1
  • 6
  • 11
29
votes
6 answers

iOS 6 simulators in Xcode 5

I have installed Xcode5 with iOS 7 SDK but I am not able to test iOS 6 simulator or prior in Xcode 5. I have tried Xcode -> Preferences -> Downloads -> Components but it doesn't show an option for downloading the iOS 6 simulator.
Vinay
  • 539
  • 1
  • 4
  • 11
28
votes
9 answers

'NSInvalidArgumentException', reason: 'Sheet can not be presented because the view is not in a window

After upgrading Xcode from Version 4 to 5 and therefore from iOS 6 to iOS 7 i get the following error: 'NSInvalidArgumentException', reason: 'Sheet can not be presented because the view is not in a window in this line: [actionSheet…
Thorsten Niehues
  • 13,712
  • 22
  • 78
  • 113
28
votes
1 answer

New iOS 7 statusBar leaves a range 20px in apps compiled in Xcode 5

this week came out iOS 7 Beta , and whenever an update comes out these always have to update the apps for compatibility consetar some bugs. Well, I installed iOS 7 on my iPhone and apps principle worked perfectly, then installed Xcode 5 (preview)…
jucajl
  • 1,195
  • 3
  • 12
  • 29
27
votes
6 answers

Xcode5 pngcrush caught libpng error

I am looking to complete an app I have created within xcode5. When I run it with the simulator everything goes smoothly with no errors, but when I try to archive the app I get countless amounts of errors in regards to the images in the project. Many…
Francisco Paredes
  • 271
  • 1
  • 3
  • 3
27
votes
4 answers

Xcode - symbol(s) not found for architecture x86_64 (iOS Lib)

I am building a static library. The build setting has the Architectures set to: $(ARCHS_STANDARD) which is shown as Standard Architectures (armv7, armv7s, arm64) I build the lib choosing iOS Device AND then using the simulator (for example…
Abdalrahman Shatou
  • 4,550
  • 6
  • 50
  • 79
27
votes
3 answers

Developing universal in Xcode 6

I have Xcode 6 beta installed and I'm trying to develop an universal app. Before Xcode 6, you had to create 2 separate Storyboards for iPad and iPhone and you could set it in the Deployment Info. In Xcode 6, it seems that separation is gone. There…
Isuru
  • 30,617
  • 60
  • 187
  • 303
27
votes
4 answers

@import "Unexpected '@' in program"

I updated project to Xcode 5 and enabled modules in build settings. However, I see compiler error Unexpected '@' in program when I use @import. #ifndef __IPHONE_7_0 #warning "This project uses features only available in iOS SDK 7.0 and…
Shmidt
  • 16,436
  • 18
  • 88
  • 136
27
votes
7 answers

iOS 7 BUG - NSAttributedString does not appear

Last week I asked a question about a Simulator bug with NSAttributedString not displaying: iOS 7 Simulator Bug - NSAttributedString does not appear Unfortunately it now appears this is not a simulator bug but an iOS 7 bug. I have now reproduced this…
RohinNZ
  • 3,338
  • 5
  • 24
  • 34
27
votes
7 answers

Integration error with Cocoapods and XCode5

When building my project in the new XCode5, I receive the following warning: Pods-App was rejected as an implicit dependency for 'libPods-App.a' because its architectures 'i386' didn't contain all required architectures 'x86_64'.
Raphael Oliveira
  • 7,751
  • 5
  • 47
  • 55
26
votes
2 answers

Is there any way to compile a single file in Xcode 5?

I'm talking about a functionality such that you can just quickly open a .cpp file (C++ console application, nothing regarding Apple ecosystem), work on it, compile and run, without all the project creating mumbo-jumbo. When I open a file with code,…
Straightfw
  • 2,143
  • 5
  • 26
  • 39
26
votes
0 answers

When will Apple start rejecting apps built with Xcode 4.x?

Update On december 17, 2013, Apple has issued a statement about when they will be forcing everyone to submit new apps with Xcode 5: "Starting February 1, new apps and app updates submitted to the App Store must be built with the latest version of…
epologee
  • 11,229
  • 11
  • 68
  • 104
26
votes
4 answers

Can you install the Xcode 5 Developer Preview in parallel with Xcode 4.6.2?

Apple announced the Xcode 5 Developer Preview today and I want to try it. But before I download this, I want to know that what happen with my current version of Xcode (version 4.6.2)? Will the Xcode 5 Developer Preview install as a different…
CRDave
  • 9,279
  • 5
  • 41
  • 59
25
votes
5 answers

View disassembly in XCode 4 (or Xcode 5 or Xcode 6)

I'm having trouble finding much in the way of information about the new XCode layout. How can I view the disassembly of my source file, rather than just the C++ code?
Promit
  • 3,497
  • 1
  • 20
  • 29
25
votes
4 answers

NSClassFromString() always returns nil

The following code prints nil, despite ListCell is a valid class. var lCellClass : AnyClass! = NSClassFromString("ListCell"); println(lCellClass); The docs are saying that method returns The class object named by aClassName, or nil if no class…
nsinvocation
  • 7,559
  • 3
  • 41
  • 46