PojavLauncherTeam/PojavLauncher_iOS

[Bug] Instant crash on startup

PurelyAndy opened this issue · 0 comments

Describe the bug

The latest build of PojavLauncher crashes immediately upon startup. Version 2.2 does not.

The log file and images/videos

[Pre-Init] PojavLauncher INIT!
[Pre-Init] Version: 3.0-development
[Pre-Init] Commit: ccde0ef (main)
[Pre-Init] Device: iPhone SE (2nd generation)
[Pre-Init] iOS 15.1 (19B74) (TrollStore)
[Pre-init] Entitlements availability:
* com.apple.developer.kernel.extended-virtual-addressing: YES
* com.apple.developer.kernel.increased-memory-limit: YES
* com.apple.private.security.no-sandbox: NO
[Debugging] Debug log enabled: YES
[Pre-init] Restored game directory preference (default)
[VersionList] Got 771 versions
2024-09-16 11:08:02.120 PojavLauncher[1380:496220] -[NSError length]: unrecognized selector sent to instance 0x2836f9f50
Uncaught exception: -[NSError length]: unrecognized selector sent to instance 0x2836f9f50
Call stack: (
	0   CoreFoundation                      0x0000000181d18060 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 626784
	1   libobjc.A.dylib                     0x000000019a38cf54 objc_exception_throw + 60
	2   CoreFoundation                      0x0000000181df5014 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 1531924
	3   CoreFoundation                      0x0000000181cad474 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 189556
	4   CoreFoundation                      0x0000000181cac5b0 _CF_forwarding_prep_0 + 96
	5   UIKitCore                           0x000000018435fd90 8388EB03-002B-3B35-A78A-6A022894292E + 2338192
	6   UIKitCore                           0x000000018428cfa8 8388EB03-002B-3B35-A78A-6A022894292E + 1474472
	7   UIKitCore                           0x00000001842991cc 8388EB03-002B-3B35-A78A-6A022894292E + 1524172
	8   PojavLauncher                       0x0000000100f78e20 __43-[LauncherNavigationController viewDidLoad]_block_invoke + 108
	9   PojavLauncher                       0x0000000100f37ff4 __62-[MicrosoftAuthenticator acquireAccessToken:refresh:callback:]_block_invoke.29 + 208
	10  libAFNetworking.dylib               0x0000000101274354 __124-[AFHTTPSessionManager dataTaskWithHTTPMethod:URLString:parameters:headers:uploadProgress:downloadProgress:success:failure:]_block_invoke_2 + 156
	11  libAFNetworking.dylib               0x0000000101281c48 __72-[AFURLSessionManagerTaskDelegate URLSession:task:didCompleteWithError:]_block_invoke_2.36 + 168
	12  libdispatch.dylib                   0x0000000181988914 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 10516
	13  libdispatch.dylib                   0x000000018198a660 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 18016
	14  libdispatch.dylib                   0x0000000181998bbc _dispatch_main_queue_callback_4CF + 1036
	15  CoreFoundation                      0x0000000181cd0cd4 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 335060
	16  CoreFoundation                      0x0000000181c8aeac B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 48812
	17  CoreFoundation                      0x0000000181c9e3b8 CFRunLoopRunSpecific + 600
	18  GraphicsServices                    0x000000019d62e38c GSEventRunModal + 164
	19  UIKitCore                           0x000000018463e6a8 8388EB03-002B-3B35-A78A-6A022894292E + 5346984
	20  UIKitCore                           0x00000001843bd7f4 UIApplicationMain + 2092
	21  PojavLauncher                       0x0000000100f32a3c main + 996
	22  dyld                                0x000000010139da24 start + 520
)

Steps To Reproduce

1. Start PojavLauncher
2. It stops

Expected Behavior

I expect it to not stop

Platform

- Device model: iPhone SE 2020
- iOS version: 15.1
- PojavLauncher version: Latest Release (3.0 dev build from commit ccde0ef)

Anything else?

No response