CocoaPods / cocoapods-packager

CocoaPods plugin which allows you to generate a static library from a podspec.
Other
1.14k stars 219 forks source link

Skip exception mangle #261

Open haowenwu opened 3 years ago

haowenwu commented 3 years ago

Fix problem:

Undefined symbols for architecture arm64: "std::Pod_exception::what() const", referenced from: vtable for std::__1::bad_function_call in libDemo.a(Demo.o) "typeinfo for std::Pod_exception", referenced from: typeinfo for std::1::bad_function_call in libDemo.a(Demo.o) "std::Pod_exception::~Pod_exception()", referenced from: std::1::bad_function_call::~bad_function_call() in libDemo.a(Demo.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)