I am trying to load a snippet that I defined using the Xcode 8 Beta 2 style set editor.
But when I try to load SKTileSet using this line of code:
tileSet = SKTileSet(named: "tilesetName")
I get the following messages in the Xcode console about 20 times:
SKUtil.m: MGGetBoolAnswer is not available in the simulator.
No matter what name I provide as the name of the tile set, I always get this message in the console, and tileSet is the nil variable .
Any ideas?
Has anyone been able to load a tile set programmatically in Simulator so far?
Any help is greatly appreciated.
Greetings
Franc
source
share