Xcode 6 beta 6 was a pre-release version of Xcode 6 released on August 18, 2014.
Questions tagged [xcode6-beta6]
68 questions
84
votes
4 answers
Use Cocoapods with an App Extension
I'm trying to build a photo App Extension in Xcode 6 Beta-6 that uses cocoapods libraries.
The bridging header that Xcode creates for the photo extension can't see anything from cocoapods.
For example: #import results in the…

DanBlakemore
- 2,306
- 2
- 20
- 23
70
votes
31 answers
An error was encountered while running (Domain = LaunchServicesError, Code = 0)
I received an error (Domain = LaunchServicesError, Code = 0) when trying to launch my app in the iOS Simulator with Xcode 6. I looked for solution in google, but I didn't find anything practical.
What does this error mean?

Liran Revivo
- 1,143
- 3
- 15
- 20
43
votes
7 answers
How to add buttons to navigation controller visible after segueing?
I have set up a view controller in Storyboard which is embedded in a navigation controller. In this nav controller I have checked Shows Navigation Bar and Shows Toolbar and enabled a navigation bar and toolbar in Top Bar and Bottom Bar respectively…

Jordan H
- 52,571
- 37
- 201
- 351
36
votes
4 answers
fatal error: NSArray element failed to match the Swift Array Element type
Suddenly I'v started getting run time error as,
fatal error: NSArray element failed to match the Swift Array Element type
I'v declared my array as,
var myArray : [CUSTOM_CLASS] = [CUSTOM_CLASS]()
Now, in my server response success block I…

BaSha
- 2,356
- 3
- 21
- 38
35
votes
4 answers
Swift AnyObject is not convertible to String/Int
I want to parse a JSON to object, but I have no idea how to cast AnyObject to String or Int since I'm getting:
0x106bf1d07: leaq 0x33130(%rip), %rax ; "Swift dynamic cast failure"
When using for example:
self.id = reminderJSON["id"] as…

pJes2
- 623
- 1
- 8
- 13
28
votes
2 answers
Type 'AnyObject' does not conform to protocol 'SequenceType'
func loadThumbnails() {
let paths = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true)
let documentsDirectory:NSString = paths[0] as NSString
var error:NSError?
…

chris wang
- 351
- 2
- 4
- 7
25
votes
1 answer
[NSObject : AnyObject]?' does not have a member named 'subscript' error in Xcode 6 beta 6
I used the below couple of code lines to get the frame of the keyboard when its shown on the screen. I've registered to UIKeyboardDidShowNotification notification.
func keyboardWasShown(notification: NSNotification) {
var info =…

Isuru
- 30,617
- 60
- 187
- 303
24
votes
2 answers
Missing argument for parameter #1 in call error for function with no params. Swift
I am using xcode 6 beta 6 and I get this weird error for a function that has no params.
Here is the function
func allStudents ()-> [String]{
var appDel:AppDelegate = (UIApplication.sharedApplication().delegate as AppDelegate)
var…

Boid
- 1,161
- 1
- 11
- 21
19
votes
5 answers
Xcode 6 Beta - Apple Mach-O Linker error
After updating to the recently released beta 6 of Xcode 6, my swift project fails to build due to the following errors.
Looking at previous questions on this issue, propose checking the build architecture is set to support arm which mine project…

Carlos
- 5,405
- 21
- 68
- 114
12
votes
3 answers
xcode 6 beta 7:A signed resource has been added modified or deleted.
When I'm running the application on device aftercleaning, removing derived data, first time it runs without any issues.
Second time when I'm trying to run, it say's "A signed resource has been added modified or deleted."
On the simulator app run's…

hsafarya
- 1,043
- 1
- 10
- 21
8
votes
4 answers
Trying to use KeychainItemWrapper by Apple "translated" to Swift
Sigh, I have been working on this the whole afternoon... here is my nightmare:
I am trying to use the KeychainItemWrapper made by Apple. But I "translated" its Objective-C codes to Swift:
import Foundation
import Security
class…

leonard
- 2,337
- 4
- 22
- 26
7
votes
3 answers
Xcode Beta 6 - Use of undeclared type 'CLLocationManagerDelegate'
I have just upgraded from Xcode 6 Beta 3 to Xcode 6 Beta 6. In Beta 3, everything worked fine and compiled like I wanted it to.
Right now, I cannot get CLLocationManagerDelegate to work, i.e. I always get the Use of undeclared type…

schnabler
- 687
- 7
- 23
7
votes
1 answer
ios8 unwind segue not working with UINavigationBarController and UITabBarController (Fixed in iOS 8.1)
I just started testing my iOS7 app on iOS8 with Xcode 6 (beta 6). I am aware that iOS 8 has deprecated the "push" and "modal" segue but I was happy to find that all my segue's worked... except one.
I built a demo app to show that unwinding from a…

NSDev
- 71
- 5
7
votes
1 answer
UITableViewCell behave differently in iOS7 and iOS8 simulator using xcode6 beta6 interface builder
Please see below 3 table view cells in the same app, the height of the cell is 54 in interface builder, the border is created using CAShapeLayer in code with a height of 44. Since I switched from xcode5 to xcode6 during the project development, so…

Dong Ma
- 1,073
- 9
- 16
6
votes
1 answer
iOS 8 iCloud container change
I have a couple of questions regarding iCloud in iOS8.
I am going through my developer profile and the iCloud container that was associated with my profile has been changed from my ${TeamIdentifer}{Bundle Name} to iCloud.{Bundle Name} . Currently,…

Max
- 4,067
- 1
- 18
- 29