AgentsCatalog sample code sends screen haywire

When I run this sample code on xcode 10.11.3 Beta (15D9c) / iMac (27-inch, Late 2012) xcode 7.2 - my screen glitches where the scene is displayed.

It's happening on macbook pro mid 2012 too. Interestingly it works fine on latest macbook pro.


Is there some way to fix this?

https://developer.apple.com/library/ios/samplecode/AgentsCatalog/Introduction/Intro.html#//apple_ref/doc/uid/TP40016141

AgentsCatalog sample code sends screen haywire
 
 
Q