TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

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 Superwall.

SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.

Learn More

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.