fix react native duplicate symbol with react-native-maps package



This issue happen to me when i tried to archive the final ipa  to fix this issue replace your pod file with :


# You Podfile should look similar to this file. React Native currently does not support use_frameworks!
source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'

target 'baghdadSewer' do
    pod 'React', path: '../node_modules/react-native'
    
    pod 'GoogleMaps'  # <~~ remove this line if you do not want to support GoogleMaps on iOS
    
    # when not using frameworks  we can do this instead of including the source files in our project (1/4):
    #  pod 'react-native-maps', path: '../../'
    #  pod 'react-native-google-maps', path: '../../'  # <~~ if you need GoogleMaps support on iOS

end



Then goto ios folder in your project and run this commend :

pod install


Then open the porject from .xcworkspace and archive your ipa :)



Comments

Popular posts from this blog

how to install nginx rtmp monitoring dashboard

Laravel 5.3 multiple image upload and resize

How to setup Let's Encrypt Wildcard SSL certificate for Nginx