We have updated the xcode version 11.6 to 12.4 last week. Everything was working perfectly. After this update, We are getting this issue. We tried these steps:
-clean / re-build
-removed derived data
-removed valid-archs from build settings
-added arm64 to Excluded Architectures
-reboot mac
Still we are facing same issue. These logs doesn't give proper information of the class where we need change. These are the error logs we are getting when we try to run the app:
0 swift 0x000000010984e615 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 swift 0x000000010984d615 llvm::sys::RunSignalHandlers() + 85
2 swift 0x000000010984ebcf SignalHandler(int) + 111
3 libsystem_platform.dylib 0x00007fff70f0f5fd _sigtramp + 29
4 libsystem_platform.dylib 0x00007f8a8a354900 _sigtramp + 18446743571622286112
5 swift 0x00000001057c537b emitApplyArgument((anonymous namespace)::IRGenSILFunction&,
swift::SILValue, swift::SILType, swift::irgen::Explosion&) + 283
6 swift 0x00000001057c441a (anonymous
namespace)::IRGenSILFunction::visitFullApplySite(swift::FullApplySite) + 3770
7 swift 0x00000001057a2d26 swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 8982
8 swift 0x000000010563b457
swift::irgen::IRGenerator::emitGlobalTopLevel(llvm::StringSet<llvm::MallocAllocator>*) + 1607
9 swift 0x0000000105777c37 performIRGeneration(swift::IRGenOptions const&, swift::ModuleDecl,
std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule> >, llvm::StringRef,
swift::PrimarySpecificPaths const&, llvm::StringRef, swift::SourceFile, llvm::GlobalVariable*,
llvm::StringSet<llvm::MallocAllocator>) + 1687
10 swift 0x00000001057a0781 swift::SimpleRequest<swift::IRGenSourceFileRequest,
swift::GeneratedModule (swift::IRGenDescriptor),
(swift::RequestFlags)9>::evaluateRequest(swift::IRGenSourceFileRequest const&, swift::Evaluator&) +
97
11 swift 0x000000010577c04c llvm::Expected<swift::IRGenSourceFileRequest::OutputType>
swift::Evaluator::getResultUncached<swift::IRGenSourceFileRequest>(swift::IRGenSourceFileRequest
const&) + 940
12 swift 0x000000010577829d swift::performIRGeneration(swift::IRGenOptions const&,
swift::SourceFile&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>
>, llvm::StringRef, swift::PrimarySpecificPaths const&, llvm::StringRef, llvm::GlobalVariable*,
llvm::StringSet<llvm::MallocAllocator>) + 269
13 swift 0x00000001053c21ba performCompileStepsPostSILGen(swift::CompilerInstance&,
swift::CompilerInvocation const&, std::__1::unique_ptr<swift::SILModule,
std::__1::default_delete<swift::SILModule> >, llvm::PointerUnion<swift::ModuleDecl,
swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver) + 3002
14 swift 0x00000001053b1d97 swift::performFrontend(llvm::ArrayRef<char const*>, char const, void,
swift::FrontendObserver*) + 20695
15 swift 0x0000000105332c27 main + 1255
16 libdyld.dylib 0x00007fff70d12cc9 start + 1
17 libdyld.dylib 0x00000000000001ac start + 18446603338623407332
error: Segmentation fault: 11 (in target 'ProjectName' from project 'ProjectName')
These are the pods we are using:
pod 'p2.OAuth2', '~> 3.0.0'
pod 'SwiftyJSON', '~> 3.0.0'
pod 'CryptoSwift', '0.8.3'
How we can fix this? Any help appreciated.
thanks.
