UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Dive_Into_SpriteKit_PhysicsBody_Error

Forums > Books

Hello,

 I'm using the latest edition of Dive Into SpriteKit and I'm seeing this error:   PhysicsBody: Could not create physics body.

I've was reseraching and there was a bug in XCode but it was supposed to be fixed in Xcode 11.2. I'm currently using Xcode 11.3.1 and still see that error message. I'm building the "Sinky Sub" game. Anyone else see this problem and find a workaround?

Thanks

3      

I'm also working through the "Dive into SpriteKit" book, trying to do the submarine project and I'm getting the same error. Were you able to figure out the issue?

3      

Hi guys,

You can try two things:

  1. Use a real device for testing, if you have one.
  2. Revert back to simulator with iOS 12.x.x.

Let me know if that helped!

3      

Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.