iOS Simulator Doesn't Work?

556 views
Skip to first unread message

Ahmet Guler

unread,
Jul 14, 2015, 10:01:02 AM7/14/15
to rob...@googlegroups.com
I am using Mac. I created a game project in LibGDX. I import the project to RoboVM Studio. It is running in Desktop & Android Modes, but when I try to run the IOSLauncher, it gives me that error message:

Exception in thread "main" java.lang.UnsatisfiedLinkError: org.robovm.rt.bro.Dl.open(Ljava/lang/String;)J
at org.robovm.rt.bro.Dl.open(Native Method)
at org.robovm.rt.bro.Runtime.getHandle(Runtime.java:260)
at org.robovm.rt.bro.Runtime.loadLibrary(Runtime.java:187)
at org.robovm.rt.bro.Bro.bind(Bro.java:56)
at org.robovm.objc.ObjCRuntime.<clinit>(ObjCRuntime.java:43)
at org.robovm.objc.ObjCObject.<clinit>(ObjCObject.java:57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:122)

When I added a "RoboVM iOS Configuration" from Run/Edit Configurations, this time it gives me that error message:

Error:Gradle: Execution failed for task ':html:compileGwt'.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1


Mario Zechner

unread,
Jul 14, 2015, 5:08:27 PM7/14/15
to rob...@googlegroups.com, ahmetg...@gmail.com
Keep your RoboVM IOS run configuration. Open settings.gradle and remove 'html'. Then runthe iOS configuration again. It appears something is wrong with the html Gradle project, please post this on the libGDX forums.

Ahmet Guler

unread,
Jul 15, 2015, 3:24:14 AM7/15/15
to rob...@googlegroups.com, ahmetg...@gmail.com
Thank you very much Mario.

I created a new LibGDX project without HTML. Now it is working well on Desktop, Android and iOS. You're absolutely right. The problem is caused of HTML. I will ask this HTML problem in LibGDX forums by following your advice. 

But now I'm facing that problem:

I want to test my application on my iPhone.
I created IPA file from Build/Create IPA and 
I copied this IPA file to my iPhone by using iTunes.
But it is greyed-out and when i clicked it, it was stuck, it didn't work.

When I searched on the web, i saw that this is caused of bundle id.
But they explain the solution on Xcode, not Android/RoboVM Studio. 
How can I change bundle id, or certification on RoboVM Studio?



Best regards

Ahmet

15 Temmuz 2015 Çarşamba 00:08:27 UTC+3 tarihinde Mario Zechner yazdı:

Niklas Therning

unread,
Jul 21, 2015, 7:57:23 AM7/21/15
to Ahmet Guler, rob...@googlegroups.com
Make sure the app.id property in your robovm.properties file matches the app id in your provisioning profile.

--
You received this message because you are subscribed to the Google Groups "RoboVM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robovm+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Herman Tse

unread,
Oct 12, 2017, 5:28:28 AM10/12/17
to RoboVM
Hi Mario,

I have similar error but does not have 'html' in settings.gradle. I'm on mac os 10.11.6 with xcode 7.3 and RoboVM 2.3.2 plugin on Android studio to run a LibGDX project. Any idea? Thanks in advance.

Herman Tse

unread,
Oct 12, 2017, 10:39:57 AM10/12/17
to RoboVM
All,

It turns out to be a problem of running with incorrect configuration. After I properly created a RoboVM IOS config to run with, it's fine now!

Thanks anyway!

best regards,
Herman
Reply all
Reply to author
Forward
0 new messages