Questions tagged [xcode6-beta6]

Xcode 6 beta 6 was a pre-release version of Xcode 6 released on August 18, 2014.

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…
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…
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…
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,…
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) …
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…
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
  • 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") …
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…
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…
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…
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
  • 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…
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…
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
  • 1,853
  • 2
  • 15
  • 25