LIBGDX Box2D Lights on Ios-Moe

207 Views Asked by At

My question is self explainatory: is it possible to use Box2D and Box2D lights on a ios-moe build of LIBGDX? I can run it on my desktop but I get the following error when I launch on IOS:

java.lang.UnsatisfiedLinkError: No implementation found for long com.badlogic.gdx.physics.box2d.World.newWorld(float, float, boolean) (tried 

My build.gradle is as follows:

project(":ios-moe") {
apply plugin: "moe"

configurations { natives }

dependencies {
    compile project(":core")
    compile "com.badlogicgames.gdx:gdx-backend-moe:$gdxVersion"
    natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
    natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
    compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"

}
project(":core") {
apply plugin: "java"


dependencies {
    compile "com.badlogicgames.gdx:gdx:$gdxVersion"
    compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
    compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"
    compile "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"

}

Any ideas?

0

There are 0 best solutions below