Questions tagged [xcode6]

Xcode 6 is Apple's integrated development environment (IDE). This tag should only be used for questions about Xcode itself, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [ios] for iOS programming questions.

Xcode is Apple's integrated development environment (IDE) for developing OS X and iOS apps. The version 6 was presented at the WWDC on June 2nd 2014. The new features of Xcode 6 include the new programming language Swift, the playground as an interactive way to play with the code and a more visual debugger.

The latest production version of the IDE is Xcode 6.4. Download Here

The important enhancements are described here and here.

This tag is for IDE only questions with the version 6. Questions related to the programming languages should go to the correct tag , , and . When they are only related to the os and .

6121 questions
144
votes
18 answers

Xcode 6 - How to pick signing certificate/provisioning profile for Ad-Hoc distribution?

To distribute the app to our testers we use Xcode, which we do using the following process: Archive application Distribute for Ad-Hoc Choose provisioning profile Save the .ipa to a folder But with Xcode 6, this workflow was changed a bit. I can…
Legoless
  • 10,942
  • 7
  • 48
  • 68
144
votes
3 answers

Swift performSelector:withObject:afterDelay: is unavailable

I have an app in Objective C that I'm transitioning to Swift. In Objective C, I have this method: [self.view performSelector:@selector(someSelector) withObject:self afterDelay:0.1f]; I'm working with Swift and I can't figure out how to do this. I've…
Cody Winton
  • 2,989
  • 5
  • 25
  • 48
139
votes
9 answers

Xcode 6 Storyboard the wrong size?

Built a new project from scratch in Swift in Xcode 6 (Beta 1) and have seen some strange behaviour with Storyboards and the output that I am viewing. I have built a simple interface (as shown below) - with properties of View Controller…
Candyfloss
  • 3,848
  • 4
  • 31
  • 32
138
votes
12 answers

You are not authorised to use this service iTunes app upload error

Since the Apple "Users & Roles" update to iTunesConnect end of november 2015 some people have been experiencing an error message "iTunes Store operation Failed" and "You are not authorized to use this service". This happens when using XCode 6 and…
Pradhyuman Chavda
  • 3,814
  • 4
  • 16
  • 24
137
votes
16 answers

Xcode 6 iPhone Simulator Application Support location

In Xcode 6, I have an app I'm using Core Data in, but there is no folder in Application Support for the iOS 8 iPhone Simulator. Where are my files and Core Data sqlite database being stored?
HGDev
  • 2,203
  • 2
  • 17
  • 23
137
votes
8 answers

How can Xcode 6 adaptive UIs be backwards-compatible with iOS 7 and iOS 6?

I just watched the WWDC video #216, "Building Adaptive UI with UIKit." At about 45:10 Tony Ricciardi talks about changes to IB in Xcode 6 to support the new changes. He says "You can deploy these documents backwards to older versions of…
Duncan C
  • 128,072
  • 22
  • 173
  • 272
134
votes
2 answers

What does "Protocol ... can only be used as a generic constraint because it has Self or associated type requirements" mean?

I am trying to create a Dictionary (actually a HashSet) keyed on a custom protocol in Swift, but it is giving me the error in the title: Protocol 'myProtocol' can only be used as a generic constraint because it has Self or associated type…
devios1
  • 36,899
  • 45
  • 162
  • 260
128
votes
19 answers

Swift Bridging Header import issue

Following instructions, I've created a bridging header and added to my project. Unfortunately, the following error occurred: :0: error: could not import Objective-C header '---path--to---header/....h' In build settings I added header search path…
Nikita Semenov
  • 2,111
  • 4
  • 18
  • 31
126
votes
8 answers

Class 'ViewController' has no initializers in swift

Getting the complaint from the compiler when I am doing this class ViewController: UIViewController { var delegate : AppDelegate override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the…
tranvutuan
  • 6,089
  • 8
  • 47
  • 83
123
votes
7 answers

Xcode6: Run two instances of the simulator

I have two different targets for my iOS app. Is it possible to run simultaneously the two apps on two different instances of the simulator? It's ok if it would require not to benefit of the Xcode's debugger. So far the only solution I found was to…
vintagexav
  • 2,011
  • 2
  • 18
  • 22
120
votes
7 answers

Adaptive segue in storyboard Xcode 6. Is push deprecated?

Xcode 6 interface builder by default has new checkbox "use size classes". It makes views adaptive. When I try to make segue between 2 views in my storyboard I have new options: instead old: Now we have "show" and "present modally" instead of…
John Kakon
  • 2,531
  • 4
  • 24
  • 28
115
votes
11 answers

Xcode 6 with Swift super slow typing and autocompletion

Is it just me or Xcode 6 (6.0.1) with Swift seems to be super slow when you type your code, especially with autocompletion? A normal Objective-C class, even if inside a Swift project, works almost the same as before, so it's Swift that kills…
mllm
  • 17,068
  • 15
  • 53
  • 64
114
votes
14 answers

Cannot find executable for CFBundle CertUIFramework.axbundle

Just updated to Xcode 5 and this is the first error its throwing on the logger for all my apps. Can't seem to understand why this is happening. 2013-09-19 10:46:54.341 MyApp[1156:a0b] Cannot find executable for CFBundle 0x8a7c7a0…
carbonr
  • 6,049
  • 5
  • 46
  • 73
110
votes
1 answer

Xcode - how to see build command and log?

I have build errors in my Xcode project (Objective-C), and I no longer "stumble upon" the build command string nor the build output logs. This is Xcode 6.3.1. All I can inspect is a left-side panel listing errors/warnings. I want the build command…
starlocke
  • 3,407
  • 2
  • 25
  • 38
110
votes
9 answers

error: module file's minimum deployment target is ios8.3 v8.3

All attempts to import a dynamic framework in an Xcode playground yield the following error: error: module file's minimum deployment target is ios8.3 v8.3
Vatsal Manot
  • 17,695
  • 9
  • 44
  • 80