dyld[394]: Symbol not found: __ZNSt3__13pmr20get_default_resourceEv

dyld[394]: Symbol not found: __ZNSt3__13pmr20get_default_resourceEv

Referenced from: <061BAD8B-9D64-3C18-BE90-C257931CB31F> /private/var/containers/Bundle/Application/B97A3786-6BBE-434E-8A13-0AD35931EEB1/VForPad.app/VForPad

Expected in: <DE2904C7-3780-3420-8FB8-5CCAB1E3382F> /usr/lib/libc++.1.dylib

std::pmr::get_default_resource is available in C++17 and later, but I'm not sure when / if it was fully supported by Xcode. You might want to double check your C++ version in your project to make sure you're linking to a new enough version of libc++.

Accepted Answer

std::pmr::get_default_resource is available in C++17 and later, but I'm not sure when / if it was fully supported by Xcode. You might want to double check your C++ version in your project to make sure you're linking to a new enough version of libc++.

Sure, it works fine once upgrade iOS16 to iOS17. So i guess c++ lib in iOS16 without implementation of std::pmr.

dyld[394]: Symbol not found: __ZNSt3__13pmr20get_default_resourceEv
 
 
Q