Closed mattem86 closed 7 years ago
Hello @mattem86, thanks for using this library!
Are you sure this crash is from KVNProgress itself? Do the crash disappear when you remove the KVNProgress
import?
Yep, the crash disappears, if I do not import KVNProgress within the ViewController which contains the GLView. I didn't believe that to, so I double-checked :) But I will try it once again tomorrow...
So the view
of your view controller is a GLView
?
And if you import KVNProgress
somewhere else, does that crash too?
Last but not least, do you have a crash log? 🤗
Not exactly, the View in my View Controller has a View, which is holds an GLKView inside and is a GLKViewDelegate
So if you remove the import KVNProgress
statement, the app does not crash anymore?
Which version of CocoaPods are you using? (pod --version
)
Sorry, I was busy the last week ... I use pod 1.0.0 ... but, something changed in the meantime, the app crashes no more when I import KVNProgress on that particular ViewController... maybe some other pod were interfering? I have to try again...!
Ha! It is the Viewcontroller which I segue off from to reach the new Viewcontroller with the GLView. So, if I import (just import!) KVNProgress in my ViewController A and I segue off to my ViewController B (which contains my GLView), then the crash appears at the second time I segue. Weird.
Ok, seems to be a bug in the GLView Framework I was using ... I was trying again yesterday and everything went well, after updating the specific framework!
I have a OpenGL ES 2.0 view, which I wanted to overlay with the KVNProgress. Every single time, I opened the GLView twice, the app crashes with _gpusReturnGuiltyForHardwareRestart ... Even if only imported the KVNProgress module via CocoaPods and no showing of the KVNProgress itself...