Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile app crash on [SalesforceSDKManager presentSnapshot] #3826

Open
shivcelumula opened this issue Jan 31, 2025 · 1 comment
Open

Mobile app crash on [SalesforceSDKManager presentSnapshot] #3826

shivcelumula opened this issue Jan 31, 2025 · 1 comment

Comments

@shivcelumula
Copy link

Please fill out the following details:

Version of Mobile SDK Used: 12.2.0
Issue found in Native App or Hybrid App: Native App
OS Version: iOS 17.2
Device: iPhone 15 Pro Simulator (Also happening in all simulators and real devices)
Steps to reproduce: Login to app and go into background mode
Actual behavior: App is crashing
Expected Behavior: App shouldn't crash and function normal

After integrating the Intune SDK into our app, the app started crashing. I applied the fix mentioned in this pull request from a previous ticket #3767. That crash was resolved, but now a new crash has occurred. Please help.

Error Log:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKeyedSubscript:]: key cannot be nil'
*** First throw call stack:
(
0 CoreFoundation 0x00007ff80049b761 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff800063904 objc_exception_throw + 48
2 CoreFoundation 0x00007ff80050bfb6 -[__NSDictionaryM setObject:forKeyedSubscript:] + 1237
3 SalesforceSDKCommon 0x00000001098198e7 __47-[SFSDKSafeMutableDictionary setObject:forKey:]_block_invoke + 103
4 libdispatch.dylib 0x00000001091e7747 _dispatch_call_block_and_release + 12
5 libdispatch.dylib 0x00000001091e89f7 _dispatch_client_callout + 8
6 libdispatch.dylib 0x00000001091fb499 _dispatch_lane_concurrent_drain + 1559
7 libdispatch.dylib 0x00000001091f1679 _dispatch_lane_invoke + 461
8 libdispatch.dylib 0x00000001091eb239 _dispatch_queue_override_invoke + 797
9 libdispatch.dylib 0x00000001091fc7f1 _dispatch_root_queue_drain + 369
10 libdispatch.dylib 0x00000001091fd3b5 _dispatch_worker_thread2 + 277
11 libsystem_pthread.dylib 0x0000000109008c0f _pthread_wqthread + 257
12 libsystem_pthread.dylib 0x0000000109007bbf start_wqthread + 15
)
libc++abi: terminating due to uncaught exception of type NSException

Image
@shivcelumula shivcelumula changed the title Mobile app crash on Mobile app crash on [SalesforceSDKManager presentSnapshot] Feb 4, 2025
@shivcelumula
Copy link
Author

Hi Team,
Can someone please look into this..?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant