I'm working on a simple SpriteKit game in Xcode 7.2 and I noticed I was getting memory leaks. I was able to eliminate the leaks by commenting out lines such as this:
sword.physicsBody = SKPhysicsBody(rectangleOfSize: sword.size, center: centerPoint)
hero.physicsBody = SKPhysicsBody(circleOfRadius: heroSize)
Basically whenever initializing a new physics body.
I did some research and found several posts such as this where people are having similar problems but all the posts mentioning such a problem are from several years ago.
I just wanted to try again and see if there are any new thoughts or fixes for this problem.