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
35
votes
2 answers

How to connect storyboard to viewcontroller

In the new xcode 5 how do in interface builder you use to have a drop down menu there to connect your storyboard viewcontrollers to your classes how is this done now?
4GetFullOf
  • 1,738
  • 4
  • 22
  • 47
34
votes
12 answers

Xcode error while validation - "Your binary is not optimized for iPhone 5"

Just got stuck with this error while I'm trying to publish an app to app store. Sorry because i cant copy-paste the error code so I will post an image in my question.
Khairil Ushan
  • 2,358
  • 5
  • 26
  • 29
34
votes
3 answers

Should xcworkspace be in gitignore

I am using GitHubObjectiveCGitIgnore When I go in sourcetree to commit I see : project.xcworkspace This file is not ignored using Github .gitignore file. I am not sure do I need to commit and push this file?
Radenko Zec
  • 7,659
  • 6
  • 35
  • 39
34
votes
1 answer

Selector name found in current argument registers: isEqual:

I am looking for some assistance with squashing a bug in an OSX app that i just can't work out. I am getting a logged error of: Selector name found in current argument registers: isEqual: But i can't for the life of me work out where it's coming…
Gareth Jeanne
  • 1,410
  • 2
  • 19
  • 35
34
votes
8 answers

Couldn't open xib file after git pull, invalid element name

I am working on project with another developer. We are working on bitbucket. The problem is he made a changes in XIB files. After that when I do a git pull, I receive the changes but get an error on XIB files. When I tried to open it, a show alert…
Atef
  • 2,872
  • 1
  • 36
  • 32
34
votes
7 answers

XCode 5 unit testing: starts my app

When I run my tests in XCode 5, the main window of my OS X app appears on the screen for a couple of seconds while running the tests. Why? Even if I uncomment all my tests it still opens my main window.
dhrm
  • 14,335
  • 34
  • 117
  • 183
34
votes
6 answers

iPhone landscape-only no launch image for iOS7 R4 image asset

I'm fairly certain this is a bug, but in case anyone has found a way around this, let me know. I've set up an asset catalog in Xcode-5 of launch images. If I set an iOS 7 R4 image it is only used if my app supports portrait orientation. My app is…
Ben Flynn
  • 18,524
  • 20
  • 97
  • 142
34
votes
1 answer

Checksum Validation Failed when submitting with Xcode 5

I was submitting an app to the iOS App Store a few days ago, and got this message from Xcode. Before I had time to resubmit it, Apple has already started reviewing my app. Is this something I need to worry about? Edit: The app was accepted a few…
Enrico Susatyo
  • 19,372
  • 18
  • 95
  • 156
34
votes
9 answers

ios 7 view with transparent content overlaps previous view

Recently I updated my xcode project to work with iOS 7, but i faced a big problem. Because my whole application has only one background image (UIImageView added to key window) and all views are transparent, I face a problem when pushing…
Edvardas
  • 586
  • 1
  • 4
  • 10
33
votes
9 answers

OS X 10.9.2: checking whether the C compiler works... no

I'm attempting to install texinfo 5.2, and I'm running into some issues during ./configure, which I believe are related to the C compiler. When I upgraded from Snow Leopard, I didn't perform a clean install, so perhaps that's part of the problem. …
Ryan M
  • 647
  • 2
  • 6
  • 16
33
votes
6 answers

Generate gcda-files with Xcode5, iOS7 simulator and XCTest

Being inspired by the solution to this question I tried using the same approach with XCTest. I've set 'Generate Test Coverage Files=YES' and 'Instrument Program Flow=YES'. XCode still doesn't produce any gcda files. Anyone have any ideas of how to…
MdaG
  • 2,680
  • 2
  • 34
  • 46
33
votes
2 answers

Launch Images in iOS 7 with Xcode 5

I've been setting my own names on launch images for my apps in the Info.plist like with the following images in bundle (with correct dimensions, 320x480 px for default.png and 640x960 px for default@2x.png etc.) this have been working great prior…
Anden87
  • 970
  • 1
  • 9
  • 19
32
votes
7 answers

com.apple.developer.associated-domains issue when validating iOS app

When I was validating my project with Organizer in Xcode, I got the following error Invalid code signing entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value *for…
Jibeex
  • 5,509
  • 3
  • 27
  • 37
32
votes
6 answers

Error "Cast from pointer to smaller type 'int' loses information" in EAGLView.mm when update Xcode to 5.1 (5B130a)

Yesterday, I updated Xcode to the newest version (5.1 (5B130a)) to compatible with iOS 7.1. Then I build my project, I get the error "Cast from pointer to smaller type 'int' loses information" in EAGLView.mm file (line 408) when 64-bit simulators…
nvg58
  • 891
  • 1
  • 8
  • 17
32
votes
2 answers

Xcode 5 crashes when running an app with SDL 2

I tried to follow these two tutorials (or the applicable parts of them, due to version differences) to install SDL 2.0.2 to work with Xcode 5.1: Tutorial 1 Tutorial 2 Running any program with the SDL 2 framework linked causes Xcode to crash with…
Olli Niskanen
  • 1,535
  • 2
  • 12
  • 18