App crashes after installing iOS 13.1

Hi,


My app worked perfectly fine with iOS 13.0. However, after installing iOS 13.1, my app crashes when I open it.


App name: Item Hunt - Camera Scanner


Below is the error message. I hope someone can help.


0 swift 0x0000000111540eb3 PrintStackTraceSignalHandler(void*) + 51

1 swift 0x0000000111540686 SignalHandler(int) + 358

2 libsystem_platform.dylib 0x00007fff58b6bb5d _sigtramp + 29

3 libsystem_platform.dylib 0x00007fecc0424c10 _sigtramp + 1737199824

4 swift 0x000000010ff395b6 llvm::object::MachOObjectFile::MachOObjectFile(llvm::MemoryBufferRef, bool, bool, llvm::Error&, unsigned int, unsigned int) + 11910

5 swift 0x000000010ff4170a llvm::object::ObjectFile::createObjectFile(llvm::MemoryBufferRef, llvm::file_magic) + 3418

6 swift 0x000000010f1a78a7 clang::ObjectFilePCHContainerReader::ExtractPCH(llvm::MemoryBufferRef) const + 55

7 swift 0x00000001104bf7ca clang::serialization::ModuleManager::addModule(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, unsigned int, long long, long, clang::ASTFileSignature, clang::ASTFileSignature (*)(llvm::StringRef), clang::serialization::ModuleFile*&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 4570

8 swift 0x0000000110342131 clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, long long, long, clang::ASTFileSignature, unsigned int) + 129

9 swift 0x0000000110352f29 clang::ASTReader::ReadAST(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, unsigned int, llvm::SmallVectorImpl<clang::ASTReader::ImportedSubmodule>*) + 281

10 swift 0x000000010de9b423 swift::ClangImporter::getOrCreatePCH(swift::ClangImporterOptions const&, llvm::StringRef) + 3795

11 swift 0x000000010d18fd17 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 1239

12 swift 0x000000010d18c034 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 6820

13 swift 0x000000010d1195a3 main + 1219

14 libdyld.dylib 0x00007fff589803d5 start + 1


swift::FrontendObserverror: Segmentation fault: 11 (in target 'Item Hunt' from project 'Item_Hunt')

Replies

This is not the app crashing, but the compiler crashing. Compiler crashes are always bugworthy, so I recommend that you start by filing a bug about it. It’s best if you can include a project that reproduces the crash.

Please post your bug number, just for the record.

It’s possible that this crash is caused by gunk leftover from a previous build. Try doing a Product > Clean to see if that fixes it. If not, quit Xcode, delete

~/Library/Developer/Xcode/DerivedData/
, and then try again.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"