Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Undefined symbols for architecture arm64 #459

Closed
yimingtang opened this issue Mar 20, 2017 · 1 comment
Closed

Undefined symbols for architecture arm64 #459

yimingtang opened this issue Mar 20, 2017 · 1 comment

Comments

@yimingtang
Copy link

yimingtang commented Mar 20, 2017

Hello, again. I'm following emission in my project. When I tried to archive a release build, an Undefined symbols for architecture arm64 error occurs. Something like this:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_RCTRootView", referenced from:
      objc-class-ref in libPegasus.a(PEGComponentViewController.o)
  "_OBJC_CLASS_$_RCTBundleURLProvider", referenced from:
      objc-class-ref in libPegasus.a(Pegasus.o)
  "_OBJC_CLASS_$_RCTBridge", referenced from:
      objc-class-ref in libPegasus.a(Pegasus.o)
  "_OBJC_CLASS_$_RCTConvert", referenced from:

After a little investigation, I found this issue. However, most of the solutions are for pure "react native" apps which were created by RN CLI.

I'm afraid that you may come across this issue, too. Any ideas?

@yimingtang
Copy link
Author

yimingtang commented Mar 20, 2017

😢 My fault. I wrote the following line in my Podfile.

pod 'React/RCTWebSocket', :configuration => 'Debug'

It breaks the release build. Don't know why though. Removing this line fix the issue. So I'll close the issue. I know eigen turns off React Native's debug mode. It won't happen in your project. I apologize for bothering you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant