- Home /
App works on IOS simulator but doesn't work on actual device
I have a unity project that works fine on the IOS simulator in Xcode, but when I try and build it on a real device, I get this error and a SIGABRT on thread 1
dyld: Symbol not found: _MTLTextureDescriptorClass Referenced from: /var/containers/Bundle/Application/D5CD2236-2F35-4F58-9630-78B29666E003/nameofapp.app/nameofapp Expected in: flat namespace in /var/containers/Bundle/Application/D5CD2236-2F35-4F58-9630-78B29666E003/nameofapp.app/nameofapp (lldb)
make sure you change the target SD$$anonymous$$ in PlayerSettings to Device SD$$anonymous$$. You're only able to run this on the simulator if this setting is set to Simulator SD$$anonymous$$ (I think the name was). It's easily overlooked when switching back to the real device after some time running on the simulator.
What version of unity are you using? You may simply need to update it.
I managed to figure it out. I changed the player settings and I forgot to add in the info.plist that it used wifi.
Your answer
