SCNVector3 compiler error in Swift 2 with Abort trap: 6

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:


https://forums.developer.apple.com/thread/5304

https://forums.developer.apple.com/message/6135#6135

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
SCNVector3 compiler error in Swift 2 with Abort trap: 6
 
 
Q