Post

Replies

Boosts

Views

Activity

App crash with NSInvalidArgumentException
we got the following crash from one of our customers: crash log this is happening once they initialize our SDK, with the following command: public static func initialize() { SDKManager.shared().setup(AppKey) } the shared() call doesn't seem to have the crash error since it uses a dispatch_once which in that case would have been displayed in the crash log. the setup method is just a facade method that calls another method which acts as facade as well. after this, in the 3rd method there is bunch of things happening. the issue is that if we look into the crash log, we see only 2 calls to the SDK framework, which like i said are only 2 facades. - (void)setup:(NSString *)appKey {   [self initSDK:appKey]; } - (void)initSDK:(NSString *)appKey {   [self initSDK:appKey withParams:nil]; } its also not clear, what does the mention of objc-runtime-new.mm have to do with this crash since the SDK does not import or access any runtime objects. also, unfortunately we do not have a valid dsym to decrypt the 2 calls pointing to the SDK.
0
0
765
Dec ’21