NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

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      

Hacking with Swift is sponsored by Play

SPONSORED Play is the first native iOS design tool created for designers and engineers. You can install Play for iOS and iPad today and sign up to check out the Beta of our macOS app with SwiftUI code export. We're also hiring engineers!

Click to learn more about Play!

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.