SceneKit in XCode

Hello,

I am developing a swift playground using XCode for the Swift Student Challenge and in my playground I will have a 3d scene.

I opened a project that uses SceneKit from a previous year and used it to learn the program and everything works great in it. However, when I open a project and do everything from scratch (the code is exactly the same) the 3d scene does not appear.

Is there an extra configuration that SceneKit needs?

Thank you

Quite hard to tell without code but if you have copied it from a swift playgrounds notebook into a app project maybe you need to setup the view to display the 3D model using a UIViewControllerRepresentable. There is a helpful video here from an ex WWDC winner: https://www.youtube.com/watch?v=5LdVQEE5wxo

I followed this exact tutorial and the 3d model doesn't show

SceneKit in XCode
 
 
Q