I’m trying to upgrade my react-native-maps
version from 1.20.1
to 1.24.7
, but I’m running into an issue when building my iOS project. One of the errors I’m seeing is:
Cannot find interface declaration for 'RNMapsMarkerView'
I checked this GitHub issue but it doesn’t seem to be resolved.
First, I tried upgrading to version 1.21.0, but after I started getting this error, decided to upgrade to a more recent version to see if maybe the issue was already solved.
I followed one of the tips from the Github Issue and added the following lines to my podfile:
rn_maps_path="../node_modules/react-native-maps"
pod 'react-native-maps', :path => rn_maps_path
Running pod install after updating the Podfile.
I also already tried cleaning the dependencies, xcode and the podfile.
Has anyone faced this issue after upgrading react-native-maps?
Thanks in advance!
Environment:
React Native version: 0.77.3
react-native-maps version: 1.24.7
iOS deployment target: 15.1