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

Build errors: Undefined symbol: facebook::jsi:.. #2046

Closed
simonsolnes opened this issue Dec 11, 2023 · 6 comments
Closed

Build errors: Undefined symbol: facebook::jsi:.. #2046

simonsolnes opened this issue Dec 11, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@simonsolnes
Copy link

Description

  • react-native: 0.72.0
  • react: 18.2.0
  • Xcode: 15.0.1

Xcode build produces these errors:

Undefined symbol: facebook::jsi::HostObject::getPropertyNames(facebook::jsi::Runtime&)
Undefined symbol: facebook::jsi::HostObject::get(facebook::jsi::Runtime&, facebook::jsi::PropNameID const&)
Undefined symbol: facebook::jsi::HostObject::set(facebook::jsi::Runtime&, facebook::jsi::PropNameID const&, facebook::jsi::Value const&)
Undefined symbol: facebook::jsi::HostObject::~HostObject()
Undefined symbol: facebook::jsi::JSIException::~JSIException()
Undefined symbol: facebook::jsi::JSINativeException::~JSINativeException()
Undefined symbol: facebook::jsi::Value::Value(facebook::jsi::Value&&)
Undefined symbol: facebook::jsi::Value::Value(facebook::jsi::Runtime&, facebook::jsi::Value const&)
Undefined symbol: facebook::jsi::Value::~Value()
Undefined symbol: facebook::jsi::JSError::JSError(facebook::jsi::Runtime&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>)
Undefined symbol: facebook::jsi::JSError::JSError(facebook::jsi::Runtime&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>)
Undefined symbol: facebook::jsi::JSError::~JSError()
Undefined symbol: facebook::jsi::Value::asNumber() const
Undefined symbol: facebook::jsi::Object::getPropertyAsFunction(facebook::jsi::Runtime&, char const*) const
Undefined symbol: facebook::jsi::Value::asObject(facebook::jsi::Runtime&) const &
Undefined symbol: facebook::jsi::Value::asString(facebook::jsi::Runtime&) const &
Undefined symbol: facebook::jsi::Object::asFunction(facebook::jsi::Runtime&) const &
Undefined symbol: facebook::jsi::Object::asArray(facebook::jsi::Runtime&) const &
Undefined symbol: facebook::jsi::Value::asObject(facebook::jsi::Runtime&) &&
Undefined symbol: facebook::jsi::Value::asString(facebook::jsi::Runtime&) &&
Undefined symbol: facebook::jsi::Object::asFunction(facebook::jsi::Runtime&) &&
Undefined symbol: facebook::jsi::Object::asArray(facebook::jsi::Runtime&) &&
Undefined symbol: typeinfo for facebook::jsi::HostObject
Undefined symbol: typeinfo for facebook::jsi::JSINativeException
Undefined symbol: typeinfo for facebook::jsi::JSError
Undefined symbol: vtable for facebook::jsi::HostObject
Undefined symbol: vtable for facebook::jsi::JSIException
Undefined symbol: vtable for facebook::jsi::JSINativeException
Undefined symbol: vtable for facebook::jsi::JSError
Linker command failed with exit code 1 (use -v to see invocation)

Installed by:

  • yarn add @shopify/react-native-skia
  • Installing the pod
  • Tried cleaning the project and Xcode as well

Version

0.1.255

Steps to reproduce

  • Install react-native-skia as per docs
  • Build in Xcode

Snack, code example, screenshot, or link to a repository

Not able to provide snack, since this occurs on a closed-source project

@simonsolnes simonsolnes added the bug Something isn't working label Dec 11, 2023
@wcandillon
Copy link
Collaborator

@simonsolnes We are building the module in many dev scenarios including automated CI and we would need more details on how to reproduce the error, a small project example would be great for instance.

@Renszit
Copy link

Renszit commented Jan 16, 2024

I also came across this.
Doing pod deintegrate and pod install in the ios folder fixed it for me.

@wcandillon
Copy link
Collaborator

@simonsolnes let's reopen this if you have reproducible steps.

@JimTeva
Copy link

JimTeva commented Jan 27, 2024

@simonsolnes have you fixed this problem?

@micbaumr
Copy link

@simonsolnes any update on this issue? Was it solve somehow?

@simonsolnes
Copy link
Author

Thanks for checking up!
Sorry, I haven't been able to prioritize this.
It's still in my backlog to try this again, so will update.
I wouldn't worry too much about it, since the project I'm trying it on is very brownfield.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants