[ad_1]
Attempting to construct react native app on ios(goal c) on RN model 0.66.4 and realm v 2.29.0.
The podfile has the Realm model 3.17.3
When attempting to construct, getting the next error:
"realm::BpTreeBase::replace_root(std::__1::unique_ptr<realm::Array, std::__1::default_delete<realm::Array> >)", referenced from:
realm::Column<lengthy lengthy>::replace_root_array(std::__1::unique_ptr<realm::Array, std::__1::default_delete<realm::Array> >) in libRealm.a(RLMCollection.o)
realm::BpTree<lengthy lengthy>::EraseHandler::replace_root_by_leaf(realm::MemRef) in libRealm.a(RLMCollection.o)
realm::BpTree<lengthy lengthy>::EraseHandler::replace_root_by_empty_leaf() in libRealm.a(RLMCollection.o)
realm::BpTree<lengthy lengthy>::clear() in libRealm.a(RLMCollection.o)
realm::Column<lengthy lengthy>::replace_root_array(std::__1::unique_ptr<realm::Array, std::__1::default_delete<realm::Array> >) in libRealm.a(RLMOptionalBase.o)
realm::BpTree<lengthy lengthy>::EraseHandler::replace_root_by_leaf(realm::MemRef) in libRealm.a(RLMOptionalBase.o)
realm::BpTree<lengthy lengthy>::EraseHandler::replace_root_by_empty_leaf() in libRealm.a(RLMOptionalBase.o)
...
"realm::BpTreeBase::write_subtree(realm::BpTreeNode const&, unsigned lengthy, unsigned lengthy, unsigned lengthy, realm::BpTreeBase::SliceHandler&, realm::_impl::OutputStream&)", referenced from:
realm::BpTree<lengthy lengthy>::write(unsigned lengthy, unsigned lengthy, unsigned lengthy, realm::_impl::OutputStream&) const in libRealm.a(RLMCollection.o)
realm::BpTree<lengthy lengthy>::write(unsigned lengthy, unsigned lengthy, unsigned lengthy, realm::_impl::OutputStream&) const in libRealm.a(RLMOptionalBase.o)
realm::BpTree<lengthy lengthy>::write(unsigned lengthy, unsigned lengthy, unsigned lengthy, realm::_impl::OutputStream&) const in libRealm.a(RLMAccessor.o)
realm::BpTree<lengthy lengthy>::write(unsigned lengthy, unsigned lengthy, unsigned lengthy, realm::_impl::OutputStream&) const in libRealm.a(sync_permission.o)
realm::BpTree<lengthy lengthy>::write(unsigned lengthy, unsigned lengthy, unsigned lengthy, realm::_impl::OutputStream&) const in libRealm.a(object_store.o)
realm::BpTree<lengthy lengthy>::write(unsigned lengthy, unsigned lengthy, unsigned lengthy, realm::_impl::OutputStream&) const in libRealm.a(partial_sync.o)
realm::BpTree<lengthy lengthy>::write(unsigned lengthy, unsigned lengthy, unsigned lengthy, realm::_impl::OutputStream&) const in libRealm.a(outcomes.o)
...
There are lot of different related errors of realm.

I attempted
rm -rf ~/Library/Caches/CocoaPods
pod cache clear Realm
pod deintegrate || rm -rf Pods
pod set up --verbose
rm -rf ~/Library/Developer/Xcode/DerivedData
however this did not assist me.
I’m not certain is that this a model downside, as a result of this was working with older react-native model(0.60.5) (did not give a strive between 0.60.5 and 0.66.4 variations and instantly jumped to 0.66.4)
Utilizing xcode model 13.4.1 on MacBook M1.
Any assistance on how you can clear up this downside shall be a lot appreciated!
[ad_2]
