RxDataSources
RxDataSources copied to clipboard
Xcode 10 beta 6 fatal error while reading from module 'RxDataSources' (abort trap 6)
After having to upgrade to the newest version of xcode 10 beta (got ITMS-90534 error when trying to create a TestFlight build) I am no longer able to build, for debug or release.
In a previous version of xcode 10 beta (not sure which one) I was using, there were no problems in building for debug or release, excluding the ITMS-90534 issue.
After upgrading wether I build with Swift 4 or 4.2, I keep getting the following error:
<unknown>:0: error: fatal error encountered while reading from module 'RxDataSources'; please file a bug report with your project and the crash log
*** DESERIALIZATION FAILURE (please include this section in any bug report) ***
(see "While..." info below)
0 swift 0x000000011152137a PrintStackTraceSignalHandler(void*) + 42
1 swift 0x0000000111520b2e SignalHandler(int) + 302
2 libsystem_platform.dylib 0x00007fff5b2e2f5a _sigtramp + 26
3 libsystem_platform.dylib 0x000000011a96d618 _sigtramp + 3211306712
4 libsystem_c.dylib 0x00007fff5b0801ae abort + 127
5 swift 0x000000010e9a0b0b swift::ModuleFile::fatal(llvm::Error) + 1915
6 swift 0x000000010e9c3b99 swift::SILDeserializer::readSILFunctionChecked(llvm::PointerEmbeddedInt<unsigned int, 31>, swift::SILFunction*, llvm::StringRef, bool, bool) + 2249
7 swift 0x000000010e9d9710 swift::SILDeserializer::lookupSILFunction(swift::SILFunction*) + 400
8 swift 0x000000010e692b9b swift::SILLinkerVisitor::maybeAddFunctionToWorklist(swift::SILFunction*) + 379
9 swift 0x000000010e693224 swift::SILLinkerVisitor::processFunction(swift::SILFunction*) + 1524
10 swift 0x000000010e2b1d48 (anonymous namespace)::SILLinker::run() + 264
11 swift 0x000000010e3ac10d swift::SILPassManager::execute() + 5565
12 swift 0x000000010e3afa3b swift::runSILDiagnosticPasses(swift::SILModule&) + 2331
13 swift 0x000000010d7e3f13 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 35331
14 swift 0x000000010d7d8015 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7717
15 swift 0x000000010d77dc95 main + 1349
16 libdyld.dylib 0x00007fff5afd4015 start + 1
Stack dump:
0. Program arguments: ...(very long)
1. Contents of /var/folders/hm/s0zg67p171z_y_hnt0m6268w0000gp/T/sources-779494: ...(very long)
2. While running pass #684 SILModuleTransform "MandatorySILLinker".
3. While deserializing SIL function "$S13RxDataSources0a26TableViewSectionedAnimatedB6SourceC22animationConfiguration06decideE10Transition13configureCell23titleForHeaderInSection0op6FooterrS021canEditRowAtIndexPath0u4MovewxyZ007sectionY6Titles07sectionpsY5TitleACyxGAA09AnimationJ0V_AA0eL0OAA0defbH0CyxG_So07UITableE0CSay14Differentiator9ChangesetVyxGGtcSo07UITableeN0CAT_AV10Foundation0yZ0V4ItemQztcSSSgAT_SitcA7_AT_SitcSbAT_A4_tcSbAT_A4_tcSaySSGSgATcSiAT_SSSitctcfcfA4_"
error: Abort trap: 6
Using version 3.0.2
Any help would be appreciated
Same thing! Using Carthage in my project and framework was built using previous Xcode 10 Beta 5. Now trying to rebuild it.
@kuchmiyalex Can you try to build using the legacy build system, perhaps that fixes it? You can do this by going to file --> project settings (or workspace settings) --> build system --> select Legacy Build system.
@FranklySimple using Legacy Build system, removing Rx project reference and rebuilding Carthage solved the problem, thanks!
@kuchmiyalex Thanks, didn't have the time to check it 👍
Running into the same issue with Xcode 10.0
using Legacy Build system, removing Rx project reference and rebuilding Carthage solved the problem, thanks!
Does not fixes the issue.
@pajapro I'm no longer able to reproduce this issue in the official xcode 10 release. Have you changed the xcode beta cl setting to the official xcode? Have you tried uninstalling all xcode versions and installing the official xcode?