New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command failed due to signal: Abort trap: 6 #135
Comments
i have the same issue in xcode 10 with a similar log: *** DESERIALIZATION FAILURE (please include this section in any bug report) *** 0 swift 0x000000010f3dc64a PrintStackTraceSignalHandler(void*) + 42 |
Hi,
Any suggestion? |
@GiulioCinelli were you able to find a solution? I have a similar issue |
@ahmed-sal i think it could be releated to swift version between project (my was in swift 3.3) and library (swift 4). i'm trying to convert the plugin into a swift 3 lib but i'm not sure that this can be helpfull |
@ahmed-sal I've solved by disabling Optimization for release in my project Not sure it can be a real fix but it works |
@GiulioCinelli you are correct. In order to archive, I needed to remove the pods that are not |
when archive I get the following error
XCODE 9.4.1
:0: error: fatal error encountered while reading from module 'BarcodeScanner'; please file a bug report with your project and the crash log
:0: note: compiling as Swift 3.3.2, with 'BarcodeScanner' built as Swift 4.1.2 (this is supported but may expose additional compiler issues)
*** DESERIALIZATION FAILURE (please include this section in any bug report) ***
declaration is not a nominal type
Cross-reference to module 'AVFoundation'
... ObjectType
0 swift 0x0000000106454fea PrintStackTraceSignalHandler(void*) + 42
1 swift 0x00000001064543a6 SignalHandler(int) + 966
2 libsystem_platform.dylib 0x00007fff7bafff5a _sigtramp + 26
3 libsystem_platform.dylib 0x0000000109c9d2c4 _sigtramp + 2384057220
4 libsystem_c.dylib 0x00007fff7b89d1ae abort + 127
5 swift 0x0000000103b83d5e swift::ModuleFile::fatal(llvm::Error) + 2062
6 swift 0x0000000103b9614a swift::ModuleFile::getTypeChecked(llvm::PointerEmbeddedInt<unsigned int, 31>) + 13418
7 swift 0x0000000103ba4fc7 swift::SILDeserializer::readSILFunction(llvm::PointerEmbeddedInt<unsigned int, 31>, swift::SILFunction*, llvm::StringRef, bool, bool) + 455
8 swift 0x0000000103bb81bc swift::SILDeserializer::getFuncForReference(llvm::StringRef) + 748
9 swift 0x0000000103bb967d swift::SILDeserializer::readVTable(llvm::PointerEmbeddedInt<unsigned int, 31>) + 605
10 swift 0x00000001038ad8eb swift::SILLinkerVisitor::processClassDecl(swift::ClassDecl const*) + 91
11 swift 0x00000001038f4545 swift::SILModule::lookUpVTable(swift::ClassDecl const*) + 261
12 swift 0x00000001038ad50f swift::SILLinkerVisitor::linkInVTable(swift::ClassDecl*) + 31
13 swift 0x00000001038acfc5 swift::SILLinkerVisitor::process() + 517
14 swift 0x00000001038accef swift::SILLinkerVisitor::processFunction(swift::SILFunction*) + 79
15 swift 0x00000001034d54e6 (anonymous namespace)::SILLinker::run() + 182
16 swift 0x00000001035b1cc9 swift::SILPassManager::runOneIteration() + 10217
17 swift 0x0000000102ab5125 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 37781
18 swift 0x0000000102aaa304 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7908
19 swift 0x0000000102a5ece5 main + 18917
20 libdyld.dylib 0x00007fff7b7f1015 start + 1
21 libdyld.dylib 0x00000000000000a0 start + 2223042700
The text was updated successfully, but these errors were encountered: