markturnip
09/10/2024, 12:48 AMError: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMainmarkturnip
09/10/2024, 12:51 AMgradle wrapper
I don't have gradle installed on my machine atmmarkturnip
09/10/2024, 8:24 AMgradle-wrapper.jar and I can have another little poke aroundmarkturnip
09/21/2024, 1:40 AMmarkturnip
09/21/2024, 1:41 AMpreferredFramesPerSecond to just one frame a second, it's reaches EXC_BAD_ACCESS by 11 frames:
setView(GLKView().apply {
paused = true
preferredFramesPerSecond = 1markturnip
09/21/2024, 2:06 AMsetNeedsDisplay
DisposableEffect(frameCount) {
// Trigger redraw on the GLKView manually by using the stored ViewController reference
viewController.view?.let { glkView ->
if (glkView is GLKView) {
glkView.setNeedsDisplay()
}
}
onDispose { }
}
frame count did get up to 595 before faulting againJeffrey Bush
09/21/2024, 4:36 PMJeffrey Bush
09/21/2024, 4:37 PMJeffrey Bush
09/21/2024, 4:38 PMJeffrey Bush
09/21/2024, 4:39 PMmarkturnip
09/23/2024, 5:36 AMmarkturnip
09/23/2024, 5:37 AMmarkturnip
09/23/2024, 5:41 AMJeffrey Bush
05/20/2025, 2:43 AMdelegate fields of the GLKView and GLKViewController classes is marked as unowned(unsafe) which means the reference count is not incremented when assigned and thus if there are no other references to it, the delegate is marked for deletion during the next garbage collection cycle. I found this out due to trying to write some of the code in Swift/Obj-C itself and it gave me the warning there that the object would be immediately deallocated. The unowned(unsafe) marker is like a weak reference (which is another annotation possible in Objective-C) but even worse since it doesn't even know that is has been deallocated.Jeffrey Bush
05/20/2025, 2:44 AMmarkturnip
05/20/2025, 11:51 AM