Specs satisfying the `KakaoSDK` dependency were found, but they required a higher minimum deployment target.

프로그래밍/swift2020. 10. 19. 17:23

카카오 sdk v2부터는 Cocoa pod에서 다운/관리가 가능한 것 같습니다.

그래서 podfile에   pod 'KakaoSDK' 를 추가하고 pod install을 했더니 아래의 에러가 발생했습니다.

 

Xcode 빌드 설정에서 minimum deployment target을.. 11.0~14.0까지 다 바꿨는데도 에러가 계속 발생하더라구요.

[!] CocoaPods could not find compatible versions for pod "KakaoSDK":

  In Podfile:

    KakaoSDK

 

Specs satisfying the `KakaoSDK` dependency were found, but they required a higher minimum deployment target.

 

문제의 원인은 ㅎㅎ podfile에 있었습니다.

여기에도.. 버전 관련 설정하는 부분이 있었죠.. 참..

 

# Uncomment the next line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'

target 'ShareMoneyBook' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!
  pod 'Alamofire'
  pod 'SwiftyJSON'
  pod 'KRProgressHUD'
  pod 'ChameleonFramework/Swift', :git => 'https://github.com/luckychris/Chameleon.git', :inhibit_warnings => true
  pod 'Presentr'
  pod 'JTAppleCalendar'
  pod 'Charts'
  pod 'Firebase/AdMob'
  pod 'Firebase/Core'
  pod 'Firebase/Messaging'
  pod 'libxlsxwriter', '~> 0.8.6'
  pod 'KTCenterFlowLayout'
  pod 'ImageScrollView'
  pod 'GoogleSignIn'

  pod 'KakaoSDK'
  
  target 'ShareMoneyBookTests' do
      inherit! :search_paths
      pod 'Firebase'
  end
end

 

이 부분에서 버전은 11.0으로 바꾸니 정상적으로 다운이 됩니다.

 

작성자

Posted by 드리머즈

관련 글

댓글 영역