I was previously using version 1.75.0 of the iOS SDK without any issues and am in the process of upgrading to the latest version (1.84.0). I am doing an incremental upgrade (as there have been several API changes) and have discovered that in all SDK version from 1.77.0 to 1.84.0, my app crashes due to a [NSNull objectForKey:] exception (unrecognized selector sent to instance).
I've set a breakpoint no all exceptions but this does not provide enough information to identify the source of this exception (neither does the debug console log).
My assumption is that one of the API calls that the SDK is doing in the background (e.g. get network contacts) is receiving a NULL value that it does not handle, and hence is throwing an exception.
I have clean and rebuilt my app, logged out and back in again, deleted and reinstalled, the problem still occurs. This crash does not occur if I use SDK version 1.76.0 or lower.
Has anyone else come across this issue or have any ideas on how to identify the source?
Please sign in to leave a comment.