Search code examples
xcodeswiftswift-playground

Error in Balloons demo from swift blog


I'm completely new to Mac development and Swift language. I'm trying to run the Balloons demo from Swift Blog (Here!) in the Playground but in the line:

let scene = SKScene(fileNamed: "GameScene")

I get the error:

Execution was interrupted, reason: SIGABRT

The console shows this:

2014-08-11 22:23:40.647 Balloons[484:303] +[SKScene nodeWithFileNamed:]: unrecognized selector sent to class 0x103d999d8

Since I'm new to Swift I have absolutely no idea whats going on. I've made no modifications in the original code.

Can anyone show me the light here? Thanks.


Solution

  • Be sure to meet requirements that are in the blog post :

    This playground uses new features of SpriteKit and requires the latest beta versions of Xcode 6 and OS X Yosemite.

    The Balloons playground will not work on OS X Mavericks, even if you use the latest beta version of Xcode.