/
💻

[React Native] CocoaPods could not find compatible versions for pod "GoogleMaps"

React Native
On this page
  • ❐ Error 로그
  • ❐ 해결방법

❐ Error 로그

[!] CocoaPods could not find compatible versions for pod "GoogleMaps":
  In Podfile:
    react-native-google-maps (from `../node_modules/react-native-maps`) was resolved to 0.30.1, which depends on
      Google-Maps-iOS-Utils (= 3.10.3) was resolved to 3.10.3, which depends on
        GoogleMaps
    react-native-google-maps (from `../node_modules/react-native-maps`) was resolved to 0.30.1, which depends on
      GoogleMaps (= 5.1.0)
Specs satisfying the `GoogleMaps (= 5.1.0), GoogleMaps` dependency were found, but they required a higher minimum deployment target.
error Command failed with exit code 1.


❐ 해결방법

Podfile 파일에서 platform 버전을 10.0 -> 11.0으로 업데이트했습니다.

Podfile
-platform :ios, '10.0'
+platform :ios, '11.0'
target 'rnstudy' do
(생략...)
rn_maps_path = '../node_modules/react-native-maps'
pod 'react-native-google-maps', :path => rn_maps_path
(생략...)
end


SoDevly의 개발 블로그