3

私は Mac 開発と Swift 言語にまったく慣れていません。Swift ブログ (ここで!)のバルーン デモを Playground で実行しようとしていますが、次の行で実行します。

let scene = SKScene(fileNamed: "GameScene")

エラーが発生します:

Execution was interrupted, reason: SIGABRT

コンソールには次のように表示されます。

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

私はSwiftが初めてなので、何が起こっているのかまったくわかりません。元のコードに変更を加えていません。

誰か私にここの光を見せてくれませんか? ありがとう。

4

1 に答える 1

5

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.

于 2014-08-12T14:04:16.420 に答える