Closed jesikaprabhuzcon closed 1 month ago
Add to the ios/Podfile:
$RNMapboxMapsImpl = 'mapbox'
In ios/Podfile added these lines
$RNMapboxMapsVersion = '~> 10.11.1' $RNMapboxMapsImpl = 'mapbox'
commented out below lines
RNMapboxMapsVersion = '11.4.1' RNMapboxMapsImpl = "mapbox" $RNMapboxMapsImpl = "mapbox"
Add Mapbox SDK dependency pod 'MapboxMaps', $RNMapboxMapsVersion
in
pre_install do |installer| //Add below lines //# $RNMBGL.pre_install(installer) ENV['MAPBOX_DOWNLOADS_TOKEN'] = 'sk.eyJ1I...' $RNMapboxMaps.pre_install(installer)
in
post_install do |installer|
//Add below line $RNMapboxMaps.post_install(installer)
After all these changes issue was resolved
Environment
Trying on React Native Cli
Steps to reproduce
Recently, the library was upgraded in the project, and after that facing this error on pod install.
Performed yarn on the branch and then pod install
I have also tried pod repo update
Gone through the Installation steps for the iOS and all the lines/ instructions mentioned in the installation are performed.
Any solution to this issue?