Maps: Multiple commands produce '[...]/Frameworks/Mapbox.framework'

Created on 31 May 2019  ·  2Comments  ·  Source: react-native-mapbox-gl/maps

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:
Skärmklipp 2019-05-31 16 32 41
Skärmklipp 2019-05-31 16 34 47

Let me know if I missed supplying any information. Thanks a lot!

Most helpful comment

@systemlevel I eventually solved it simply by checking ‘Copy only when installing’ under Embed Frameworks

All 2 comments

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RichardLindhout picture RichardLindhout  ·  4Comments

DroidZed picture DroidZed  ·  4Comments

magnusburton picture magnusburton  ·  3Comments

calypsow777 picture calypsow777  ·  5Comments

SethArchambault picture SethArchambault  ·  3Comments