I'm assuming everyone's SceneKit app is dead in the water under Swift 2 Beta 1, right? Specifically when SCNVector is used as a property or parameter.
SceneKit Engineers, are you aware of this? Any workarounds? The bugs are described here:
I'm assuming everyone's SceneKit app is dead in the water under Swift 2 Beta 1, right? Specifically when SCNVector is used as a property or parameter.
SceneKit Engineers, are you aware of this? Any workarounds? The bugs are described here:
This does not generate compiler errors or Fix-its. It just causes the Swift compiler to crash with "Abort Trap: 6". The bug still exists in Beta 2.
The solution is to tack a ! onto SCNVector3 when used as a parameter.
You also have to do this if used as a member variable:
var target: SCNVector3? = SCNVector3Zero