React-native-mapbox-gl: Class is implemented in both

Created on 14 Sep 2018  路  7Comments  路  Source: nitaliano/react-native-mapbox-gl

Hi,

The application with the mapbox on simulator ios does not start.
In the Xcode logs, messages appear below.
Install mapbox manually, with cocoapods same problem.
I would be grateful for any help

Thanks in advance!

objc[93659]: Class MGLUserLocationHeadingBeamLayer is implemented in both /Users/dima/Library/Developer/CoreSimulator/Devices/7FCD034F-F83A-4891-AAFD-F45EEC0A4318/data/Containers/Bundle/Application/4592797D-393B-47ED-86C8-90FD56168DF5/GeoApp.app/Frameworks/Mapbox.framework/Mapbox (0x10f266248) and /Users/dima/Library/Developer/CoreSimulator/Devices/7FCD034F-F83A-4891-AAFD-F45EEC0A4318/data/Containers/Bundle/Application/4592797D-393B-47ED-86C8-90FD56168DF5/GeoApp.app/GeoApp (0x10e704150). One of the two will be used. Which one is undefined. objc[93659]: Class MGLUserLocationHeadingArrowLayer is implemented in both /Users/dima/Library/Developer/CoreSimulator/Devices/7FCD034F-F83A-4891-AAFD-F45EEC0A4318/data/Containers/Bundle/Application/4592797D-393B-47ED-86C8-90FD56168DF5/GeoApp.app/Frameworks/Mapbox.framework/Mapbox (0x10f265528) and /Users/dima/Library/Developer/CoreSimulator/Devices/7FCD034F-F83A-4891-AAFD-F45EEC0A4318/data/Containers/Bundle/Application/4592797D-393B-47ED-86C8-90FD56168DF5/GeoApp.app/GeoApp (0x10e704830). One of the two will be used. Which one is undefined. objc[93659]: Class MGLFaux3DUserLocationAnnotationView is implemented in both /Users/dima/Library/Developer/CoreSimulator/Devices/7FCD034F-F83A-4891-AAFD-F45EEC0A4318/data/Containers/Bundle/Application/4592797D-393B-47ED-86C8-90FD56168DF5/GeoApp.app/Frameworks/Mapbox.framework/Mapbox (0x10f264f88) and /Users/dima/Library/Developer/CoreSimulator/Devices/7FCD034F-F83A-4891-AAFD-F45EEC0A4318/data/Containers/Bundle/Application/4592797D-393B-47ED-86C8-90FD56168DF5/GeoApp.app/GeoApp (0x10e704a60). One of the two will be used. Which one is undefined.

Most helpful comment

@yoyq: How did you solve this issue? I am getting the same issue on iOS 12.

All 7 comments

Problem solved, thanks

@yoyq: How did you solve this issue? I am getting the same issue on iOS 12.

@yoyq Any solution for this? Please add it here

@yoyq can you give your solution please ?

Same issue here. Came out of nowhere today with XCode 11.2.1 and iOS 13.1.2
@yoyq: would be great if you could share your solution. Big thx!

for me this was resolved by adding

MapboxGL.setAccessToken(props.Map.MapboxToken);

This library has been moved to here: https://github.com/react-native-mapbox-gl/maps

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lernerbot picture lernerbot  路  3Comments

Craytor picture Craytor  路  3Comments

vyankat70war picture vyankat70war  路  3Comments

VentsislavDinev picture VentsislavDinev  路  3Comments

alexisohayon picture alexisohayon  路  4Comments