I have a login page on my app. If I lock my screen and change orientation of the app, when I unlock the phone again my app crashes. In my xCode debugger this error pops up.
_validateGetBytes:29: failed assertion `CPU access for textures with MTLResourceStorageModePrivate storage mode is disallowed.'
How can I fix this error?
I'm using MapBox in my app.
