-
Notifications
You must be signed in to change notification settings - Fork 572
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
Support for Hermes + RN68 + new architecture #4488
Comments
Hi @KartikSubramaniam, thanks for the report. When you refer to the new architecture, do you mean when you run Could you please try with |
@tomduncalf Thanks for the advise , will try realm@10.20.0-beta.4 and check if it works. |
Great thanks, please let me know either way! |
Hi @tomduncalf The build works fine with Hermes + RN68 + New Architecture but it fails to archive I had used the following command for pod install Error: |
Hey @KartikSubramaniam, thanks for clarifying that the problem only occurs when archiving. I was actually able to reproduce this by archiving a new React Native project created |
Thank you for sharing that workaround @Arkkeeper! Closing this as it is not a Realm-specific issue. |
Hi ,
The beta version of realm works fine with RN68 which is not running on new architecture. However if we switch to new architecture the build fails. Do we have a support for the same?
Please find below the error details
Undefined symbols for architecture arm64:
"folly::SharedMutexImpl<false, void, std::__1::atomic, false, false, false>::deferredReaders", referenced from:
void folly::SharedMutexImpl<false, void, std::*1::atomic, false, false, false>::applyDeferredReaders<folly::SharedMutexImpl<false, void, std::*1::atomic, false, false, false>::WaitForever>(unsigned int&, folly::SharedMutexImpl<false, void, std::__1::atomic, false, false, false>::WaitForever&) in AppDelegate.o
void folly::SharedMutexImpl<false, void, std::*1::atomic, false, false, false>::applyDeferredReaders<folly::SharedMutexImpl<false, void, std::*1::atomic, false, false, false>::WaitForever>(unsigned int&, folly::SharedMutexImpl<false, void, std::__1::atomic, false, false, false>::WaitForever&, unsigned int) in AppDelegate.o
"folly::SharedMutexImpl<false, void, std::__1::atomic, false, false, false>::unlock()", referenced from:
std::*1::unique_lock<folly::SharedMutexImpl<false, void, std::*1::atomic, false, false, false> >::~unique_lock() in AppDelegate.o
"folly::SharedMutexImpl<false, void, std::__1::atomic, false, false, false>::~SharedMutexImpl()", referenced from:
std::*1::*shared_ptr_emplace<facebook::react::ContextContainer const, std::*1::allocator<facebook::react::ContextContainer const> >::*on_zero_shared() in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Originally posted by @KartikSubramaniam in #4487
The text was updated successfully, but these errors were encountered: