- Home /
MTLTextureDescriptor has invalid pixelFormat (0). while building a project in Xcode.
BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-54.31/Framework/MTLTexture.m:632: failed assertion `MTLTextureDescriptor has invalid pixelFormat (0).'
I'm trying to build a project in Xcode which worked fine in Android. All my texture used are in PVRTC compression format. Help will be greatly appreciated as there isn't much available on this issue. Thanks
Comment
everyone HERE say that it's a texture compression format that causes this error. try changing PVRTC format to something else.