Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linker command failed with exit code 1 #32

Closed
vvusts opened this issue Nov 30, 2018 · 1 comment
Closed

linker command failed with exit code 1 #32

vvusts opened this issue Nov 30, 2018 · 1 comment

Comments

@vvusts
Copy link

vvusts commented Nov 30, 2018

I did npm install and react-native link.
I added in header search path path (recursive).
During build time I got this error:

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_Orientation", referenced from:
      objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any idea what could be wrong?

@vvusts
Copy link
Author

vvusts commented Dec 1, 2018

Fixed by manually import IOS project to Libraries (in xcode) and moved /products/librctorientation.a to linked frameworks and libraries.

@vvusts vvusts closed this as completed Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant