Open yahel-ck opened 1 year ago
@yahel-ck thanks for reporting. hadn't tried it on 16.4.1 probably it is related, will check probably tomorrow. any chance you can try older iOS version ? (just to check) also, make sure you are running 2.3.19 Idea plugin as previous had a bug related to starting on ios13+ device.
I got the same DEBUGSERVER_E_SSL_ERROR error on an iPad with iOS 16.4.
I also got the same errors on my iPhone before upgrading to iOS 16.4.1 (because I thought it might help) but I'm not sure which iOS version I had before.
it indeed failed for me on 16.4.1 first time after device is freshly booted. Second and following launches are successful. investigating into.
there is an update to logic in https://github.com/MobiVM/robovm/pull/726 mostly it will provide better error messages and retry logic and cover cases related to development image mounting and LOCKDOWN_E_PAIRING_DIALOG_RESPONSE_PENDING mentioned above.
there is always a moment that something still don't work. libimobiledevice -- a library we use is build using reverse engineering Apple software/protocols. So it not perfect itself and could not able to handle some cases like usbmuxd daemon go into broken state.
as last resort that mostly always work: reboot phone and reboot Mac (to reset usbmuxs)
Cool when/how can I try it out?
Also I'm still getting org.robovm.libimobiledevice.LibIMobileDeviceException: DEBUGSERVER_E_SSL_ERROR
when the app does launch successfully, so I can't see the traceback if an exception is thrown.
I tried restarting my Mac and iPhone and it didn't help.
Is there anything else I can try?
@yahel-ck its available in snapshot build. can be obtained from there https://mobivm.github.io/dev/
another related case fixed: https://github.com/MobiVM/robovm/pull/734
in recent libmobiledevice *SSL_ERROR -- its common error when communication fails. E.g. it doesn't have specific meaning. I played with iphone8 + ios16.5 and was not able to reproduce.
if this case is reproducible at your end -- please share steps to follow
also there once was case met when robovm sees no device while Xcode and other tools were working. It was cause by "usbmuxd is not running" error inside libmobiledevice. restart of Intellij Idea fixed it. Was not able to reproduce to investigate.
@yahel-ck I also got DEBUGSERVER_E_SSL_ERROR (iPhone 13, kept on iOS 15.6.1). In my case, the app crashed right after launch and I couldn't see any useful logs in Android studio. However, in Xcode, I could access the device console and after trying multiple different search keywords, I found the relevant exception logs. Might have been "IOSlauncher". (Launch already installed app from device) The console is found in Xcode -> Window -> Devices and Simulators -> (pick device) -> (Open console)
@dkimitsa My app crashes during IOSApplication.java didFinishLaunching listener.create() so in my Main create function - perhaps throwing exception at that point reproduces the SSL_ERROR. When launching app from android studio, even the Xcode console misses the crash logs. Only when I launch already installed app from device, the relevant crash logs show up.
@KristjanP94
thanks, SSL_ERROR
is verbose error, in your case it should be "Disconnected". But also it would good to receive any java stack trace logs that are piped to console. Will check
I updated it to 2.20, because the DEBUGSERVER_E_SSL_ERROR
occurred while using 2.19.
Then, LOCKDOWN_E_MUX_ERROR
occurred.
How can I fix this error?
@sdringo9 DEBUGSERVER_E_SSL_ERROR -- means that connection to device is terminated. Most likely this happens as your application is crashed. Check Xcode logs. As for LOCKDOWN_E_MUX_ERROR -- its known issue being investigated. thx
Issue details
Running a LibGDX app on a physical iOS device keeps failing on different errors, each time I run I get a
[ERROR] Couldn't start application
error with one of the following exceptions:org.robovm.libimobiledevice.LibIMobileDeviceException: LOCKDOWN_E_INVALID_CONF
java.lang.RuntimeException: No devices connected
(even though a device is connected and I was able to run an app on it with Xcode)org.robovm.libimobiledevice.LibIMobileDeviceException: LOCKDOWN_E_PAIRING_DIALOG_RESPONSE_PENDING
(I keep getting the "trust device" dialog on random occasions and click trust each time)I tried this with two different projects and sometimes the app does launch successfully, but one of the apps crashes right away (because of an unrelated error probably) and I'm not getting the traceback of the exception. Instead I get a
AppLauncher failed with an exception
error from RoboVM with one of the following exceptions:org.robovm.libimobiledevice.LibIMobileDeviceException: DEBUGSERVER_E_UNKNOWN_ERROR
org.robovm.libimobiledevice.LibIMobileDeviceException: DEBUGSERVER_E_SSL_ERROR
I was able to run these apps with RoboVM on this IPhone in the past and I think the only things that changed since then are the iOS version and the IDEA RoboVM plugin verison. Any help would be appriciated, thanks!
Configuration
Build Tools:
Versions:
Build Targets:
Stacktrace