Can not launch ipad-iphone simulator in libgdx project -
i developing libgdx project. want deploy project android , ios. project working on desktop(macos) ,android simulator , android device. however, when try launch ios simulators gradle or main class, errors throwed. downloaded robovm example. these projects can launch simulators similar code.
libgdx ios main class follows:
public class ioslauncher extends iosapplication.delegate { @override protected iosapplication createapplication() { iosapplicationconfiguration config = new iosapplicationconfiguration(); return new iosapplication(new demoproject(), config); } public static void main(string[] argv) { nsautoreleasepool pool = new nsautoreleasepool(); uiapplication.main(argv, null, ioslauncher.class); pool.close(); } } error follows:
exception in thread "main" java.lang.unsatisfiedlinkerror: org.robovm.rt.vm.getstackclasses(ii)[ljava/lang/class; @ org.robovm.rt.vm.getstackclasses(native method) @ org.robovm.rt.bro.bro.bind(bro.java:50) @ org.robovm.objc.objcruntime.<clinit>(objcruntime.java:43) @ org.robovm.objc.objcobject.<clinit>(objcobject.java:57) @ java.lang.class.forname0(native method) @ java.lang.class.forname(class.java:186) @ com.intellij.rt.execution.application.appmain.main(appmain.java:122) in fact, prefer run gradle.

but throws error follows:
executing external task 'launchiphonesimulator'... configuration on demand incubating feature. :core:compilejava up-to-date :core:processresources up-to-date :core:classes up-to-date :core:jar up-to-date :ios:compilejava up-to-date :ios:processresources up-to-date :ios:classes up-to-date :ios:jar up-to-date :ios:assemble up-to-date :ios:compiletestjava up-to-date :ios:processtestresources up-to-date :ios:testclasses up-to-date :ios:test up-to-date :ios:check up-to-date :ios:build up-to-date :ios:launchiphonesimulator failed failure: build failed exception. * went wrong: execution failed task ':ios:launchiphonesimulator'. > failed launch ios simulator * try: run --stacktrace option stack trace. run --info or --debug option more log output. build failed total time: 0.743 secs /users/burakdagli/.m2/repository/org/robovm/robovm-dist/1.2.0/unpacked/robovm-1.2.0/bin not exist. 14:34:13: external task execution finished 'launchiphonesimulator'. how can proceed?
Comments
Post a Comment