# Bug Mr Pig book 3D Apple Game tutorial

**URL:** <https://forums.kodeco.com/t/bug-mr-pig-book-3d-apple-game-tutorial/21369>\
**Category:** Sprite Kit\
**Created:** [October 18, 2016, 7:07pm UTC](https://forums.kodeco.com/t/bug-mr-pig-book-3d-apple-game-tutorial/21369 "2016-10-18T19:07:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gui](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gui/32/44692_2.png) [@gui](https://forums.kodeco.com/u/gui)\
**Post date:** [October 18, 2016, 7:07pm UTC](https://forums.kodeco.com/t/bug-mr-pig-book-3d-apple-game-tutorial/21369/1 "2016-10-18T19:07:42Z")

</div>

Hello,

I bought the book 3D Apple Game tutorial today and when I run Mr Pig on my iPhone 7, I have this error : /BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-85.83/ToolsLayers/Debug/MTLDebugRenderCommandEncoder.mm:946: failed assertion `For color attachment 0, the render pipeline’s pixelFormat (MTLPixelFormatRGBA8Unorm\_sRGB) does not match the framebuffer’s pixelFormat (MTLPixelFormatBGR10\_XR\_sRGB).’

How can run the game on my iphone 7?

Thank you
