I wanted to switch from nitaliano/react-native-mapbox-gl to here but after installing and linking etc. I realize I didn't remove the old framework from ios and android. With no experience, how do I get rid of this build error?
Multiple commands produce '/.../Frameworks/Mapbox.framework': 1) Target 'app' has copy command from '/Users/magnusburton/Projects/Lisa/app/node_modules/@react-native-mapbox-gl/maps/ios/Mapbox.framework' to '/.../Frameworks/Mapbox.framework'
2) That command depends on command in Target 'app': script phase “[CP] Embed Pods Frameworks”
My script phases look like this:


Let me know if I missed supplying any information. Thanks a lot!
@magnusburton This is with the cocoapods installation? If anyone has any feedback that uses cocoapods that would be great.
Our install instructions are here: https://github.com/react-native-mapbox-gl/maps/blob/master/ios/install.md
Feedback welcome.
@systemlevel I eventually solved it simply by checking ‘Copy only when installing’ under Embed Frameworks
Most helpful comment
@systemlevel I eventually solved it simply by checking ‘Copy only when installing’ under Embed Frameworks