Xcode 6 beta 6 was a pre-release version of Xcode 6 released on August 18, 2014.
Questions tagged [xcode6-beta6]
68 questions
4
votes
2 answers
Xcode 6 beta 6 - Items on main story board have disappeared/disabled
I've encountered this problem on Xcode 6 Beta 6. When I select the main storyboard view where I can see all the views of my app with all the components (buttons, lists etc.) I can only see the view itself but no components in them event though I…

user2099024
- 1,452
- 4
- 16
- 26
4
votes
2 answers
Swift: Use default arguments in lambda
I would like to use default values for arguments of a lambda, such as:
func lambdaArgumentTest() -> String {
let lambda = { (optString: String = "") -> String in optString }
return lambda()
}
But the compiler seems to state that this is not…

db0
- 3,689
- 3
- 23
- 26
4
votes
3 answers
Is Swift type-inference contradicting itself here?
Here's my test code:
var myDict: [String: AnyObject] = ["k":"v"]
var a = myDict["k"]
var b = a as String
var c = myDict["k"] as String
Here's my Swift playground in Xcode6-beta6:
According to the rules of type inference, doesn't complaining…

Liron Shapira
- 1,967
- 1
- 14
- 17
4
votes
3 answers
AnyObject? does not have a member named 'objectAtIndex'
Got a error on (Xcode6 BETA 6) if a try to get an object of string:
let jsonString : String = "[{\"name\":[\"Fred\",\"John\"],\"age\":21},{\"name\":\"Bob\",\"age\":35}]"
let myData:NSData? = jsonString.dataUsingEncoding(NSUTF8StringEncoding,…

kurtanamo
- 1,808
- 22
- 27
3
votes
1 answer
SWIFT Apple Mach-O Linker Error "_OBJC_CLASS_$_BFExectur"
Trying to use Parse with X-code and objective C. 4 different errors pop up. Suggestions?
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_BFExecutor", referenced from:
objc-class-ref in Parse(BFTask+Private.o)
…

Joshua Archer
- 113
- 3
- 12
3
votes
1 answer
Swift, Parse and Xcode 6 beta6
My query to Parse now raises a swift compiler error in Xcode 6 beta6 (see error below). It was working fine previously (and my example is simple, and comes from Parse's documentation). I've changed one thing coming from Xcode 6 beta 6: from…

Tom - Lunabee.com
- 354
- 2
- 18
3
votes
3 answers
New Swift app Lister error: "No matching provisioning profiles found", "App ID with Identifier ... is not available"
I downloaded the sample code for the Lister app from Apple's developer website and am trying to build the Swift version to my iPhone 5S running iOS 8 Beta 5. I've changed everything to com.mycompany.Lister, but when I try to build it, it comes up…

omihek
- 53
- 6
3
votes
2 answers
SKNode.removeFromParent() EXC_BAD_ACCESS
I noticed a weird behavior in my Swift project and reproduced it on a empty SpriteKit Project that way:
class GameScene: SKScene {
override func didMoveToView(view: SKView) {
let sprite = SKSpriteNode(imageNamed:"Spaceship")
…

Axel Guilmin
- 11,454
- 9
- 54
- 64
3
votes
2 answers
Failed unit tests always show succeed notification when tested on device in XCode 6 beta swift
Unit tests always show 'succeed' desktop notification when run on device in XCode 6 beta 6 in Swift.
How to recreate:
Create new iOS single-view app project with Swift.
Go to the existing test and change it to XCTAssert(false) to make it fail.
Run…

Evgenii
- 36,389
- 27
- 134
- 170
2
votes
1 answer
Facebook sdk compiling error
What does this error mean?
ld: warning: ignoring file /Users/pramonowang/Desktop/FacebookSDK/Bolts.framework/Bolts,
↳ missing required architecture x86_64 in file
↳ /Users/pramonowang/Desktop/FacebookSDK/Bolts.framework/Bolts (2…

user2557607
- 81
- 4
2
votes
1 answer
Domain=NSURLErrorDomain Code=-1001 "The operation couldn’t be completed. (NSURLErrorDomain error -1001.)"
my program is write for upload the picture from the cam,sample code below:
#define WEBSERVICE_URL @"http://192.168.0.104/upload.php"
- (void)imagePickerController:(UIImagePickerController *)picker…

chris wang
- 351
- 2
- 4
- 7
2
votes
4 answers
Add action to UIBarButtonItem Swift
Button is created in storyboard and I want to add an action.
self.cancel.action = NSSelectorFromString("cancel:")
func cancel(sender: UIBarButtonItem) ->() {
}
This not working. Thanks

93sauu
- 3,770
- 3
- 27
- 43
2
votes
1 answer
UICollectionView not appearing in simulator
When I build my project the screen just appears white in the simulator (where a collection view is black) and none of the cells that I want to appear either of course.
I am using xcode6-beta6 and this is for ios (ipad).
So I am trying to populate a…

boidkan
- 4,691
- 5
- 29
- 43
2
votes
1 answer
Alamofire and Concurrent Operation Queues
I'm using Alamofire (AF) in a concurrent operation queue to run network commands in my project. Sometimes AF's completionHandler doesn't fire, leaving my NSOperation hanging (waiting for a finish message that it will never receive).
Eg. I'll see the…

mark.siedle
- 78
- 2
- 6
2
votes
1 answer
Concatenating to an Optional Array with the "+=" operator
I'm trying to append multiple strings to an array.
This code works as expected:
var myArray: [String] = []
myArray += ["dog", "cat"]
This gives me an error:
var myArray: [String]! = []
myArray += ["dog", "cat"] //error: '[String]!' is not identical…

Moon Cat
- 2,029
- 3
- 20
- 25