/v1/user/me 이 deprecated 됨에 따라 최근에 sdk2 beta 를 적용해서 배포하였는데 간혈적으로 카카오톡 로그인 플러그인 사용시에 오류가 나서 문의드립니다.
적용한부분은 브라우져로 카카오계정 로그인 (Default browser), KakaoTalk 으로 로그인, UserApi에 있는 me()를 호출하는 로직 사용하고 있습니다.
-
Crashed: com.apple.main-thread
0 libdispatch.dylib 0x18b745858 _dispatch_once_wait.cold.1 + 28
1 libdispatch.dylib 0x18b7168e0 _dispatch_gate_broadcast_slow + 194
2 libswiftCore.dylib 0x1993cb344 swift_once + 44
3 RxKakaoSDKAuth 0x104569058 $s14RxKakaoSDKAuth14MigrateManagerC10migrateSdkyyFZTf4d_n + 3188
4 RxKakaoSDKAuth 0x1045693dc $s14RxKakaoSDKAuth14MigrateManagerC27checkSdkVersionForMigrationyyFZTf4d_n + 556
5 RxKakaoSDKAuth 0x10456ec48 $s14RxKakaoSDKAuth4AuthC12tokenManagerAcA14TokenManagable_p_tcfc + 624
6 RxKakaoSDKAuth 0x10456e80c globalinit_33_FD1B301C86F68CAC64EC77EA02745325_func5 + 156
7 libdispatch.dylib 0x18b715fd8 dispatch_client_callout + 20
8 libdispatch.dylib 0x18b7176c0 dispatch_once_callout + 32
9 libswiftCore.dylib 0x1993cb344 swift_once + 44
10 RxKakaoSDKAuth 0x10456e71c globalinit_33_FD1B301C86F68CAC64EC77EA02745325_func4 + 44
11 libdispatch.dylib 0x18b715fd8 dispatch_client_callout + 20
12 libdispatch.dylib 0x18b7176c0 dispatch_once_callout + 32
13 libswiftCore.dylib 0x1993cb344 swift_once + 44
14 RxKakaoSDKAuth 0x10455b314 $s7RxSwift8ReactiveV0A12KakaoSDKAuthAD7AuthApiCRbzlE18refreshAccessToken8clientId0hJ0AA17PrimitiveSequenceVyAA11SingleTraitOAD05OAuthJ0VGSS_SSSgtFyAOcfU1 + 116
15 RxSwift 0x1047e99e8 $s7RxSwift14ObservableTypePAAE2do6onNext05afterG00F5Error0hI00F9Completed0hJ00F9Subscribe0F10Subscribed0F7DisposeAA0C0Cy7ElementQzGyAQKcSg_ASys0I0_pKcSgAUyyKcSgAVyycSgA2WtFyAA5EventOyAQGKcfU0 + 380
16 RxSwift 0x1047e9764 $s7RxSwift14ObservableTypePAAE2do6onNext05afterG00F5Error0hI00F9Completed0hJ00F9Subscribe0F10Subscribed0F7DisposeAA0C0Cy7ElementQzGyAQKcSg_ASys0I0_pKcSgAUyyKcSgAVyycSgA2WtFyAA5EventOyAQGKcfU_TA + 36
17 RxSwift 0x1047e9cd4 $s7RxSwift6DoSink33_51F9E615740E91B2E920965FFBB1EED3LLC2onyyAA5EventOy7ElementQzGF + 148
18 RxSwift 0x1047e9ee8 $s7RxSwift6DoSink33_51F9E615740E91B2E920965FFBB1EED3LLCyxGAA12ObserverTypeA2aFP2onyyAA5EventOy7ElementQzGFTW + 20
19 RxSwift 0x104821084 $s7RxSwift4SinkC9forwardOnyyAA5EventOy7ElementQzGF + 112
20 RxSwift 0x1047b2af4 $s7RxSwift12AsSingleSink33_335C1F141075C9CA60CC9F489378CFCCLLC2onyyAA5EventOy7ElementQzGF + 976
21 RxSwift 0x1047b2e60 $s7RxSwift12AsSingleSink33_335C1F141075C9CA60CC9F489378CFCCLLCyxGAA12ObserverTypeA2aFP2onyyAA5EventOy7ElementQzGFTW + 20
22 RxSwift 0x104821084 $s7RxSwift4SinkC9forwardOnyyAA5EventOy7ElementQzGF + 112
23 RxSwift 0x1047e9cec $s7RxSwift6DoSink33_51F9E615740E91B2E920965FFBB1EED3LLC2onyyAA5EventOy7ElementQzGF + 172
24 RxSwift 0x1047e9ee8 $s7RxSwift6DoSink33_51F9E615740E91B2E920965FFBB1EED3LLCyxGAA12ObserverTypeA2aFP2onyyAA5EventOy7ElementQzGFTW + 20
25 RxSwift 0x104821084 $s7RxSwift4SinkC9forwardOnyyAA5EventOy7ElementQzGF + 112
26 RxSwift 0x1047f4254 $s7RxSwift7MapSink33_5428EFA9A9B0C0340021B871D2E5AC01LLC2onyyAA5EventOyxGF + 324
27 RxSwift 0x1047f44cc $s7RxSwift7MapSink33_5428EFA9A9B0C0340021B871D2E5AC01LLCyxq_GAA12ObserverTypeA2aFP2onyyAA5EventOy7ElementQzGFTW + 20
28 RxSwift 0x104821084 $s7RxSwift4SinkC9forwardOnyyAA5EventOy7ElementQzGF + 112
29 RxSwift 0x1047e9cec $s7RxSwift6DoSink33_51F9E615740E91B2E920965FFBB1EED3LLC2onyyAA5EventOy7ElementQzGF + 172
30 RxSwift 0x1047e9ee8 $s7RxSwift6DoSink33_51F9E615740E91B2E920965FFBB1EED3LLCyxGAA12ObserverTypeA2aFP2onyyAA5EventOy7ElementQzGFTW + 20
31 RxSwift 0x104821084 $s7RxSwift4SinkC9forwardOnyyAA5EventOy7ElementQzGF + 112
32 RxSwift 0x1047f8bfc $s7RxSwift9MergeSink33_DDEA0423368B3B462AE46699A4D080E1LLC2onyyAA5EventOyxGF + 472
33 RxSwift 0x1047f9c7c $s7RxSwift9MergeSink33_DDEA0423368B3B462AE46699A4D080E1LLCyxq_q0_GAA12ObserverTypeA2aFP2onyyAA5EventOy7ElementQzGFTW + 20
34 RxSwift 0x104821084 $s7RxSwift4SinkC9forwardOnyyAA5EventOy7ElementQzGF + 112
35 RxSwift 0x1047da53c $s7RxSwift23AnonymousObservableSink33_95EBF5692819D58425EC2DD0512D115ALLC2onyyAA5EventOy7ElementQzGF + 348
36 RxSwift 0x1047da6e4 $s7RxSwift23AnonymousObservableSink33_95EBF5692819D58425EC2DD0512D115ALLCyxGAA12ObserverTypeA2aFP2onyyAA5EventOy7ElementQzGFTW + 20
37 RxSwift 0x104801670 $sTA + 76
38 RxSwift 0x1047b1380 $s7RxSwift11AnyObserverV2onyyAA5EventOyxGF + 44
39 RxAlamofire 0x1042ae834 $s7RxSwift8ReactiveV0A9Alamofire0D014SessionManagerCRbzlE7requestyAA10ObservableCyqd__Gqd__AGKcAD0aD7RequestRd__lFAA10Disposable_pAA11AnyObserverVyqd__GcfU_yAD0aD8Response_pcfU + 240
40 RxAlamofire 0x1042b4414 $s9Alamofire15DownloadRequestC02RxA0E12responseWith17completionHandleryyAD0dA8Response_pc_tFyAA07DefaultbI0VcfU_TATm + 88
41 Alamofire 0x102fb4004 $s9Alamofire11DataRequestC8response5queue17completionHandlerACXDSo012OS_dispatch_E0CSg_yAA07DefaultB8ResponseVctFyycfU_yycfU + 1492
42 Alamofire 0x102f98eac $sIeg_IeyB_TR + 28
43 libdispatch.dylib 0x18b714b7c _dispatch_call_block_and_release + 32
44 libdispatch.dylib 0x18b715fd8 _dispatch_client_callout + 20
45 libdispatch.dylib 0x18b721cc8 _dispatch_main_queue_callback_4CF + 968
46 CoreFoundation 0x18b9ebcc8 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
47 CoreFoundation 0x18b9e6a24 __CFRunLoopRun + 1980
48 CoreFoundation 0x18b9e5f40 CFRunLoopRunSpecific + 480
49 GraphicsServices 0x195c76534 GSEventRunModal + 108
50 UIKitCore 0x18fb71580 UIApplicationMain + 1940
51 superfan 0x102541160 main + 57 (AppDelegate.swift:57)
52 libdyld.dylib 0x18b864e18 start + 4 -
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x1df1aa98c __exceptionPreprocess
1 libobjc.A.dylib 0x1de3839f8 objc_exception_throw
2 CoreFoundation 0x1df0c71c8 -[NSOrderedSet initWithSet:copyItems:]
3 CoreFoundation 0x1df1b01d4 forwarding
4 CoreFoundation 0x1df1b1e6c CF_forwarding_prep_0
5 RxKakaoSDKAuth 0x1026dc13c (Missing)
6 RxKakaoSDKAuth 0x1026dc2fc (Missing)
7 RxSwift 0x1029525e4 (Missing)
8 RxSwift 0x102952808 (Missing)
9 RxSwift 0x10297eff0 (Missing)
10 RxSwift 0x10297138c (Missing)
11 RxSwift 0x102971e3c (Missing)
12 RxSwift 0x10297f508 (Missing)
13 RxSwift 0x102952cc0 (Missing)
14 RxSwift 0x10297f0f0 (Missing)
15 RxSwift 0x102976340 (Missing)
16 superfan 0x100975530 specialized BaseLoginViewController.forceKakaoClick( ()
17 superfan 0x100973234 @objc BaseLoginViewController.forceKakaoClick(_ ()
18 UIKitCore 0x20b6deac4 -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:]
19 UIKitCore 0x20b6e6ccc _UIGestureRecognizerSendTargetActions
20 UIKitCore 0x20b6e4670 _UIGestureRecognizerSendActions
21 UIKitCore 0x20b6e3b9c -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:]
22 UIKitCore 0x20b6d7c78 _UIGestureEnvironmentUpdate
23 UIKitCore 0x20b6d73a8 -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:]
24 UIKitCore 0x20b6d7188 -[UIGestureEnvironment _updateForEvent:window:]
25 UIKitCore 0x20baef7d0 -[UIWindow sendEvent:]
26 UIKitCore 0x20bacf85c -[UIApplication sendEvent:]
27 UIKitCore 0x20bb959d4 __dispatchPreprocessedEventFromEventQueue
28 UIKitCore 0x20bb98100 __handleEventQueueInternal
29 UIKitCore 0x20bb91330 __handleHIDEventFetcherDrain
30 CoreFoundation 0x1df13c728 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
31 CoreFoundation 0x1df13c6a8 __CFRunLoopDoSource0
32 CoreFoundation 0x1df13bf90 __CFRunLoopDoSources0
33 CoreFoundation 0x1df136ecc __CFRunLoopRun
34 CoreFoundation 0x1df1367c0 CFRunLoopRunSpecific
35 GraphicsServices 0x1e133779c GSEventRunModal
36 UIKitCore 0x20bab5c38 UIApplicationMain
37 ??? 0x105ab3cb4 (Missing)
38 superfan 0x100725160 main + 57 (AppDelegate.swift:57)
39 libdyld.dylib 0x1debfa8e0 start
현재는 공식버전이 sdk2 -beta인데 업데이트된 버전이 나올 예정인지 , 위의 오류사항이 sdk 업데이트 되면 개선될 사항인지 궁금합니다. 감사합니다.