Skip to content

[iOS] Error while building after upgrade #3910

Closed

Description

@pnogier

Hi there, I am having an issue building my react native project on iOS (bare expo workflow)
I had no issue while using RN 0.74.5, expo 51.x and rnmapbox 10.1.36

Now when building I am getting this error when it comes to linking the rnmapbox_maps pod

› Linking   @rnmapbox/maps Pods/rnmapbox-maps » rnmapbox_maps
❌  Undefined symbols for architecture x86_64
┌─ Symbol: google::LogMessage::stream()
└─ Referenced from: facebook::react::ConcreteComponentDescriptor<facebook::react::ConcreteViewShadowNode<&facebook::react::RNMBXAtmosphereComponentName, facebook::react::RNMBXAtmosphereProps, facebook::react::RNMBXAtmosphereEventEmitter, facebook::react::RNMBXAtmosphereState, false>>::createState(facebook::react::ShadowNodeFamily const&, std::__1::shared_ptr<void const> const&) const in RNMBXAtmosphereComponentView.o


❌  ld: symbol(s) not found for architecture x86_64

Here is the command I ran to reset everything and install the new pods

rm -rf node_modules
rm -rf ios/Pods
rm -rf ios/Podfile.lock
rm -rf ~/Library/Developer/Xcode/DerivedData/*
yarn install
cd ios
pod install

The pod installation goes well, but keep getting the build error regarding the glog not having x86_64 symbols.

I also tried to add the glog pod directly in my podfile, nothing changed.

Has anyone encountered the same issue ?

Thanks in advance 🙏

Environment

  • Dev OS: MacOS 15.3.1, Xcode 16.4
  • @rnmapbox/maps version: 10.1.39
  • React Native version: 0.76.9
  • Expo version: 52.0.47

Activity

  1. FernandoAOborges commented on Jul 29, 2025

    @FernandoAOborges

    Applied a patch to make @rnmapbox/maps (^10.1.40) compatible with React Native 0.80.2.
    Tested and confirmed working on Android devices.

    Feel free to use or improve the patch as needed.

    ✅ Android build working after patch  
    ⚠️ iOS was **not tested**
    @rnmapbox/maps (^10.1.40)
    React Native 0.80.2
    

    @rnmapbox+maps+10.1.40.patch

  2. pnogier commented on Jul 29, 2025

    @pnogier
    Author

    Hi @FernandoAOborges,

    Thanks for your answer but unfortunately it doesn't help solving our issue as we are not using the same rnmapbox version, neither the same react native version, and your patch seems to fix an android issue :/

  3. stephenavocado commented on Jul 29, 2025

    @stephenavocado

    @FernandoAOborges I have the same issue - no issues on Expo 51, but RNMapbox is causing build failures when moving to xcode 16, which is a requirement as of April.

    Screenshot from the fastlane logs:

    Image
  4. pnogier commented on Aug 13, 2025

    @pnogier
    Author

    Hi there,

    I finally was able to make it work by disabling the new arch for iOS which was automatically enabled in newer rn/expo versions.
    Adding this line to the top of my Podfile helped.

    ENV['RCT_NEW_ARCH_ENABLED'] = '0'

    Hope it can help !

  5. whiteHatCip commented on Aug 14, 2025

    @whiteHatCip
    Contributor

    you should be able to run the app with new architecture enabled using the latest 10.1.41. Give it a try

  6. pnogier commented on Oct 16, 2025

    @pnogier
    Author

    Hi there,

    I am currently in the process of migrating to new arch, so I updgraded expo to SDK 54, and RN to 0.81.4
    I am still getting the exact same error:

    › Linking   @rnmapbox/maps Pods/rnmapbox-maps » rnmapbox_maps
    ❌  Undefined symbols for architecture arm64
    ┌─ Symbol: google::LogMessage::stream()
    └─ Referenced from: facebook::react::ConcreteComponentDescriptor<facebook::react::ConcreteViewShadowNode<&facebook::react::RNMBXAtmosphereComponentName, facebook::react::RNMBXAtmosphereProps, facebook::react::RNMBXAtmosphereEventEmitter, facebook::react::StateData>>::adopt(facebook::react::ShadowNode&) const in RNMBXAtmosphereComponentView.o                 
    
    
    ❌  ld: symbol(s) not found for architecture arm64

    I am using @rnmapbox/maps: 10.2.3, and I tried forcing $RNMapboxMapsVersion = '= 11.15.2' in the Podfile and also tried without, getting the same error anyways.

    Did anyone encountered the same issue and found a fix or a workaround ?

    Maybe I am missing something important tho...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions