dyld: Symbol not found: _MTLTextureDescriptorClass

when i trying to run my app on device i have this error Thread 1: signal SIGABRT

with this message

dyld: Symbol not found: _MTLTextureDescriptorClass

Referenced from: /var/containers/Bundle/Application/338EBE3D-9982-4D48-8295-5C4C5E6E754B/***.app/XXXX

Expected in: flat namespace

in /var/containers/Bundle/Application/338EBE3D-9982-4D48-8295-5C4C5E6E754B/***/XXXX

(lldb)

any solution ??

Replies

_MTLTextureDescriptorClass
, with or without the underscore, isn’t an Apple type.
MTLTextureDescriptor
is, making me think that something in your program is using the wrong name, or perhaps algorithmically deriving the former from the latter but not doing it correctly.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"