question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undefined symbols for architecture x86_64 error when upgrading to v7.0.0-rc3

See original GitHub issue

Describe the bug I’ve been using @react-native-mapbox-gl/maps v7.0.0-rc2 just fine, but when I upgrade to v7.0.0-rc3 I get the following build error on iOS:

Undefined symbols for architecture x86_64:
  "_MGLAltitudeForZoomLevel", referenced from:
      -[RCTMGLMapView altitudeFromZoom:atLatitude:atPitch:] in libRCTMGL.a(RCTMGLMapView.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I’m using the Manual Installation instructions, rather than Using CocoaPods. I tried removing and re-adding the manual installation, but get the same results. Do you have an idea how to fix this? I’ll keep looking into solutions and post my fix here if I find it in the meantime.

Versions (please complete the following information):

  • Platform: iOS
  • Device: iPhoneXR simulator
  • OS: iOS12.2
  • SDK Version 7.0.0-rc3
  • React Native Version: 0.59

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
kristfalcommented, Nov 27, 2019

Perfect! Glad to hear. Prior to autolinking and pods, this was a bit tricky. Subsequent updates should be much more straightforward:)

1reaction
tsemeradcommented, Jul 9, 2019

@jolortiz If you’re upgrading from react-native-mapbox-gl to react-native-mapbox-gl/maps, you almost certainly weren’t yet using Mapbox.framework v5.x since the old repo never upgraded to it.

To fix your issue, I’d undo the installation instructions you did on the old repo, including removing Mapbox.framework from the Xcode project, and redo them based on the instructions from the new repo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Undefined symbols for architecture x86_64 error ... - GitHub
Describe the bug I've been using @react-native-mapbox-gl/maps v7.0.0-rc2 just fine, but when I upgrade to v7.0.0-rc3 I get the following ...
Read more >
Xcode build failure "Undefined symbols for architecture x86_64"
It looks like you are missing including the IOBluetooth.framework in your project. You can add it by: Clicking on your project in the...
Read more >
Linker (Id) Error>Undefined symbols for architecture arm64 on ...
My settings are Metal IL2CPP Universal full .NET2.0 Xcode project was compiled using Unity 5.5.1f1, with Symlink and Debug settings.
Read more >
Linker errors on MacOS (XCode) - General - Cryptlex Forums
I get the following errors: Undefined symbols for architecture x86_64: “_SCDynamicStoreCopyProxies”, referenced from:
Read more >
How To Install nvim_rocks on Big Sur macOS 11x
-j2.1.0-beta3 -r3.0.0 it would error out with something like: ``txt Undefined symbols for architecture x86_64: "__Unwind_DeleteException", referenced from: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found