Xcode 6 beta 6 was a pre-release version of Xcode 6 released on August 18, 2014.
Questions tagged [xcode6-beta6]
71 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…
![](../../users/profiles/2099024.webp)
user2099024
- 1,242
- 3
- 15
- 25
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…
![](../../users/profiles/2089556.webp)
db0
- 3,279
- 3
- 21
- 25
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…
![](../../users/profiles/179879.webp)
Liron Shapira
- 1,817
- 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,…
![](../../users/profiles/1415713.webp)
kurtanamo
- 1,700
- 19
- 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)
…
![](../../users/profiles/3998556.webp)
Joshua Archer
- 103
- 2
- 10
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…
![](../../users/profiles/3208292.webp)
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…
![](../../users/profiles/3969803.webp)
omihek
- 33
- 4
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")
…
![](../../users/profiles/1327557.webp)
Axel Guilmin
- 10,343
- 7
- 49
- 59
3
votes
1 answer
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…
![](../../users/profiles/297131.webp)
Evgenii
- 33,381
- 26
- 125
- 160
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…
![](../../users/profiles/2557607.webp)
user2557607
- 73
- 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…
![](../../users/profiles/3989350.webp)
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
![](../../users/profiles/2356511.webp)
93sauu
- 2,762
- 3
- 19
- 39
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…
![](../../users/profiles/3611680.webp)
boidkan
- 4,301
- 4
- 27
- 42
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…
![](../../users/profiles/706956.webp)
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…
![](../../users/profiles/2468186.webp)
Moon Cat
- 1,853
- 2
- 15
- 25