I have updated iPad Air to 7.1 and Xcode to 5.1. Xcode wanted to update my project to recommended settings, I agreed.
After that my game began crashing in a couple o
I am also experiencing the crash. However, the solutions to override the removeFromParent method and setting the SKShapeNode to nil didn't work for me.
I did discover that my crash was the combination of:
Having a SKShapeNode (either a subclass OR a child of a SKNode)
Having a SKPhysicsNode attached to a node (attached to a parent SKNode OR the SKShapeNode).
Calling the method removeFromParent
The solution I ended up using was overriding the removeFromParent method in my SKShapeNode subclass with the following:
- (void)removeFromParent
{
if( self.physicsBody != nil )
{
self.physicsBody = nil;
}
[super removeFromParent];
}