skip to Main Content

"Undefined symbols" of shrink_to_fit() when compiling Cronet on iOS 15 with Xcode 13

Error message: Undefined symbols for architecture arm64: "std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> >::shrink_to_fit()", referenced from: base::UTF8ToUTF16(char const*, unsigned long, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> >*) in libbase.a(utf_string_conversions.o) base::WideToUTF16(wchar_t const*, unsigned long, std::__1::basic_string<unsigned short, base::string16_internals::string16_char_traits, std::__1::allocator<unsigned short> >*) in libbase.a(utf_string_conversions.o) ld:…

VIEW QUESTION

xcode archive "Library not found for -lReact-hermes" for ReactNative project

Trying to archive my RN project but having this error. Currently using RN 0.65.1 with React 17.0.2. Tried adding libReact-hermes.a inside xcode "Link Binary With Libraries" but error still persists. ld: library not found for -lReact-hermes require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'…

VIEW QUESTION
Back To Top
Search