This is from a macOS 10.12.6 app (Xcode 9.3; Swift 4), and it appears when the app starts running: I get seven of these in the console.
This is the storyboard scene:
In my viewController, I have an outlet for the scrollView; I create an SKView, and add it to the scrollView. (This is the complete code).
let skView: SKView = SKView(frame: NSRect(x: 0, y: 0, width: 2000, height: 1400))
@IBOutlet weak var scrollView: NSScrollView!
override func viewDidLoad() {
super.viewDidLoad()
if let scene = SKScene(fileNamed: "GameScene") {
scene.scaleMode = .resizeFill
scrollView.contentView.addSubview(skView)
skView.presentScene(scene)
}
}
(The purpose of this is to have a SpriteKit view I can scroll; this only seems to work with an imageView embedded in the scrollview.)
This error seems to have no effect on the app or how content is displayed; but I'm curious to know what is is and if I can get rid of it.