I am working on a GameScene and I set up some nodes in the scene editor, since I want to place them visually in the level.
The nodes have all names going from "platform1" to "platform5". Depending on the level there are more or less platform nodes.

when the level is loaded I want to enumerate over all nodes with the title like "platform\*" and put them into an array.
For now I use enumerateChildNodesWithName but I dont get the code in the block working correct.
This is what I have so far:

```
    enumerateChildNodesWithName("//platform*", usingBlock: {node, _ in
        if let platform = node as? PlatformNode {
            print(platform.name)
        }
    })

```

And it prints out following error message:

> 
> CUICatalog: Invalid Request: requesting subtype without specifying
>  idiom
> 
> 
> 

But the platform name isn't printed out.
Any ideas how to achieve this?

My next goal would be to out every single platform into an array, so I can access the properties of every platform though the array.

Does someone have a helping hand?

Thanks in advance...