카카오 로그인을 실행하면 UIApplication.shared.open 실행 후 약 10초 정도 앱이 멈춘 후 다음으로 넘어가집니다.
사용하고 있는 Sdk 버전은 2.8.2, 앱 ID는 633707입니다 xcode 버전은 13입니다
Info.plist, urlscheme 이상없습니다
openurl 함수를 AppDelegate, SceneDelegate 모두에 작성하는방식, 각각 한쪽에 작성하는 방식 동일한 현상 있습니다
아래는 로그입니다
수정사항 : ios15.1, ios 14.7, ios15.0 테스트에서 ios 15.0버전에서만 이러한 현상이 나타났습니다
수정 : 카카오 어카운트로 로그인은 문제없고 카카오톡 앱으로 로그인은 문제있네요
로그인 스토리보드로 이동
UserDefaultsValue: nil
2021-11-09 04:07:39749 [][AuthController.swift 373:21] → code_verifier: CXzcsz3g3xJMTHCtzLsETJsBjIUNzeEime4QabJmeme5kl+yfv6LwZFznQLfBwHLyU6hwJI6eXZ4RThvkacblw
2021-11-09 04:07:39754 [][AuthController.swift 376:25] → code_challenge: ELp3C-LKTPcMWTmOrfE2TGM6xN3mWD4jRu1yEMPh22s
2021-11-09 04:07:39811 [][AuthController.swift 111:25] → 카카오톡 실행: kakaokompassauth://authorize?client_id=f2cec2b1c7c55e76bb33bfad00192320&response_type=code&headers=%7B%22KA%22:%22sdk%5C/2.8.2%20sdk_type%5C/swift%20os%5C/ios-15.0.2%20lang%5C/ko-KR%20res%5C/414x896%20device%5C/iPhone%20origin%5C/com.utinfra.kinimomhelper%20app_ver%5C/1.0%22%7D&redirect_uri=kakaof2cec2b1c7c55e76bb33bfad00192320://oauth¶ms=%7B%22code_challenge_method%22:%22S256%22,%22code_challenge%22:%22ELp3C-LKTPcMWTmOrfE2TGM6xN3mWD4jRu1yEMPh22s%22%7D
2021-11-09 04:07:51906 [][Api.swift 116:29] → ===================================================================================================
2021-11-09 04:07:51910 [][Api.swift 117:29] → session:
type: Auth
2021-11-09 04:07:51914 [][Api.swift 118:29] → request:
method: HTTPMethod(rawValue: “POST”)
url:https://kauth.kakao.com/oauth/token
headers:nil
parameters: Optional([“redirect_uri”: “kakaof2cec2b1c7c55e76bb33bfad00192320://oauth”, “client_id”: “f2cec2b1c7c55e76bb33bfad00192320”, “grant_type”: “authorization_code”, “code_verifier”: “CXzcsz3g3xJMTHCtzLsETJsBjIUNzeEime4QabJmeme5kl+yfv6LwZFznQLfBwHLyU6hwJI6eXZ4RThvkacblw”, “ios_bundle_id”: “com.utinfra.kinimomhelper”, “code”: “zeK6vtQuHNEQVMzNDb626Pw6v4o_ewy-WNNHW3UlEg7zCN4R6iv-ARzqeNdPBDC8XT3hDAo9c5sAAAF9A4Yf4g”])
2021-11-09 04:07:51916 [][Api.swift 119:41] → response:
Optional({
"access_token" = s9hQ5DAsGlSyq15j1HBV53bNSeYi4fNyF4VXUgo9cusAAAF9A4ZIxw;
"expires_in" = 43199;
"refresh_token" = eQhETB9fo0yREHiT73mibpCFTT3efOhfCyFouAo9cusAAAF9A4ZIxw;
"refresh_token_expires_in" = 5183999;
"token_type" = bearer;
})
2021-11-09 04:07:51926 [][Auth.swift 43:17] → >>>> [KakaoSDKCommon.SessionType.AuthApi: Alamofire.Session, KakaoSDKCommon.SessionType.RxAuthApi: Alamofire.Session, KakaoSDKCommon.SessionType.Auth: Alamofire.Session, KakaoSDKCommon.SessionType.Api: Alamofire.Session]
2021-11-09 04:07:51927 [][MigrateManager.swift 20:17] → ============================================================================================================
2021-11-09 04:07:51927 [][MigrateManager.swift 21:17] → check migration…
2021-11-09 04:07:51928 [][MigrateManager.swift 42:17] → ============================================================================================================
2021-11-09 04:07:51928 [][MigrateManager.swift 43:17] → start migration sdk from v1 to v2…
2021-11-09 04:07:51929 [][MigrateManager.swift 67:21] → first time sdk v2…
2021-11-09 04:07:51930 [][MigrateManager.swift 95:17] → finished migration sdk…
2021-11-09 04:07:51931 [][Properties.swift 22:21] → save-plain : {length = 215, bytes = 0x7b227265 66726573 68546f6b 656e4578 … 223a3433 3139397d }
2021-11-09 04:07:51935 [][Properties.swift 24:21] → save-crypted : {length = 224, bytes = 0x8cd61cb3 abfeb161 8032e55b e139a1bc … 3fe3ce61 583e55d2 }
loginWithKakaoTalk() success
2021-11-09 04:07:52065 [][Api.swift 116:29] → ===================================================================================================
2021-11-09 04:07:52066 [][Api.swift 117:29] → session:
type: AuthApi
2021-11-09 04:07:52067 [][Api.swift 118:29] → request:
method: HTTPMethod(rawValue: “GET”)
url:https://kapi.kakao.com/v2/user/me
headers:nil
parameters: Optional([“secure_resource”: true])
2021-11-09 04:07:52068 [][Api.swift 119:41] → response:
Optional({
"connected_at" = “2021-11-09T07:07:52Z”;
id = 1908835219;
})
me() success.
SignUp 1908835219
Parmas:SnsLoginSM(customerID: Optional(“1908835219”), snsType: Optional(“KAKAO”))
아이디: 1908835219, 플랫폼: KAKAO
전체:::Optional(KinimomHelper.SnsLoginRM(statusCode: Optional(“dataOK”), statusValue: nil, jsonValue: Optional(KinimomHelper.DataModel(isJoin: Optional(false), custIdx: nil, userData: nil))))
ISJOIN:: false
custidx::
SNSTYPE:KAKAO
CUSTOMERID: 1908835219
2021-11-09 16:08:22.016921+0900 KinimomHelper[14239:3237635] [tcp] tcp_input [C1.1:3] flags=[R] seq=1398879130, ack=0, win=0 state=LAST_ACK rcv_nxt=1398879130, snd_una=926191545
2021-11-09 16:08:22.017445+0900 KinimomHelper[14239:3237635] [tcp] tcp_input [C1.1:3] flags=[R] seq=1398879130, ack=0, win=0 state=CLOSED rcv_nxt=1398879130, snd_una=926191545