AppsFlyerSDK / appsflyer-apple-purchase-connector

Other
3 stars 3 forks source link

Crash right after purchase is made #9

Closed korzh-gbk closed 1 year ago

korzh-gbk commented 1 year ago

App crashes with next messages

-[fir_407EC1FA-8017-4A24-B8B6-085DD914F1BF_AppsFlyerHTTPClient sendEvent:completionHandler:]: unrecognized selector sent to instance 0x283e8d200
 *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[fir_407EC1FA-8017-4A24-B8B6-085DD914F1BF_AppsFlyerHTTPClient sendEvent:completionHandler:]: unrecognized selector sent to instance 0x283e8d200'

Original Exception backtrace

#0  0x0000000195996d94 in __exceptionPreprocess ()
#1  0x000000018ea483d0 in objc_exception_throw ()
#2  0x0000000195b0bb14 in -[NSObject(NSObject) doesNotRecognizeSelector:] ()
#3  0x00000001959ad1c8 in ___forwarding___ ()
#4  0x0000000195a139f0 in _CF_forwarding_prep_0 ()
#5  0x000000010499baa0 in -[AFSDKStoreKit recordInAppPurchaseEvent:completionHandler:] ()
#6  0x000000010499b75c in -[AFSDKStoreKit recordPurchasesWithAppleAppId:filterOption:appsFlyerDevKey:environment:isCached:bundleIdentifier:appVersionName:sdkVersion:iOSVersion:products:IDFA:IDFV:customerUserId:appsFlyerId:authorizationStatus:additionalParameters:URL:completionHandler:] ()
#7  0x000000010499db40 in __67-[PurchaseConnector didResolveProducts:transactions:requestorType:]_block_invoke_3 ()
#8  0x00000001048b1dd8 in -[AFSDKiAdClient requestIDWithCompletionHandler:] ()
#9  0x000000010499d8f8 in __67-[PurchaseConnector didResolveProducts:transactions:requestorType:]_block_invoke_2 ()
#10 0x00000001078fc520 in _dispatch_call_block_and_release ()
#11 0x00000001078fe038 in _dispatch_client_callout ()
#12 0x00000001079060b0 in _dispatch_lane_serial_drain ()
#13 0x0000000107906df4 in _dispatch_lane_invoke ()
#14 0x0000000107913c74 in _dispatch_workloop_worker_thread ()
#15 0x00000001f5327ddc in _pthread_wqthread ()
#16 0x00000001f5327b7c in start_wqthread ()

AppsFlyer works properly in other cases

This issue caught on iOS 16.4.1, but was reported from multiple other devices

vladimir-d-1 commented 1 year ago

same

scihant commented 1 year ago

I've also started to have the same issue after updating to the latest version. The app crashes a few seconds after launch with the exact same error message.

nord-cyber commented 1 year ago

same:( App crash after purchase

af-obodovskyi commented 1 year ago

@scihant @vladimir-d-1 @nord-cyber we are on this issue. The updated Purchase Connector version with the fix will be available early next week.

devibrahimkarahan commented 1 year ago

Same error @af-obodovskyi, is it resolved?

RomanTsarou commented 1 year ago

@scihant @vladimir-d-1 @nord-cyber we are on this issue. The updated Purchase Connector version with the fix will be available early next week.

Can't update with pods:

 CocoaPods could not find compatible versions for pod "PurchaseConnector":
  In Podfile:
    PurchaseConnector (~> 6.10.1)

I get 6.8.1 version with the error

af-obodovskyi commented 1 year ago

@RomanTsarou, if you want to use the latest 6.10.1 version of the Purchase Connnector via Cocoapods, please use pod 'PurchaseConnector', '6.10.1' in your podspec.