realm / realm-swift

Realm is a mobile database: a replacement for Core Data & SQLite
https://realm.io
Apache License 2.0
16.28k stars 2.14k forks source link

MacOS 15 / Xcode 16: undefined symbols after update to Realm 20.0.0 #8688

Open ding-stephen opened 1 week ago

ding-stephen commented 1 week ago

How frequently does the bug occur?

Always

Description

After update to Realm 20.0.0 on MacOS 15 / Xcode 16, the compilation can't be passed because of many undefined symbols. I have tried the solution in #8580, but it's not work.

截屏2024-09-18 16 05 05

I also tried to degrade Realm to version 10.53.1/0, 10.52.3/2/1/0, 10.51.0, 10.50.1/0, 10.49.3, all report the same issues, and the sanitizers are confirmed to be disabled in Build Settings. But Realm 10.49.2 works fine.

截屏2024-09-19 15 35 19

Stacktrace & log output

Undefined symbols for architecture x86_64:
  "std::logic_error::what() const", referenced from:
      realm::util::ExceptionWithBacktrace<std::invalid_argument>::message() const in RealmCore.o
      vtable for realm::_impl::UnsupportedSchemaChange in RealmCore.o
      vtable for realm::InvalidUUIDString in RealmCore.o
  "std::runtime_error::what() const", referenced from:
      realm::util::ExceptionWithBacktrace<std::overflow_error>::message() const in RealmCore.o
      nlohmann::json_abi_v3_11_2::detail::exception::what() const in RealmCore.o
      realm::util::ExceptionWithBacktrace<std::runtime_error>::message() const in RealmCore.o
      vtable for realm::bson::(anonymous namespace)::BsonError in RealmCore.o
      vtable for realm::util::CliParseException in RealmCore.o
  "std::__1::error_code::message() const", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> realm::util::format_errno<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>(char const*, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in RealmCore.o
      (anonymous namespace)::get() in RealmCore.o
      (anonymous namespace)::create() in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> realm::util::format_errno<std::__1::basic_string_view<char, std::__1::char_traits<char>>&>(char const*, int, std::__1::basic_string_view<char, std::__1::char_traits<char>>&) in RealmCore.o
      realm::SystemError::make_status(std::__1::error_code, std::__1::basic_string_view<char, std::__1::char_traits<char>>, bool) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> realm::util::format_errno<>(char const*, int) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> realm::util::format_errno<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>(char const*, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in RealmCore.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::find(char, unsigned long) const", referenced from:
      -[RLMDecimal128 stringValue] in Realm.o
      -[RLMDecimal128 stringValue] in Realm.o
      realm::util::serializer::contains_invalids(realm::StringData) in RealmCore.o
      realm::util::Uri::set_query(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in RealmCore.o
      realm::util::Uri::get_auth(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>>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&) const in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::rfind(char, unsigned long) const", referenced from:
      realm::util::Uri::get_auth(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>>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&) const in RealmCore.o
  "std::__1::error_category::equivalent(std::__1::error_code const&, int) const", referenced from:
      vtable for (anonymous namespace)::ErrorCategory in RealmCore.o
      vtable for (anonymous namespace)::system_category in RealmCore.o
      vtable for (anonymous namespace)::ErrorCategoryImpl in RealmCore.o
      vtable for realm::util::JSONParser::ErrorCategory in RealmCore.o
      vtable for (anonymous namespace)::misc_category in RealmCore.o
      vtable for realm::util::MiscExtErrorCategory in RealmCore.o
  "std::__1::error_category::equivalent(int, std::__1::error_condition const&) const", referenced from:
      vtable for (anonymous namespace)::ErrorCategory in RealmCore.o
      vtable for (anonymous namespace)::system_category in RealmCore.o
      vtable for (anonymous namespace)::ErrorCategoryImpl in RealmCore.o
      vtable for realm::util::JSONParser::ErrorCategory in RealmCore.o
      vtable for (anonymous namespace)::misc_category in RealmCore.o
      vtable for realm::util::MiscExtErrorCategory in RealmCore.o
  "std::__1::error_category::default_error_condition(int) const", referenced from:
      vtable for (anonymous namespace)::ErrorCategory in RealmCore.o
      vtable for (anonymous namespace)::system_category in RealmCore.o
      vtable for (anonymous namespace)::ErrorCategoryImpl in RealmCore.o
      vtable for realm::util::JSONParser::ErrorCategory in RealmCore.o
      vtable for (anonymous namespace)::misc_category in RealmCore.o
      vtable for realm::util::MiscExtErrorCategory in RealmCore.o
  "std::__1::__shared_weak_count::__get_deleter(std::type_info const&) const", referenced from:
      vtable for std::__1::__shared_ptr_emplace<realm::CollectionChangeCallback::Impl<(anonymous namespace)::CollectionCallbackWrapper>, std::__1::allocator<realm::CollectionChangeCallback::Impl<(anonymous namespace)::CollectionCallbackWrapper>>> in Realm.o
      vtable for std::__1::__shared_ptr_emplace<(anonymous namespace)::CocoaLogger, std::__1::allocator<(anonymous namespace)::CocoaLogger>> in Realm.o
      vtable for std::__1::__shared_ptr_emplace<(anonymous namespace)::CustomLogger, std::__1::allocator<(anonymous namespace)::CustomLogger>> in Realm.o
      vtable for std::__1::__shared_ptr_emplace<realm::CollectionChangeCallback::Impl2<(anonymous namespace)::ObjectChangeCallbackWrapper>, std::__1::allocator<realm::CollectionChangeCallback::Impl2<(anonymous namespace)::ObjectChangeCallbackWrapper>>> in Realm.o
      vtable for std::__1::__shared_ptr_emplace<(anonymous namespace)::ActorScheduler, std::__1::allocator<(anonymous namespace)::ActorScheduler>> in Realm.o
      vtable for std::__1::__shared_ptr_emplace<realm::DBLogger, std::__1::allocator<realm::DBLogger>> in RealmCore.o
      vtable for std::__1::__shared_ptr_emplace<realm::DB, std::__1::allocator<realm::DB>> in RealmCore.o
      ...
  "std::__1::locale::use_facet(std::__1::locale::id&) const", referenced from:
      std::__1::ctype<char> const& std::__1::use_facet[abi:de180100]<std::__1::ctype<char>>(std::__1::locale const&) in Realm.o
      std::__1::ctype<char> const& std::__1::use_facet[abi:de180100]<std::__1::ctype<char>>(std::__1::locale const&) in s2geometry.o
      std::__1::ctype<char> const& std::__1::use_facet[abi:de180100]<std::__1::ctype<char>>(std::__1::locale const&) in RealmCore.o
      std::__1::time_put<char, std::__1::ostreambuf_iterator<char, std::__1::char_traits<char>>> const& std::__1::use_facet[abi:de180100]<std::__1::time_put<char, std::__1::ostreambuf_iterator<char, std::__1::char_traits<char>>>>(std::__1::locale const&) in RealmCore.o
  "std::__1::ios_base::getloc() const", referenced from:
      std::__1::basic_ios<char, std::__1::char_traits<char>>::widen[abi:de180100](char) const in Realm.o
      std::__1::basic_ios<char, std::__1::char_traits<char>>::widen[abi:de180100](char) const in s2geometry.o
      std::__1::basic_ios<char, std::__1::char_traits<char>>::widen[abi:de180100](char) const in RealmCore.o
      std::__1::basic_ios<char, std::__1::char_traits<char>>::imbue[abi:de180100](std::__1::locale const&) in RealmCore.o
      void realm::util::put_time<char, std::__1::char_traits<char>>(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, tm const&, char const*) in RealmCore.o
  "std::__1::time_put<char, std::__1::ostreambuf_iterator<char, std::__1::char_traits<char>>>::put(std::__1::ostreambuf_iterator<char, std::__1::char_traits<char>>, std::__1::ios_base&, char, tm const*, char const*, char const*) const", referenced from:
      void realm::util::put_time<char, std::__1::char_traits<char>>(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, tm const&, char const*) in RealmCore.o
  "std::bad_alloc::what() const", referenced from:
      realm::util::ExceptionWithBacktrace<std::bad_alloc>::message() const in RealmCore.o
  "std::exception::what() const", referenced from:
      vtable for std::__1::bad_function_call in Realm.o
  "std::logic_error::logic_error(char const*)", referenced from:
      std::length_error::length_error[abi:de180100](char const*) in Realm.o
      std::out_of_range::out_of_range[abi:de180100](char const*) in Realm.o
      std::length_error::length_error[abi:de180100](char const*) in s2geometry.o
      std::out_of_range::out_of_range[abi:de180100](char const*) in s2geometry.o
      std::length_error::length_error[abi:de180100](char const*) in RealmCore.o
      std::out_of_range::out_of_range[abi:de180100](char const*) in RealmCore.o
      realm::_impl::UnsupportedSchemaChange::UnsupportedSchemaChange() in RealmCore.o
      ...
  "std::logic_error::logic_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)", referenced from:
      realm::InvalidUUIDString::InvalidUUIDString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in RealmCore.o
  "std::logic_error::~logic_error()", referenced from:
      realm::_impl::UnsupportedSchemaChange::~UnsupportedSchemaChange() in RealmCore.o
      realm::InvalidUUIDString::~InvalidUUIDString() in RealmCore.o
  "std::length_error::~length_error()", referenced from:
      std::__1::__throw_length_error[abi:de180100](char const*) in Realm.o
      std::__1::__throw_length_error[abi:de180100](char const*) in s2geometry.o
      std::__1::__throw_length_error[abi:de180100](char const*) in RealmCore.o
  "std::out_of_range::~out_of_range()", referenced from:
      std::__1::__throw_out_of_range[abi:de180100](char const*) in Realm.o
      std::__1::__throw_out_of_range[abi:de180100](char const*) in s2geometry.o
      std::__1::__throw_out_of_range[abi:de180100](char const*) in RealmCore.o
  "std::exception_ptr::exception_ptr(std::exception_ptr const&)", referenced from:
      realm::util::UniqueFunction<void (std::exception_ptr)>::SpecificImpl<-[RLMRealm commitAsyncWriteTransaction:allowGrouping:]::$_2>::call(std::exception_ptr&&) in Realm.o
      -[RLMRealm commitAsyncWriteTransaction:allowGrouping:]::$_2::operator()(std::exception_ptr) const in Realm.o
      -[RLMRealm commitAsyncWriteTransaction:allowGrouping:]::$_2::operator()(std::exception_ptr) const in Realm.o
      realm::Realm::call_completion_callbacks() in RealmCore.o
      realm::Realm::call_completion_callbacks() in RealmCore.o
      realm::Transaction::get_commit_exception() in RealmCore.o
  "std::exception_ptr::~exception_ptr()", referenced from:
      realm::util::UniqueFunction<void (std::exception_ptr)>::SpecificImpl<-[RLMRealm commitAsyncWriteTransaction:allowGrouping:]::$_2>::call(std::exception_ptr&&) in Realm.o
      realm::util::UniqueFunction<void (std::exception_ptr)>::SpecificImpl<-[RLMRealm commitAsyncWriteTransaction:allowGrouping:]::$_2>::call(std::exception_ptr&&) in Realm.o
      -[RLMRealm commitAsyncWriteTransaction:allowGrouping:]::$_2::operator()(std::exception_ptr) const in Realm.o
      -[RLMRealm commitAsyncWriteTransaction:allowGrouping:]::$_2::operator()(std::exception_ptr) const in Realm.o
      realm::Realm::call_completion_callbacks() in RealmCore.o
      realm::Realm::call_completion_callbacks() in RealmCore.o
      realm::Realm::call_completion_callbacks() in RealmCore.o
      realm::Realm::call_completion_callbacks() in RealmCore.o
      realm::Realm::call_completion_callbacks() in RealmCore.o
      realm::Realm::call_completion_callbacks() in RealmCore.o
      realm::Realm::call_completion_callbacks() in RealmCore.o
      realm::Realm::call_completion_callbacks() in RealmCore.o
      ...
  "std::exception_ptr::operator=(std::exception_ptr const&)", referenced from:
      realm::Transaction::get_commit_exception() in RealmCore.o
      realm::Transaction::complete_async_commit() in RealmCore.o
      realm::Transaction::async_complete_writes(realm::util::UniqueFunction<void ()>) in RealmCore.o
  "std::runtime_error::runtime_error(char const*)", referenced from:
      realm::util::RaceDetector::enter() in RealmCore.o
      realm::_impl::SimulatedFailure::do_prime_one_shot(realm::_impl::SimulatedFailure::FailureType) in RealmCore.o
      realm::_impl::SimulatedFailure::do_prime_random(realm::_impl::SimulatedFailure::FailureType, int, int, unsigned long long) in RealmCore.o
      nlohmann::json_abi_v3_11_2::detail::exception::exception(int, char const*) in RealmCore.o
      realm::bson::RegularExpression::option_char_to_option(char) in RealmCore.o
      realm::util::AESCryptor::handle_error() in RealmCore.o
      realm::util::TimestampFormatter::format(long, long) in RealmCore.o
      ...
  "std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)", referenced from:
      realm::GeoWithinCompare::set_base_table(realm::ConstTableRef) in Realm.o
      realm::GeoWithinCompare::set_base_table(realm::ConstTableRef) in Realm.o
      realm::LinkTranslator::run() in RealmCore.o
      realm::LinkTranslator::run() in RealmCore.o
      realm::LinkTranslator::run() in RealmCore.o
      realm::util::mmap_fixed(int, void*, unsigned long, realm::util::File::AccessMode, unsigned long long) in RealmCore.o
  "std::runtime_error::runtime_error(std::runtime_error const&)", referenced from:
      nlohmann::json_abi_v3_11_2::detail::exception::exception(nlohmann::json_abi_v3_11_2::detail::exception const&) in RealmCore.o
  "std::runtime_error::runtime_error(char const*)", referenced from:
      std::overflow_error::overflow_error[abi:de180100](char const*) in Realm.o
      std::overflow_error::overflow_error[abi:de180100](char const*) in RealmCore.o
      realm::util::CliParseException::CliParseException(char const*) in RealmCore.o
  "std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)", referenced from:
      realm::bson::(anonymous namespace)::BsonError::BsonError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>) in RealmCore.o
      realm::util::ExceptionWithBacktrace<std::runtime_error>::ExceptionWithBacktrace<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>>&&) in RealmCore.o
  "std::runtime_error::~runtime_error()", referenced from:
      realm::GeoWithinCompare::set_base_table(realm::ConstTableRef) in Realm.o
      realm::GeoWithinCompare::set_base_table(realm::ConstTableRef) in Realm.o
      realm::util::RaceDetector::enter() in RealmCore.o
      realm::_impl::SimulatedFailure::do_prime_one_shot(realm::_impl::SimulatedFailure::FailureType) in RealmCore.o
      realm::_impl::SimulatedFailure::do_prime_random(realm::_impl::SimulatedFailure::FailureType, int, int, unsigned long long) in RealmCore.o
      realm::LinkTranslator::run() in RealmCore.o
      realm::LinkTranslator::run() in RealmCore.o
      realm::LinkTranslator::run() in RealmCore.o
      ...
  "std::runtime_error::~runtime_error()", referenced from:
      realm::bson::(anonymous namespace)::BsonError::~BsonError() in RealmCore.o
      realm::util::CliParseException::~CliParseException() in RealmCore.o
      realm::util::ExceptionWithBacktrace<std::runtime_error>::~ExceptionWithBacktrace() in RealmCore.o
  "std::overflow_error::~overflow_error()", referenced from:
      realm::BasicArray<float>::calc_aligned_byte_size(unsigned long) in Realm.o
      realm::Array::calc_aligned_byte_size(unsigned long, int) in RealmCore.o
      realm::BasicArray<float>::calc_aligned_byte_size(unsigned long) in RealmCore.o
      realm::BasicArray<double>::calc_aligned_byte_size(unsigned long) in RealmCore.o
  "std::overflow_error::~overflow_error()", referenced from:
      realm::util::ExceptionWithBacktrace<std::overflow_error>::~ExceptionWithBacktrace() in RealmCore.o
      realm::util::ExceptionWithBacktrace<std::overflow_error>::ExceptionWithBacktrace<char const (&) [21]>(char const (&) [21]) in RealmCore.o
  "std::invalid_argument::~invalid_argument()", referenced from:
      realm::util::ExceptionWithBacktrace<std::invalid_argument>::~ExceptionWithBacktrace() in RealmCore.o
      realm::util::ExceptionWithBacktrace<std::invalid_argument>::ExceptionWithBacktrace<char const (&) [21]>(char const (&) [21]) in RealmCore.o
      realm::util::ExceptionWithBacktrace<std::invalid_argument>::ExceptionWithBacktrace<char const (&) [41]>(char const (&) [41]) in RealmCore.o
  "std::bad_array_new_length::bad_array_new_length()", referenced from:
      std::__throw_bad_array_new_length[abi:de180100]() in Realm.o
      std::__throw_bad_array_new_length[abi:de180100]() in s2geometry.o
      std::__throw_bad_array_new_length[abi:de180100]() in RealmCore.o
  "std::bad_array_new_length::~bad_array_new_length()", referenced from:
      std::__throw_bad_array_new_length[abi:de180100]() in Realm.o
      std::__throw_bad_array_new_length[abi:de180100]() in s2geometry.o
      std::__throw_bad_array_new_length[abi:de180100]() in RealmCore.o
  "std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*))", referenced from:
      void std::__1::call_once[abi:de180100]<MaybeInit()::$_0>(std::__1::once_flag&, MaybeInit()::$_0&&) in s2geometry.o
  "std::__1::__get_sp_mut(void const*)", referenced from:
      std::__1::shared_ptr<realm::_impl::CollectionNotifier> std::__1::atomic_exchange[abi:de180100]<realm::_impl::CollectionNotifier>(std::__1::shared_ptr<realm::_impl::CollectionNotifier>*, std::__1::shared_ptr<realm::_impl::CollectionNotifier>) in RealmCore.o
      void std::__1::atomic_store[abi:de180100]<realm::_impl::CollectionNotifier>(std::__1::shared_ptr<realm::_impl::CollectionNotifier>*, std::__1::shared_ptr<realm::_impl::CollectionNotifier>) in RealmCore.o
      std::__1::shared_ptr<realm::_impl::CollectionNotifier> std::__1::atomic_load[abi:de180100]<realm::_impl::CollectionNotifier>(std::__1::shared_ptr<realm::_impl::CollectionNotifier> const*) in RealmCore.o
  "std::__1::__next_prime(unsigned long)", referenced from:
      void std::__1::__hash_table<std::__1::__hash_value_type<NSString* __strong, RLMClassInfo>, std::__1::__unordered_map_hasher<NSString* __strong, std::__1::__hash_value_type<NSString* __strong, RLMClassInfo>, std::__1::hash<NSString* __strong>, std::__1::equal_to<NSString* __strong>, true>, std::__1::__unordered_map_equal<NSString* __strong, std::__1::__hash_value_type<NSString* __strong, RLMClassInfo>, std::__1::equal_to<NSString* __strong>, std::__1::hash<NSString* __strong>, true>, std::__1::allocator<std::__1::__hash_value_type<NSString* __strong, RLMClassInfo>>>::__rehash<true>(unsigned long) in Realm.o
      void std::__1::__hash_table<std::__1::__hash_value_type<NSString* __strong, RLMClassInfo>, std::__1::__unordered_map_hasher<NSString* __strong, std::__1::__hash_value_type<NSString* __strong, RLMClassInfo>, std::__1::hash<NSString* __strong>, std::__1::equal_to<NSString* __strong>, true>, std::__1::__unordered_map_equal<NSString* __strong, std::__1::__hash_value_type<NSString* __strong, RLMClassInfo>, std::__1::equal_to<NSString* __strong>, std::__1::hash<NSString* __strong>, true>, std::__1::allocator<std::__1::__hash_value_type<NSString* __strong, RLMClassInfo>>>::__rehash<true>(unsigned long) in Realm.o
      void std::__1::__hash_table<std::__1::__hash_value_type<long long, realm::IndexSet>, std::__1::__unordered_map_hasher<long long, std::__1::__hash_value_type<long long, realm::IndexSet>, std::__1::hash<long long>, std::__1::equal_to<long long>, true>, std::__1::__unordered_map_equal<long long, std::__1::__hash_value_type<long long, realm::IndexSet>, std::__1::equal_to<long long>, std::__1::hash<long long>, true>, std::__1::allocator<std::__1::__hash_value_type<long long, realm::IndexSet>>>::__rehash<true>(unsigned long) in Realm.o
      void std::__1::__hash_table<std::__1::__hash_value_type<long long, realm::IndexSet>, std::__1::__unordered_map_hasher<long long, std::__1::__hash_value_type<long long, realm::IndexSet>, std::__1::hash<long long>, std::__1::equal_to<long long>, true>, std::__1::__unordered_map_equal<long long, std::__1::__hash_value_type<long long, realm::IndexSet>, std::__1::equal_to<long long>, std::__1::hash<long long>, true>, std::__1::allocator<std::__1::__hash_value_type<long long, realm::IndexSet>>>::__rehash<true>(unsigned long) in Realm.o
      void std::__1::__hash_table<std::__1::__hash_value_type<Vector3<double>, int>, std::__1::__unordered_map_hasher<Vector3<double>, std::__1::__hash_value_type<Vector3<double>, int>, std::__1::hash<Vector3<double>>, std::__1::equal_to<Vector3<double>>, true>, std::__1::__unordered_map_equal<Vector3<double>, std::__1::__hash_value_type<Vector3<double>, int>, std::__1::equal_to<Vector3<double>>, std::__1::hash<Vector3<double>>, true>, std::__1::allocator<std::__1::__hash_value_type<Vector3<double>, int>>>::__rehash<true>(unsigned long) in s2geometry.o
      void std::__1::__hash_table<std::__1::__hash_value_type<Vector3<double>, int>, std::__1::__unordered_map_hasher<Vector3<double>, std::__1::__hash_value_type<Vector3<double>, int>, std::__1::hash<Vector3<double>>, std::__1::equal_to<Vector3<double>>, true>, std::__1::__unordered_map_equal<Vector3<double>, std::__1::__hash_value_type<Vector3<double>, int>, std::__1::equal_to<Vector3<double>>, std::__1::hash<Vector3<double>>, true>, std::__1::allocator<std::__1::__hash_value_type<Vector3<double>, int>>>::__rehash<true>(unsigned long) in s2geometry.o
      void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::pair<int, int>>, std::__1::__unordered_map_hasher<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::__hash_value_type<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::pair<int, int>>, std::__1::hash<std::__1::pair<Vector3<double>, Vector3<double>>>, std::__1::equal_to<std::__1::pair<Vector3<double>, Vector3<double>>>, true>, std::__1::__unordered_map_equal<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::__hash_value_type<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::pair<int, int>>, std::__1::equal_to<std::__1::pair<Vector3<double>, Vector3<double>>>, std::__1::hash<std::__1::pair<Vector3<double>, Vector3<double>>>, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::pair<int, int>>>>::__rehash<true>(unsigned long) in s2geometry.o
      void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::pair<int, int>>, std::__1::__unordered_map_hasher<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::__hash_value_type<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::pair<int, int>>, std::__1::hash<std::__1::pair<Vector3<double>, Vector3<double>>>, std::__1::equal_to<std::__1::pair<Vector3<double>, Vector3<double>>>, true>, std::__1::__unordered_map_equal<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::__hash_value_type<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::pair<int, int>>, std::__1::equal_to<std::__1::pair<Vector3<double>, Vector3<double>>>, std::__1::hash<std::__1::pair<Vector3<double>, Vector3<double>>>, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<Vector3<double>, Vector3<double>>, std::__1::pair<int, int>>>>::__rehash<true>(unsigned long) in s2geometry.o
      ...
  "std::__1::bad_weak_ptr::~bad_weak_ptr()", referenced from:
      std::__1::__throw_bad_weak_ptr[abi:de180100]() in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::erase(unsigned long, unsigned long)", referenced from:
      -[RLMDecimal128 stringValue] in Realm.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::__init(char const*, unsigned long)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string[abi:de180100](char const*, unsigned long) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string[abi:de180100]<0>(char const*) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string<std::__1::basic_string_view<char, std::__1::char_traits<char>>, 0>(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::allocator<char> const&) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string[abi:de180100]<0>(char const*) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string[abi:de180100](char const*, unsigned long) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string<std::__1::basic_string_view<char, std::__1::char_traits<char>>, 0>(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&, std::__1::allocator<char> const&) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string<std::__1::basic_string_view<char, std::__1::char_traits<char>>, 0>(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in RealmCore.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::__init(unsigned long, char)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string[abi:de180100](unsigned long, char) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string[abi:de180100](unsigned long, char) in s2geometry.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string[abi:de180100](unsigned long, char) in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::append(char const*)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> std::__1::operator+[abi:de180100]<char, std::__1::char_traits<char>, std::__1::allocator<char>>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, char const*) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator+=[abi:de180100](char const*) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> std::__1::operator+[abi:de180100]<char, std::__1::char_traits<char>, std::__1::allocator<char>>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, char const*) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator+=[abi:de180100](char const*) in RealmCore.o
      void nlohmann::json_abi_v3_11_2::detail::concat_into<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const (&) [17], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, char, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const (&) [3], 0>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, char const (&) [17], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, char&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, char const (&) [3]) in RealmCore.o
      void nlohmann::json_abi_v3_11_2::detail::concat_into<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const (&) [3], 0>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, char const (&) [3]) in RealmCore.o
      void nlohmann::json_abi_v3_11_2::detail::concat_into<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const (&) [29], char const*, 0>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, char const (&) [29], char const*&&) in RealmCore.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::append(char const*, unsigned long)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::append[abi:de180100](std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::append[abi:de180100](std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in RealmCore.o
      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>>::append<std::__1::basic_string_view<char, std::__1::char_traits<char>>, 0>(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in RealmCore.o
      nlohmann::json_abi_v3_11_2::detail::output_string_adapter<char, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>::write_characters(char const*, unsigned long) in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::assign(char const*)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator=[abi:de180100](char const*) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator=[abi:de180100](char const*) in s2geometry.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator=[abi:de180100](char const*) in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::assign(char const*, unsigned long)", referenced from:
      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>>::assign<std::__1::basic_string_view<char, std::__1::char_traits<char>>, 0>(std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) in RealmCore.o
      realm::util::Thread::get_name(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&) in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::insert(std::__1::__wrap_iter<char const*>, char)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> std::__1::operator+[abi:de180100]<char, std::__1::char_traits<char>, std::__1::allocator<char>>(char, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&) in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::insert(unsigned long, char const*)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> std::__1::operator+[abi:de180100]<char, std::__1::char_traits<char>, std::__1::allocator<char>>(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> std::__1::operator+[abi:de180100]<char, std::__1::char_traits<char>, std::__1::allocator<char>>(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&) in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::resize(unsigned long, char)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::resize[abi:de180100](unsigned long) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::resize[abi:de180100](unsigned long) in RealmCore.o
      nlohmann::json_abi_v3_11_2::detail::serializer<nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>>>::dump(nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>> const&, bool, bool, unsigned int, unsigned int) in RealmCore.o
      nlohmann::json_abi_v3_11_2::detail::serializer<nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>>>::dump(nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>> const&, bool, bool, unsigned int, unsigned int) in RealmCore.o
      nlohmann::json_abi_v3_11_2::detail::serializer<nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>>>::dump(nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>> const&, bool, bool, unsigned int, unsigned int) in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::reserve(unsigned long)", referenced from:
      S2CellId::ToString() const in s2geometry.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> nlohmann::json_abi_v3_11_2::detail::concat<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const (&) [29], char const*>(char const (&) [29], char const*&&) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> nlohmann::json_abi_v3_11_2::detail::concat<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>>, 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>> const&>(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>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> nlohmann::json_abi_v3_11_2::detail::concat<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const (&) [17], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, char, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const (&) [3]>(char const (&) [17], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, char&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, char const (&) [3]) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> nlohmann::json_abi_v3_11_2::detail::concat<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const (&) [30], char const*>(char const (&) [30], char const*&&) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> nlohmann::json_abi_v3_11_2::detail::concat<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const (&) [26], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char>(char const (&) [26], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, char&&) in RealmCore.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> nlohmann::json_abi_v3_11_2::detail::concat<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const (&) [24], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>(char const (&) [24], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&) in RealmCore.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::__grow_by(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::__grow_by_without_replace[abi:de180100](unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::push_back(char)", referenced from:
      std::__1::basic_stringbuf<char, std::__1::char_traits<char>, std::__1::allocator<char>>::overflow(int) in Realm.o
      S2CellId::ToString() const in s2geometry.o
      S2CellId::ToString() const in s2geometry.o
      S2CellId::ToString() const in s2geometry.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator+=[abi:de180100](char) in RealmCore.o
      nlohmann::json_abi_v3_11_2::detail::lexer<nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>>, nlohmann::json_abi_v3_11_2::detail::iterator_input_adapter<char const*>>::add(int) in RealmCore.o
      nlohmann::json_abi_v3_11_2::detail::lexer<nlohmann::json_abi_v3_11_2::basic_json<std::__1::map, std::__1::vector, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, long long, unsigned long long, double, std::__1::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>>, nlohmann::json_abi_v3_11_2::detail::iterator_input_adapter<char const*>>::get_token_string() const in RealmCore.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)", referenced from:
      realm::Object realm::Object::create<objc_object* __strong, RLMAccessorContext>(RLMAccessorContext&, std::__1::shared_ptr<realm::Realm> const&, realm::ObjectSchema const&, objc_object* __strong, realm::CreatePolicy, realm::ObjKey, realm::Obj*) in Realm.o
      realm::PathElement::PathElement(realm::PathElement const&) in Realm.o
      realm::PathElement::operator=(realm::PathElement const&) in Realm.o
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>* std::__1::construct_at[abi:de180100]<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>> const&, 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>>*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in Realm.o
      realm::RealmConfig::RealmConfig(realm::RealmConfig const&) in Realm.o
      realm::RealmConfig::RealmConfig(realm::RealmConfig const&) in Realm.o
      std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, NSMapTable* __strong>::pair[abi:de180100]<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, 0ul>(std::__1::piecewise_construct_t, std::__1::tuple<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>&, std::__1::tuple<>&, std::__1::__tuple_indices<0ul>, std::__1::__tuple_indices<>) in Realm.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned long, unsigned long, std::__1::allocator<char> const&)", referenced from:
      std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::substr[abi:de180100](unsigned long, unsigned long) const in RealmCore.o
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::~basic_string()", referenced from:
      realm::Object realm::Object::create<objc_object* __strong, RLMAccessorContext>(RLMAccessorContext&, std::__1::shared_ptr<realm::Realm> const&, realm::ObjectSchema const&, objc_object* __strong, realm::CreatePolicy, realm::ObjKey, realm::Obj*) in Realm.o
      realm::Object realm::Object::create<objc_object* __strong, RLMAccessorContext>(RLMAccessorContext&, std::__1::shared_ptr<realm::Realm> const&, realm::ObjectSchema const&, objc_object* __strong, realm::CreatePolicy, realm::ObjKey, realm::Obj*) in Realm.o
      void realm::object_store::Collection::validate_embedded<objc_object* __strong&, RLMAccessorContext>(RLMAccessorContext&, objc_object* __strong&, realm::CreatePolicy) const in Realm.o
      realm::PathElement::~PathElement() in Realm.o
      realm::ReadOnlyPropertyException::~ReadOnlyPropertyException() in Realm.o
      realm::ReadOnlyPropertyException::~ReadOnlyPropertyException() in Realm.o
      realm::LnkSet::get(unsigned long) const in Realm.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)", referenced from:
      -[RLMObjectSchema objectStoreCopy:] in Realm.o
      realm::PathElement::operator=(realm::PathElement const&) in Realm.o
      realm::RealmConfig::operator=(realm::RealmConfig const&) in Realm.o
      realm::RealmConfig::operator=(realm::RealmConfig const&) in Realm.o
      S2Loop::IsValid(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*) const in s2geometry.o
      S2Polyline::IsValid(std::__1::vector<Vector3<double>, std::__1::allocator<Vector3<double>>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*) in s2geometry.o
      realm::BackupHandler::BackupHandler(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::vector<int, std::__1::allocator<int>> const&, std::__1::vector<std::__1::pair<int, int>, std::__1::allocator<std::__1::pair<int, int>>> const&) in RealmCore.o
      ...
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator=(char)", referenced from:
      realm::util::Uri::canonicalize() in RealmCore.o
  "std::__1::system_error::system_error(std::__1::error_code)", referenced from:
      realm::util::compression::allocate_and_compress_nonportable(realm::util::compression::CompressMemoryArena&, realm::util::Span<char const, 18446744073709551615ul>, realm::util::AppendBuffer<char>&) in RealmCore.o
      (anonymous namespace)::DecompressInputStreamLibCompression::DecompressInputStreamLibCompression(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, (anonymous namespace)::Header) in RealmCore.o
      (anonymous namespace)::DecompressInputStreamLibCompression::next_block() in RealmCore.o
      (anonymous namespace)::DecompressInputStreamLibCompression::next_block() in RealmCore.o
      realm::util::get_platform_info(realm::util::PlatformInfo&) in RealmCore.o
  "std::__1::system_error::system_error(std::__1::error_code, char const*)", referenced from:
      (anonymous namespace)::DecompressInputStreamZlib::DecompressInputStreamZlib(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, unsigned long) in RealmCore.o
  "std::__1::system_error::system_error(int, std::__1::error_category const&)", referenced from:
      realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&) in RealmCore.o
      realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&) in RealmCore.o
      realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&) in RealmCore.o
      realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&) in RealmCore.o
      realm::util::InterprocessCondVar::set_shared_part(realm::util::InterprocessCondVar::SharedPart&, 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>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>) in RealmCore.o
      make_non_blocking(int) in RealmCore.o
  "std::__1::system_error::system_error(int, std::__1::error_category const&, char const*)", referenced from:
      realm::util::make_temp_file(char const*) in RealmCore.o
      realm::util::File::dup_file_desc(int) in RealmCore.o
      realm::util::munmap(void*, unsigned long) in RealmCore.o
      realm::util::msync(int, void*, unsigned long) in RealmCore.o
      realm::util::msync(int, void*, unsigned long) in RealmCore.o
      (anonymous namespace)::get_rlimit(realm::util::Resource, bool) in RealmCore.o
      (anonymous namespace)::set_rlimit(realm::util::Resource, long, bool) in RealmCore.o
      (anonymous namespace)::set_rlimit(realm::util::Resource, long, bool) in RealmCore.o
      ...
  "std::__1::system_error::system_error(int, std::__1::error_category const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)", referenced from:
      realm::util::File::get_unique_id(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in RealmCore.o
      realm::util::mmap_anon(unsigned long) in RealmCore.o
  "std::__1::system_error::~system_error()", referenced from:
      realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&) in RealmCore.o
      realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&) in RealmCore.o
      realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&) in RealmCore.o
      realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&, realm::RealmConfig const&) in RealmCore.o
      realm::util::compression::allocate_and_compress_nonportable(realm::util::compression::CompressMemoryArena&, realm::util::Span<char const, 18446744073709551615ul>, realm::util::AppendBuffer<char>&) in RealmCore.o
      (anonymous namespace)::DecompressInputStreamLibCompression::DecompressInputStreamLibCompression(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, (anonymous namespace)::Header) in RealmCore.o
      (anonymous namespace)::DecompressInputStreamLibCompression::next_block() in RealmCore.o
      (anonymous namespace)::DecompressInputStreamLibCompression::next_block() in RealmCore.o
      ...
  "std::__1::basic_istream<char, std::__1::char_traits<char>>::~basic_istream()", referenced from:
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char>>-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char>> in RealmCore.o
  "std::__1::basic_istream<char, std::__1::char_traits<char>>::~basic_istream()", referenced from:
      construction vtable for std::__1::basic_istream<char, std::__1::char_traits<char>>-in-std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char>> in RealmCore.o
  "std::__1::basic_istream<char, std::__1::char_traits<char>>::~basic_istream()", referenced from:
      std::__1::basic_iostream<char, std::__1::char_traits<char>>::basic_iostream[abi:de180100](std::__1::basic_streambuf<char, std::__1::char_traits<char>>*) in Realm.o
      std::__1::basic_iostream<char, std::__1::char_traits<char>>::basic_iostream[abi:de180100](std::__1::basic_streambuf<char, std::__1::char_traits<char>>*) in RealmCore.o
  "std::__1::basic_ostream<char, std::__1::char_traits<char>>::put(char)", referenced from:
      std::__1::basic_ostream<char, std::__1::char_traits<char>>& std::__1::endl[abi:de180100]<char, std::__1::char_traits<char>>(std::__1::basic_ostream<char, std::__1::char_traits<char>>&) in RealmCore.o

Build target RealmSwift with configuration Debug

ProcessInfoPlistFile /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Products/Debug-iphonesimulator/PackageFrameworks/RealmSwift.framework/Info.plist /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Intermediates.noindex/Realm.build/Debug-iphonesimulator/RealmSwift\ product.build/empty-RealmSwift.plist (in target 'RealmSwift' from project 'Realm')
    cd /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/SourcePackages/checkouts/realm-swift
    builtin-infoPlistUtility /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Intermediates.noindex/Realm.build/Debug-iphonesimulator/RealmSwift\ product.build/empty-RealmSwift.plist -producttype com.apple.product-type.framework -expandbuildsettings -format binary -platform iphonesimulator -o /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Products/Debug-iphonesimulator/PackageFrameworks/RealmSwift.framework/Info.plist

Ld /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Products/Debug-iphonesimulator/PackageFrameworks/RealmSwift.framework/RealmSwift normal (in target 'RealmSwift' from project 'Realm')
    cd /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/SourcePackages/checkouts/realm-swift
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target x86_64-apple-ios12.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk -O0 -w -L/Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphonesimulator -L/Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Products/Debug-iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F/Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphonesimulator -F/Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Products/Debug-iphonesimulator -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.0.sdk/Developer/Library/Frameworks -filelist /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Intermediates.noindex/Realm.build/Debug-iphonesimulator/RealmSwift\ product.build/Objects-normal/x86_64/RealmSwift.LinkFileList -install_name @rpath/RealmSwift.framework/RealmSwift -Xlinker -rpath -Xlinker /usr/lib/swift -dead_strip -Xlinker -object_path_lto -Xlinker /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Intermediates.noindex/Realm.build/Debug-iphonesimulator/RealmSwift\ product.build/Objects-normal/x86_64/RealmSwift_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Intermediates.noindex/Realm.build/Debug-iphonesimulator/RealmSwift\ product.build/Objects-normal/x86_64/RealmSwift_dependency_info.dat -o /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Products/Debug-iphonesimulator/PackageFrameworks/RealmSwift.framework/RealmSwift -Xlinker -add_ast_path -Xlinker /Users/steve/Library/Developer/Xcode/DerivedData/AMA-bwpneslitomlawcwzmrjxvkbcjve/Build/Intermediates.noindex/Realm.build/Debug-iphonesimulator/RealmSwift.build/Objects-normal/x86_64/RealmSwift.swiftmodule

Undefined symbols for architecture x86_64:
  "_adler32", referenced from:
      (anonymous namespace)::decompress_libcompression(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, (anonymous namespace)::Algorithm, bool) in RealmCore.o
      (anonymous namespace)::compress_lzfse(realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, unsigned long&, realm::util::compression::Alloc*) in RealmCore.o
  "_compression_encode_buffer", referenced from:
      (anonymous namespace)::compress_lzfse(realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, unsigned long&, realm::util::compression::Alloc*) in RealmCore.o
  "_compression_encode_scratch_buffer_size", referenced from:
      (anonymous namespace)::compress_lzfse(realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, unsigned long&, realm::util::compression::Alloc*) in RealmCore.o
  "_compression_stream_destroy", referenced from:
      (anonymous namespace)::decompress_libcompression(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, (anonymous namespace)::Algorithm, bool)::Cleanup::~Cleanup() in RealmCore.o
      (anonymous namespace)::DecompressInputStreamLibCompression::~DecompressInputStreamLibCompression() in RealmCore.o
  "_compression_stream_init", referenced from:
      (anonymous namespace)::decompress_libcompression(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, (anonymous namespace)::Algorithm, bool) in RealmCore.o
      (anonymous namespace)::DecompressInputStreamLibCompression::DecompressInputStreamLibCompression(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, (anonymous namespace)::Header) in RealmCore.o
  "_compression_stream_process", referenced from:
      (anonymous namespace)::decompress_libcompression(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, (anonymous namespace)::Algorithm, bool) in RealmCore.o
      (anonymous namespace)::decompress_libcompression(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, (anonymous namespace)::Algorithm, bool) in RealmCore.o
      (anonymous namespace)::DecompressInputStreamLibCompression::next_block() in RealmCore.o
  "_deflate", referenced from:
      realm::util::compression::compress(realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, unsigned long&, int, realm::util::compression::Alloc*) in RealmCore.o
  "_deflateEnd", referenced from:
      realm::util::compression::compress(realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, unsigned long&, int, realm::util::compression::Alloc*) in RealmCore.o
      realm::util::compression::compress(realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, unsigned long&, int, realm::util::compression::Alloc*) in RealmCore.o
      realm::util::compression::compress(realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, unsigned long&, int, realm::util::compression::Alloc*) in RealmCore.o
  "_deflateInit_", referenced from:
      realm::util::compression::compress(realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, unsigned long&, int, realm::util::compression::Alloc*) in RealmCore.o
  "_inflate", referenced from:
      (anonymous namespace)::decompress_zlib(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, bool) in RealmCore.o
      (anonymous namespace)::inflate_zlib_header(z_stream_s&) in RealmCore.o
      (anonymous namespace)::DecompressInputStreamZlib::next_block() in RealmCore.o
  "_inflateEnd", referenced from:
      (anonymous namespace)::decompress_zlib(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, bool)::$_0::operator()() const in RealmCore.o
      (anonymous namespace)::DecompressInputStreamZlib::~DecompressInputStreamZlib() in RealmCore.o
  "_inflateInit_", referenced from:
      (anonymous namespace)::decompress_zlib(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, realm::util::Span<char, 18446744073709551615ul>, bool) in RealmCore.o
      (anonymous namespace)::DecompressInputStreamZlib::DecompressInputStreamZlib(realm::util::InputStream&, realm::util::Span<char const, 18446744073709551615ul>, unsigned long) in RealmCore.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Undefined symbol: _adler32

Undefined symbol: _compression_encode_buffer

Undefined symbol: _compression_encode_scratch_buffer_size

Undefined symbol: _compression_stream_destroy

Undefined symbol: _compression_stream_init

Undefined symbol: _compression_stream_process

Undefined symbol: _deflate

Undefined symbol: _deflateEnd

Undefined symbol: _deflateInit_

Undefined symbol: _inflate

Undefined symbol: _inflateEnd

Undefined symbol: _inflateInit_

Linker command failed with exit code 1 (use -v to see invocation)

Can you reproduce the bug?

Always

Reproduction Steps

No response

Version

20.0.0

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

MacOS 15 / Xcode 16

Build environment

Xcode version: 16 Dependency manager and version: Swift Package Manager

sync-by-unito[bot] commented 1 week ago

➤ PM Bot commented:

Jira ticket: RCOCOA-2435

rursache commented 3 days ago

just clean the project and build again, there are no issues with realm

ding-stephen commented 2 days ago

@rursache I have tried clean the project build folder, even delete all files in Derived Data folder, but still receive theese issues. The curious thing is these issues only happen for version above 10.49.2, below or equal 10.49.2 works fine.

rursache commented 2 days ago

it's an issue with your project, try on a new one and observe no such problems

ding-stephen commented 2 days ago

I tried a new project with realm 20.0.0, it's ok with no issues. I'v no idea how can I change my project settings, as version 10.49.2 works fine, but others not, especially the project settings are the same for both versions, even the old caches are all cleaned and deleted before compile.