Hi there!
I’ve got the next issue which came up today:
I added all stuff necessary for executing libgdx applications via ios GLKViews.
I’ve added the gradle parts necessary for the implementation:
configurations { natives }
…
implementation "com.badlogicgames.gdx:gdx-backend-moe:$gdxVersion"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
the copyNatives task, xcode build properties, frameworks, and so on.
Now the core of the problem:
I wanted to initialize the libgdx for a GLKView and using the viewDidLoad function to hook in the initialisation as I should:
IOSApplicationConfiguration configuration = new IOSApplicationConfiguration();
myIosApp = new IOSGLKViewApplication(new MyIOSApp(), configuration);
myIosApp.initializeForView(getIOSGLKView());
System.out.println("created ios application");
Everything seems almost perfectly fine! The viewDidLoad is being called, the IOSGLKViewApplication is being created, there’s nothing crashing, even the debug message (“created ios application”) is printed out.
Now the weird part:
None of LibGDX’s ApplicationAdapter method is being called, therefor the libgdx code does not “start”!
(created, paused, resumed, disposed, etc.)
I’m currently using LibGDX 1.9.8, the latest MOE version 1.4.0 and Gradle 3.0.+
Does anyone know how to solve this? I appreciate every help!