Skip to content

[iOS] Error while building after upgrade #3910

@pnogier

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions