I am a bit thrown by the layout of Chapter 23. The chapter title is audio, but the chapter starts of and continues for some time on non-audio related clean up of previous content in the book. In fact, there’s even a challenge section at the end of this content. I would recommend moving this to the end of a prior chapter and start of the chapter on the actual audio content. The starter project should already have all this clean up stuff done. Imaging a reader who is skipping to this chapter and only cares about learning about audio in SceneKit. The first part of the chapter is unrelated to the topic and the reader can’t just start off with the starter project if their only concern is audio. True, they can instead start with the challenge solution project, but this is non-obvious unless they go back and read the prior content, and it also doesn’t follow the normal paradigm of the rest of the book or other RW books.
Also: Starter Project, Challenge Solution project, final project, and final_bugfix project (all the projects for this chapter) crash on tapping “tap to play” button, using Xcode 9.2 (9C40b) and running on iPhone 7 Plus
here is the console error:
-[MTLDebugRenderCommandEncoder validateFramebufferWithRenderPipelineState:]:1196: failed assertion `For color attachment 0, the render pipeline’s pixelFormat (MTLPixelFormatRGBA8Unorm_sRGB) does not match the framebuffer’s pixelFormat (MTLPixelFormatBGR10_XR_sRGB).’
@chrislanguage Can you please help with this when you get a chance? Thank you - much appreciated! :]
This topic was automatically closed after 166 days. New replies are no longer allowed.