SKShapeNode(circleOfRadius) results in “unrecognized selector sent to class” in Playground for OSX

Solutions Collect From Internet About “SKShapeNode(circleOfRadius) results in “unrecognized selector sent to class” in Playground for OSX”

It’s because you’re running it on an OS X version that’s older than the API you’re trying to use. The code you’re using requires OS X 10.10, or iOS 8 and up.

The OS X 10.10 API Differences confirm that all of SKShapeNodes custom initializers have just been added in 10.10. Previously, all we could do with SKShapeNode, was initialize an instance, and then modify its path property.