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

Crash, SDK 4.33.0, iOS 16.1.0, unrecognized selector +[SKAdNetwork updatePostbackConversionValue:coarseValue:lockWindow:completionHandler:] #641

Closed
eugeneego opened this issue Nov 28, 2022 · 10 comments

Comments

@eugeneego
Copy link

We are expepiencing many crashes after updating to 4.33.0 on iOS 16.1.0.
4.32.1 works fine.

Adjust iOS SDK 4.33.0
iOS 16.1.0

Fatal Exception: NSInvalidArgumentException
+[SKAdNetwork updatePostbackConversionValue:coarseValue:lockWindow:completionHandler:]: unrecognized selector sent to class 0x22ba86d70

0  CoreFoundation                 0xa2c8
1  libobjc.A.dylib                0x17a68
2  CoreFoundation                 0x17e8b0
3  CoreFoundation                 0x203e0
4  CoreFoundation                 0x88790
5  AdjustSdk                      0x2f554 -[ADJSKAdNetwork updatePostbackConversionValue:coarseValue:lockWindow:completionHandler:]
6  AdjustSdk                      0x2f75c -[ADJSKAdNetwork adjUpdateConversionValue:coarseValue:lockWindow:completionHandler:]
7  AdjustSdk                      0x15ed0 -[ADJActivityHandler checkConversionValue:]
8  AdjustSdk                      0xab9c -[ADJActivityHandler finishedTracking:]
9  AdjustSdk                      0x24664 -[ADJPackageHandler sendNextPackage:]
10 AdjustSdk                      0x245bc -[ADJPackageHandler responseCallback:]
11 AdjustSdk                      0x26c48 __73-[ADJRequestHandler sendNSURLSessionRequest:responseData:methodTypeInfo:]_block_invoke
12 CFNetwork                      0x20544
13 CFNetwork                      0x30498
14 libdispatch.dylib              0x24b4
15 libdispatch.dylib              0x3fdc
16 libdispatch.dylib              0xb694
17 libdispatch.dylib              0xc214
18 libdispatch.dylib              0x16e10
19 libsystem_pthread.dylib        0xdf8
20 libsystem_pthread.dylib        0xb98
@Aditi3
Copy link
Member

Aditi3 commented Nov 28, 2022

Hi @eugeneego

We've tried to reproduce the crash on our end but haven't been able to. Are you able to reproduce this yourself? If yes, do let us know the steps to reproduce the same.

Additionally, could you confirm if the crashes are happening on the iOS platform and not on macOS, watchOS, and tvOS?

@dede
Copy link

dede commented Dec 1, 2022

Hi, we are also starting to see same crash in new version of our iOS App with similar stack trace. We also couldn't reproduce it yet.

As far as I can see from beginning of the phased release, it seems it's only happening on iOS 16.1.0

@uerceg
Copy link
Contributor

uerceg commented Dec 1, 2022

@eugeneego @dede Just to double check, do you guys have StoreKit.framework linked to your app?

@akbashev
Copy link

akbashev commented Dec 4, 2022

Also seen an issue. So far just one user, iOS 16.1.0, iPhone 11. Adjust sdk version 4.33.1 . We do use StoreKit to call SKStoreReviewController.

@eugeneego
Copy link
Author

@eugeneego @dede Just to double check, do you guys have StoreKit.framework linked to your app?

Yes, our app is linked to StoreKit.
The crash is only on iOS 16.1.0, no crashes on iOS 16.1.1. Probably it could be an iOS issue with new API availability that fixed in 16.1.1.

@uerceg
Copy link
Contributor

uerceg commented Dec 5, 2022

@eugeneego Thanks for the response. Yeah, this is really awkward and even though we have also read about "some bug" which Apple has fixed when it comes to SKAdNetwork with iOS 16.1.1 release, we saw nothing inside of their iOS SDK source code which could indicate that the bug was that updatePostbackConversionValue:coarseValue:lockWindow:completionHandler: method was not being present on iOS 16.1.0 devices. Even their docs are not stating anything about iOS 16.1.1 exclusivity for that API. Nonetheless, we will ship an update soon with a bit more mechanisms to check whether SKAD API we want to invoke is truly present on the device which should hopefully eliminate cases which (like mentioned above) we were unfortunately unable to reproduce on our end.

Maybe one more question - do you see these crashes happening for your entire iOS 16.1.0 user base or just some of the users with that specific iOS version?

@eugeneego
Copy link
Author

@uerceg As I see in our analytics, we have minor audience on iOS 16.1.0, and we've released fix with reverting SDK to 4.32.1 quickly, so can't really tell about it's affected our entire iOS 16.1.0 user base.

@dede
Copy link

dede commented Dec 5, 2022

Maybe one more question - do you see these crashes happening for your entire iOS 16.1.0 user base or just some of the users with that specific iOS version?

@uerceg it's only happening to a small amount of iOS 16.1.0 users. Our Adjust SDK version was 4.33.0 in that release.

@uerceg uerceg mentioned this issue Dec 6, 2022
@uerceg
Copy link
Contributor

uerceg commented Dec 6, 2022

Hey guys. We just shipped 4.33.2 patch version update where we tried to address these occasional crashes in iOS 16.1.0. In case you get a chance to give it a shot, please feel free to and let us know if you're still facing this issue with that (or later) SDK version. Looking forward to hearing back from you.

@uerceg
Copy link
Contributor

uerceg commented Feb 9, 2023

Closing this one for now, but in case you still see the issue happening post this SDK update, please let us know and feel free to comment / reopen. Cheers.

@uerceg uerceg closed this as completed Feb 9, 2023
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

5 participants