Code that previously worked fine, now emitts error after presenting drawable:func draw() {
...
mainCommandBuffer.present(currentDrawable)
mainCommandBuffer.commit()
}EXC_BAD_ACCESS on [CAMetalDrawable present]with log error message:[CAMetalLayerDrawable texture] should not be called after presenting the drawable.There is no other info, and I have no idea what to try to fix. I'm no not calling "texture" after presenting drawable, it is last line in the method.Does someone have a clue?Thanks
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Does anybody know is there some way to figure out if it’s running testFlight application or production version. I need to use different connections and URLs in different cases.Possible alternative is to use two different provisioning profiles maybe. I tried to create separate provisioning profile, but XCode refuses to use it, it always picksregular distribution profile when I try to upload build to an iTunesConnect.Thanks in advance