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.

Issue on kh/podspec branch: Undefined symbols for architecture x86_64

See original GitHub issue

@cmeiller wrote:

@kraenhansen I tried your package but I got this error to run on simulator:

Undefined symbols for architecture x86_64:
  "_RCTJSThread", referenced from:
      -[RealmReact setBridge:] in RealmReact.o
  "_RCTRegisterModule", referenced from:
      +[RealmReact load] in RealmReact.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

What’s wrong?


@kraenhansen yes I have the latest changes and I’m calling use_frameworks! in my Podfile. Here is my directory root structure (I cut the root files below): Capture d’écran 2019-11-04 à 13 02 26

Thank you for your answer 😃

_Originally posted by @cmeiller in https://github.com/realm/realm-js/issues/2460#issuecomment-549326445_

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
cmeillercommented, Nov 8, 2019

Finally works just by removing use_frameworks! from the Podfile 🤷‍♂️ Thanks @kraenhansen for your time!

0reactions
RealmBotcommented, Nov 21, 2019

➤ Unito Sync Bot commented:

Transition made by Unito

Read more comments on GitHub >

github_iconTop Results From Across the Web

Undefined symbols for architecture x86_64: (linker issue?)
1)Create a new class TestRect which is a friend class of Rectangle. Inside this class, implement a member function called TestRect::tester, ...
Read more >
Problem using ROOT in a Geant4 project - Newbie
I understand this error “Undefined symbols for architecture x86_64” means my definition of variables is inconsistent at some locations, but I ...
Read more >
Compiling Tests Fails: "Undefined symbols for architecture ...
What I'm doing I am using MacOS, and trying to run a test the igraph_edge_betweeness.c test on the develop branch of C igraph,...
Read more >
Undefined symbols for architecture x86_64: - MATLAB Answers
I am running babyAFQ_demo and trying to run a this cpp file using mex in MATLAB on my Mac, and receiving the error...
Read more >
ERROR with Blender 2.93 - Build --- Undefined symbols for ...
Hello, I have had a big problem for 5 days, I can no longer build Blender 2.93. ... ld: symbol(s) not found for...
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