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.

Xcode Issue with building app

See original GitHub issue

Undefined symbols for architecture x86_64: “OBJC_METACLASS$_RCTEventEmitter”, referenced from: OBJC_METACLASS$_RNFusedLocation in RNFusedLocation.o “OBJC_CLASS$_RCTEventEmitter”, referenced from: type metadata for react_native_geolocation_service.RNFusedLocation in RNFusedLocation.o “_RCTMakeAndLogError”, referenced from: react_native_geolocation_service.checkPlistKeys(Swift.String) -> () in LocationUtils.o “_RCTRegisterModule”, referenced from: _initialize_RNFusedLocation in RNFusedLocationBridge.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

React Native Info

    OS: macOS 12.6
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 1.61 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.0/bin/yarn
    npm: 8.3.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
    Watchman: 2022.02.07.00 - /usr/local/bin/watchman
    CocoaPods: 1.11.3 - /usr/local/bin/pod
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK:
      API Levels: 23, 28, 29, 30
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 32.0.0, 33.0.0
      System Images: android-28 | Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64, android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64, android-30 | Google Play Intel x86 Atom
      Android NDK: Not Found
    Android Studio: 2020.3 AI-203.7717.56.2031.7935034
    Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
    Java: 11.0.8 - /usr/bin/javac
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2 
    react-native: 0.67.4 => 0.67.4 
    react-native-macos: Not Found
    *react-native*: Not Found

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

Agontukcommented, Oct 8, 2022

I tried building with use_frameworks! :linkage => :static and it built without any issue.

ceyanesbcommented, Sep 14, 2022

@Agontuk any help? This is happening after installing react-native-firebase for which you need to disable flipper and enable use_frameworks! for it to work. Please help urgen

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolving common configuration and build issues
Resolve build issues · Control-click your workflow in the Report navigator, click Edit Workflow, and verify that the environment setting uses the macOS...
Read more >
How to fix the error "The developer of this app needs to update ...
Step 4 : Build the App normally and the code signing must be taken care of by XCode.
Read more >
Oh dear! Build errors? - LoopDocs - GitHub Pages
Solution: Go to your Xcode -> Preferences (or Settings) and under the Locations tab, select your Xcode version (the figure shows 14.0.1 -...
Read more >
Why does this error appear when running the application ...
Running Xcode build... Xcode build done. 9.8s Failed to build iOS app Error output from Xcode build: ↳ 2022-08-14 16:34:22.736 ...
Read more >
Unable to build with XCode 14.0 · Issue #34673 - GitHub
XCode 14.0 is released since yesterday, and I have the following error while building a fresh app on a physical device:.
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 Post

No results found

github_iconTop Related Hashnode Post

No results found