I think this is related to your computer: MacBook Pro (13-inch, 2017), which is also my workstation.
I tested the same project (just created by a game template with an identical texture image) on the following computers with Mojave 10.14 and Xcode 10.1 installed:
Mac mini server (later 2012) iMac, 27 (mid 2011) MacBook Pro 13 (mid 2014) MacBook Air 13 (mid 2014) MacBook Pro 15 (mid 2014). All of the above computers work well.
Another weird thing happens when I design my MacBook Pro (13 inches, 2017) through AirPlay, it no longer crashes.
source share