본문 바로가기

React Native

React Native: iOS 개발 환경 셋팅 # pod install error # dependency were found, but they required a higher minimum deployment target # kakao-login

728x90
반응형

React Native를 통해 Android 앱 개발시, kakao 로그인을 구현하기 위해 kakao-login 라이브러리를 이용했다.

iOS에서

  cd ios

  pod install

을 진행하는 중에

 

[!] CocoaPods could not find compatible versions for pod "kakao-login":
  In Podfile:
    kakao-login (from `../node_modules/@react-native-seoul/kakao-login`)

Specs satisfying the `kakao-login (from `../node_modules/@react-native-seoul/kakao-login`)` dependency were found, but they required a higher minimum deployment target.

 

위와 같은 에러를 마주했다.

kakao-login이 요구하는 iOS 플랫폼의 최소 버전이 13이라고 한다.

 

ios/Podfile 을 열어서 아래와 같이 수정

platform :ios, '13.0'   # '12.4'에서 수정

 

728x90
반응형