MTLTexture only showing one color of the image

I was following raywenderlich's Metal tutorial, but got stuck rendering a texture on a plane, it seems to be showing only one color of the image, not the entire image. I'm running on an iPad iOS 12.3.

The weirdest thing is that I can render a multicolored rectangle when the texture is nil, but can't render the texture.

Here's a repo for the project: https://github.com/TheJoseph-Dev/MyMetalProgram

May anyone help me?

MTLTexture only showing one color of the image
 
 
Q