kstenerud / KSCrash

The Ultimate iOS Crash Reporter
MIT License
4.24k stars 711 forks source link

pod install Mac-O linker error #29

Open uschen opened 11 years ago

uschen commented 11 years ago

Undefined symbols for architecture armv7s: "typeinfo for unsigned long long", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for long long", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for unsigned short", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for unsigned long", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for long", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for int", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for unsigned char", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "_cxa_current_exception_type", referenced from: CPPExceptionTerminate() in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for long double", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for char", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for double", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "_inflateEnd", referenced from: -[NSData(GZip) gunzippedWithError:] in libPods.a(NSData+GZip.o) "typeinfo for std::exception", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for char*", referenced from: GCC_except_table2 in libPods.a(KSCrashSentryCPPException.o) "std::terminate()", referenced from: clang_call_terminate in libPods.a(KSCrashSentry_CPPException.o) "_cxa_demangle", referenced from: CPPExceptionTerminate() in libPods.a(KSCrashSentryCPPException.o) "cxa_begin_catch", referenced from: CPPExceptionTerminate() in libPods.a(KSCrashSentry_CPPException.o) _clang_call_terminate in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for float", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "_inflate", referenced from: -[NSData(GZip) gunzippedWithError:] in libPods.a(NSData+GZip.o) "deflateInit2", referenced from: -[NSData(GZip) gzippedWithCompressionLevel:error:] in libPods.a(NSData+GZip.o) "___cxa_rethrow", referenced from: CPPExceptionTerminate() in libPods.a(KSCrashSentryCPPException.o) "cxa_end_catch", referenced from: CPPExceptionTerminate() in libPods.a(KSCrashSentryCPPException.o) "typeinfo for char const", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "typeinfo for short", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "_deflate", referenced from: -[NSData(GZip) gzippedWithCompressionLevel:error:] in libPods.a(NSData+GZip.o) "std::setterminate(void ()())", referenced from: _kscrashsentry_installCPPExceptionHandler in libPods.a(KSCrashSentry_CPPException.o) _kscrashsentry_uninstallCPPExceptionHandler in libPods.a(KSCrashSentry_CPPException.o) "inflateInit2", referenced from: -[NSData(GZip) gunzippedWithError:] in libPods.a(NSData+GZip.o) "typeinfo for unsigned int", referenced from: GCC_except_table2 in libPods.a(KSCrashSentry_CPPException.o) "_deflateEnd", referenced from: -[NSData(GZip) gzippedWithCompressionLevel:error:] in libPods.a(NSData+GZip.o) "_OBJCCLASS$_MFMailComposeViewController", referenced from: objc-class-ref in libPods.a(KSCrashReportSinkEMail.o) ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)

kstenerud commented 11 years ago

Yes, I forgot to mention in the readme, you need to link in libc++ due to the new c++ exception handling code.

kattrali commented 8 years ago

Fixed by fde5c7b1