Open uschen opened 11 years ago
try to archive: \ BUILD FAILED **
The following build commands failed: Ld /Users/xxxxxxxx/Library/Developer/Xcode/DerivedData/KSCrash-hbykmpiwdvfxqtdgcovbslbodmlv/Build/Intermediates/ArchiveIntermediates/KSCrash/IntermediateBuildFilesPath/UninstalledProducts/KSCrash.framework/Versions/A/KSCrash normal i386 (1 failure)
Yes, I forgot to mention in the readme, you need to link in libc++ due to the new c++ exception handling code.
yes... ... found it at apple dev forum, basically, alternatively, add libstdc++.dylib to the Binary
and also, non-ideally, changing main.m to main.mm works too .............
Adding libstdc++.dylib did the trick, thanks!
Fixed by fde5c7b1
Just Git Clone, and build or archive. did i forget something?
Undefined symbols for architecture armv7: "typeinfo for long long", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for unsigned short", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for unsigned long", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for long", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for int", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for unsigned char", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for long double", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for std::exception", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for double", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for float", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "_cxa_rethrow", referenced from: CPPExceptionTerminate() in KSCrash(KSCrashSentryCPPException.o) "typeinfo for char", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for short", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "_cxa_begin_catch", referenced from: CPPExceptionTerminate() in KSCrash(KSCrashSentryCPPException.o) "typeinfo for char const", referenced from: GCC_except_table2 in KSCrash(KSCrashSentryCPPException.o) "cxa_demangle", referenced from: CPPExceptionTerminate() in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for unsigned long long", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "___cxa_current_exception_type", referenced from: CPPExceptionTerminate() in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for char", referenced from: GCC_except_table2 in KSCrash(KSCrashSentry_CPPException.o) "typeinfo for unsigned int", referenced from: GCC_except_table2 in KSCrash(KSCrashSentryCPPException.o) "cxa_end_catch", referenced from: CPPExceptionTerminate() in KSCrash(KSCrashSentry_CPPException.o) "std::set_terminate(void (*)())", referenced from: _kscrashsentry_installCPPExceptionHandler in KSCrash(KSCrashSentry_CPPException.o) _kscrashsentry_uninstallCPPExceptionHandler in KSCrash(KSCrashSentry_CPPException.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)