IOS crashing on launch
See original GitHub issueI believe this is related to: https://github.com/libgdx/libgdx/issues/6413 which was recently resolved. I’m fuzzy with what exactly the fix was there, but maybe it’s something similar?
Device is iOS 10 and a 32-bit arch (not sure if arch is related, all of my other devices are 64-bit).
The LibGDX app simply crashes on launch. Does not occur on other devices (iOS 12 and iOS 14).
2021-02-27 15:18:52.133748-0500 IOSLauncher[265:40099] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[missing_OALSimpleAudio sharedInstance]: unrecognized selector sent to class 0x16e86f30'
*** First throw call stack:
(0x1deefb3d 0x1d177067 0x1def4f33 0x1def30c3 0x1de1bdc8 0x36546b 0x364f47 0x364f0b 0x364d41 0x35510f 0x354f19 0x356869 0x8a3b99 0x356a39 0x35645d 0x2318b5c5 0x2338ca4b 0x23391c1d 0x233a47c5 0x2338f35b 0x1f7d0c13 0x1f7d0acd 0x1f7d0db7 0x1deabfdd 0x1deabb05 0x1dea9f51 0x1ddfd1af 0x1ddfcfd1 0x23184e2d 0x2317fa53 0xd909f5 0xd90063 0xd8f553 0x8a3b63 0xfe1df3 0xfdad27 0xfdc897 0xfdc8f3 0xfd6dfd 0xfcf117 0x1d5ea4eb)
libc++abi.dylib: terminating with uncaught exception of type NSException
Log:
Last Exception Backtrace:
0 CoreFoundation 0x1deefb38 0x1ddf5000 + 1026872
1 libobjc.A.dylib 0x1d177062 0x1d170000 + 28770
2 CoreFoundation 0x1def4f2e 0x1ddf5000 + 1048366
3 CoreFoundation 0x1def30be 0x1ddf5000 + 1040574
4 CoreFoundation 0x1de1bdc4 0x1ddf5000 + 159172
5 IOSLauncher 0x00363466 [J]com.badlogic.gdx.backends.iosrobovm.objectal.OALSimpleAudio.$m$sharedInstance+ 2856038 (Lorg/robovm/objc/ObjCClass;Lorg/robovm/objc/Selector;)Lcom/badlogic/gdx/backends/iosrobovm/objectal/OALSimpleAudio; + 121
6 IOSLauncher 0x00362f42 [J]com.badlogic.gdx.backends.iosrobovm.objectal.OALSimpleAudio.sharedInstance+ 2854722 ()Lcom/badlogic/gdx/backends/iosrobovm/objectal/OALSimpleAudio; + 33
7 IOSLauncher 0x00362f06 [j]com.badlogic.gdx.backends.iosrobovm.objectal.OALSimpleAudio.sharedInstance+ 2854662 ()Lcom/badlogic/gdx/backends/iosrobovm/objectal/OALSimpleAudio;[clinit] + 33
8 IOSLauncher 0x00362d3c [J]com.badlogic.gdx.backends.iosrobovm.objectal.OALIOSAudio.<init>(Lcom/badlogic/gdx/backends/iosrobovm/IOSApplicationConfiguration;)V + 2854204 (OALIOSAudio.java:35)
9 IOSLauncher 0x0035310a [J]com.badlogic.gdx.backends.iosrobovm.IOSApplication.createAudio(Lcom/badlogic/gdx/backends/iosrobovm/IOSApplicationConfiguration;)Lcom/badlogic/gdx/backends/iosrobovm/IOSAudio; + 2789642 (IOSApplication.java:163)
10 IOSLauncher 0x00352f14 [J]com.badlogic.gdx.backends.iosrobovm.IOSApplication.didFinishLaunching(Lorg/robovm/apple/uikit/UIApplication;Lorg/robovm/apple/uikit/UIApplicationLaunchOptions;)Z + 2789140 (IOSApplication.java:142)
11 IOSLauncher 0x00354864 [J]com.badlogic.gdx.backends.iosrobovm.IOSApplication$Delegate.didFinishLaunching(Lorg/robovm/apple/uikit/UIApplication;Lorg/robovm/apple/uikit/UIApplicationLaunchOptions;)Z + 2795620 (IOSApplication$Delegate.java:66)
12 IOSLauncher 0x008a1b94 [J]org.package.IOSLauncher.didFinishLaunching(Lorg/robovm/apple/uikit/UIApplication;Lorg/robovm/apple/uikit/UIApplicationLaunchOptions;)Z + 8354708 (IOSLauncher.java:82)
13 IOSLauncher 0x00354a34 [J]com.badlogic.gdx.backends.iosrobovm.IOSApplication$Delegate.$cb$application$didFinishLaunchingWithOptions$+ 2796084 (Lcom/badlogic/gdx/backends/iosrobovm/IOSApplication$Delegate;Lorg/robovm/objc/Selector;Lorg/robovm/apple/uikit/UIApplication;Lorg/robovm/apple/uikit/UIApplicationLaunchOptions;)Z + 23
14 IOSLauncher 0x00354458 [j]com.badlogic.gdx.backends.iosrobovm.IOSApplication$Delegate.$cb$application$didFinishLaunchingWithOptions$+ 2794584 (Lcom/badlogic/gdx/backends/iosrobovm/IOSApplication$Delegate;Lorg/robovm/objc/Selector;Lorg/robovm/apple/uikit/UIApplication;Lorg/robovm/apple/uikit/UIApplicationLaunchOptions;)Z[callback] + 179
Using latest LibGDX and RoboVM snapshot.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
9 Fixes for When Your iPhone Apps Keep Crashing
9 Fixes for When Your iPhone Apps Keep Crashing · 1. Check Your Internet Connection · 2. Close and Relaunch the App ·...
Read more >App crashing immediately on start up after upgrading to iOS12.
Running fine in simulator but crashes in device. No crash logs recorded. In line error shown after launching the app Thread 1: EXC_BAD_ACCESS...
Read more >13 solutions to fix apps crashing on iPhone and iPad
If the app is crashing due to poor network issues, open the Settings app or Control Center and enable Airplane Mode. After 15...
Read more >Fix iPhone App Crashing on Startup: on iPad, After iOS 15 ...
Fix iPhone App crashing on Startup: on iPad, After iOS 16.1.2 Update · Restart or reboot iPhone, iPad or Hard Reset · Up-to-date...
Read more >Fix Apple iPhone with apps that keep crashing after iOS 13
Troubleshooting Apple iPhone with apps that keep crashing after iOS 13 · First solution: Clear all background apps. · Second solution: Restart ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It was intentional to temporarily fix the build which broke due to updates in the build toolchain.
They are related, but separate. It will be fixed when i downgrade the mac slave. Ill see if i can do it tomorrow.