Since upgrading my phone to iOS 13 my App has ceased working. Working back through the code the problem goes away if I remove the heads up display (SKScene overlay on SCNScene).
I can replicate the fault in the default 'spinning aeroplane' demo in XCode. Adding even a blank SKScene causes it to get stuck in an endless loop,
let test2d = Test2D(size: CGSize(width: 100, height: 100))
scnView.overlaySKScene = test2d
scnView.overlaySKScene!.scaleMode = .resizeFill
with Test2D being
import SpriteKit
import GameplayKit
var width, height : CGFloat!
class Test2D: SKScene {
override init (size: CGSize) {
super.init(size: size)
width = size.width
height = size.height
}
required init(coder: NSCoder) {
fatalError("Error")
}
}
I cannot be the only person with this fault - anyone else able to replicate it?