WWDC23 SALE: Save 50% on all my Swift books and bundles! >>

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

1      

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?

1      

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!

1      

Save 50% in my WWDC23 sale.

SAVE 50% To celebrate WWDC23, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

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.