Mapbox: libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

后端 未结 1 1355
[愿得一人]
[愿得一人] 2021-01-20 18:15

I\'ve been implementing Mapbox as whilst working on Android, I get errors on iOS after installing via CocoaPods ... I was getting framework not found Mapbox but

相关标签:
1条回答
  • 2021-01-20 18:37

    Okay, here goes ...

    I hadn't read the docs clearly for MapView attribute usage so I was defining attributionEnabled={false} but I hadn't followed these simple instructions, and so that was the whole reason why I was getting libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

    Enable/Disable attribution on map. For iOS you need to add MGLMapboxMetricsEnabledSettingShownInApp=YES to your Info.plist

    Over at https://github.com/mapbox/react-native-mapbox-gl/blob/master/docs/MapView.md

    0 讨论(0)
提交回复
热议问题