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
44
votes
24 answers

UIButton title text is not updated even if I update it in Main thread

I'm trying to change the title of an UIButton I've created programmatically, when the user clicks in it. So, this is my code to create the UIButton: myButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, parentView.frame.size.width,…
neutrino
  • 2,297
  • 4
  • 20
  • 28
44
votes
1 answer

Jump to Definition goes to derived data folder for static library's header files instead of the static library project

I have an iOS app that has a static library as a dependency. The static library is setup per Apple's recommendations https://developer.apple.com/library/ios/technotes/iOSStaticLibraries/iOSStaticLibraries.pdf Sometimes when I use "Jump to…
Reid Main
  • 3,394
  • 3
  • 25
  • 42
44
votes
9 answers

Xcode 5 says tests failed but shows green checkmarks

I have written a few unit tests in the new XCTest framework of Xcode 5. The tests seem to pass successfully most of the time, but I've come across a strange behaviour where if I run the tests enough times consecutively, eventually I'll get a 'test…
Shinigami
  • 2,123
  • 23
  • 40
44
votes
7 answers

Failed to install "iOS 6.1 Simulator" XCode 5

I want to run my app on both simulators ios6 and ios7. I'm trying to install ios 6 simulator but I am getting this error: Failed to install "iOS 6.1 Simulator" An unknown error occured. Please try again later. I restarted XCode but not working…
amone
  • 3,712
  • 10
  • 36
  • 53
43
votes
6 answers

XCode source control: view changes for one file

Is it possible to view a "timeline" (history) for a selected file for like 50 commits? I mean changes made to this particular file and and view commits when they were made and users who changed them? I know Xcode got some powerful version control…
dariaa
  • 6,285
  • 4
  • 42
  • 58
43
votes
14 answers

Invalid Image Path - No image found at the path. CFBundleIcons Xcode 5

I'm trying to update my app for iOS 7 with Xcode 5.0. Everything works fine, but when I archive then validate I get these messages: Invalid Image Path - No image found at the path referenced under key CFBundleIcons': 'APP-ICON-57' I've tried to…
Wac
  • 688
  • 1
  • 6
  • 13
43
votes
6 answers

Xcode workspaces with sub-projects and project dependencies triggering builds

I wish there was better documentation for this for Xcode 5 but I couldn't find anything decent describing best practices for working with workspaces, so.. In a workspace with several projects (couple frameworks, 1 app) is it possible to have Xcode…
Jay
  • 6,572
  • 3
  • 37
  • 65
42
votes
8 answers

How to sync localized storyboards' strings after modifying storyboard in Xcode 5

I'm just starting to look at IOS Apps' localization in XCode 5 and I've tried to add an Italian Localization: Xcode 5 automatically generates the Main.strings file with a single entry, for the only label I've put within the Main.storyboard file: /*…
Gianni Costanzi
  • 6,054
  • 11
  • 48
  • 74
42
votes
2 answers

Springs in Auto Layout: Distribute views evenly, with constraints, in Xcode 5

I understand the old Struts and Springs method of aligning, sizing and distributing views in Interface Builder. However, I cannot seem to figure out how to evenly distribute views using auto layout with Xcode 5. There was a way to do it using Xcode…
Kenny Wyland
  • 20,844
  • 26
  • 117
  • 229
41
votes
10 answers

ITMS 9000: The binary you upload was invalid

When I ran into this issue, my first thought was to search Stack Overflow for solution. I did the search, found several topics. But, unlike my issue, those posters got some clue from the error such as, App Store error: The binary you uploaded was…
Tar_Tw45
  • 3,122
  • 6
  • 35
  • 58
41
votes
2 answers

Reverting all Xcode settings to their original state

I got my Xcode into a non-functional state when I can no longer start a search: once I press ⌘+F, Xcode hangs with a spinning pinwheel, and stops responding. Once this happens, my only option is to force quit and restart. I tried looking for the…
Sergey Kalinichenko
  • 714,442
  • 84
  • 1,110
  • 1,523
41
votes
14 answers

Can't get rid of Apple LLVM 5.0 Error

It keeps saying: fatal error: file '/Applications/Xcode5-DP5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include/objc/NSObject.h' has been modified since the precompiled header…
Aeveus
  • 5,052
  • 3
  • 30
  • 42
40
votes
3 answers

Use of xcassets

Is .xcassets resource only for app icons and launch images or for our own image assets also? I do know that we can add our images to the .xcassets file, but is it good practice to do so?
Roshan
  • 1,937
  • 1
  • 13
  • 25
40
votes
3 answers

ld: symbol dyld_stub_binding_helper not found, normally in crt1.o/dylib1.o/bundle1.o for architecture i386 xcode 5

I created iphone/ipad app that was working well by xcode 4 and iOS6 and I installed xcode 5 and I'm trying to run my app, but it now gives me the following error ld: symbol dyld_stub_binding_helper not found, normally in crt1.o/dylib1.o/bundle1.o…
Eman87
  • 2,735
  • 7
  • 36
  • 53
39
votes
4 answers

Localize Asset Catalogs

I know it's a new feature and this may not be possible, but I would like to be able to localize an Asset Catalog in different languages, to show a localized launch image. This was possible on XCode 4 simply localizing an image, but with an iOS7 app…
Antonio Giarrusso
  • 810
  • 1
  • 9
  • 19