iOS 16 업데이트에 따른 KakaoSDK 에러

이번 iOS 16 의 업데이트에 따라 운영중인 서비스에 Kakao SDK 의 버전업을 진행했습니다.
(기존 버전의 경우 available iOS 13 구문에서 에러 발생)

  • Installing KakaoSDK 2.11.1 (was 2.8.1)

  • 기존 SDK 버전 : 2.8.1

  • 신규 SDK 버전 : 2.11.1

  • cocoapod 설정

    • pod ‘KakaoSDK’
    • pod ‘RxKakaoSDK’
  • cocoapod version : 1.11.2

  • xcode version : 14.0

업데이트 후 빌드해본 결과 아래와 같은 에러를 확인했습니다.

Symbol not found: _$s14KakaoSDKCommon11SessionTypeO3ApiyA2CmFWC

클린빌드, SDK 재설치 등의 작업을 진행했으나 문제가 해결되지 않아 문의드립니다.
혹시 비슷한 증상이나 해결방법을 알 수 있을까요?

에러 원문

dyld[38063]: Symbol not found: _$s14KakaoSDKCommon11SessionTypeO3ApiyA2CmFWC
  Referenced from: <85BB9D6B-D5D1-3DCA-BE11-7CE41FAE605C> /Users/{user}/Library/Developer/CoreSimulator/Devices/2E36F5F2-7851-405E-95EB-547FD63154E3/data/Containers/Bundle/Application/BE31972B-CFFC-4A35-B7C2-A1E9E392D63C/{appname}.app/Frameworks/KakaoSDKFriend.framework/KakaoSDKFriend
  Expected in:     <9283B4DA-2F19-3B79-9F47-A657F6966EDB> /Users/{user}/Library/Developer/CoreSimulator/Devices/2E36F5F2-7851-405E-95EB-547FD63154E3/data/Containers/Bundle/Application/BE31972B-CFFC-4A35-B7C2-A1E9E392D63C/{appname}.app/Frameworks/KakaoSDKCommon.framework/KakaoSDKCommon
Symbol not found: _$s14KakaoSDKCommon11SessionTypeO3ApiyA2CmFWC
  Referenced from: <85BB9D6B-D5D1-3DCA-BE11-7CE41FAE605C> /Users/{user}/Library/Developer/CoreSimulator/Devices/2E36F5F2-7851-405E-95EB-547FD63154E3/data/Containers/Bundle/Application/BE31972B-CFFC-4A35-B7C2-A1E9E392D63C/{appname}.app/Frameworks/KakaoSDKFriend.framework/KakaoSDKFriend
  Expected in:     <9283B4DA-2F19-3B79-9F47-A657F6966EDB> /Users/{user}/Library/Developer/CoreSimulator/Devices/2E36F5F2-7851-405E-95EB-547FD63154E3/data/Containers/Bundle/Application/BE31972B-CFFC-4A35-B7C2-A1E9E392D63C/{appname}.app/Frameworks/KakaoSDKCommon.framework/KakaoSDKCommon
dyld config: DYLD_SHARED_CACHE_DIR=/Users/{user}/Library/Developer/CoreSimulator/Caches/dyld/21G115/com.apple.CoreSimulator.SimRuntime.iOS-16-0.20A360 DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/{user}/Library/Developer/Xcode/DerivedData/{company}-aoxccjkniaiomecblrbzvyodgnxs/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/{user}/Library/Developer/Xcode/DerivedData/{company}-aoxccjkniaiomecblrbzvyodgnxs/Build/Products/Debug-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib

안녕하세요.

2.8.1에서 2.11.1로 패치하시면서 SDK 전체 버전 사용하셨다면 추가 설정이 필요할 것 같은데요.

아래 설정도 포함 하셨을까요?

Kakao Developers

안녕하세요.
저도 어제 동일한 문제로 고생을 좀 했는데요.
SDK 설치된 상태에서 추가 설정을 추가하면 정상작동하지 않고
기존에 설치되어있던 KakaoSDK를 pod에서 완전 제거 후, 추가설정을 포함한 KakaoSDK를 다시 설치하니 해당 에러가 해결되었습니다.

2개의 좋아요