Call parameter type does not match function signature!
ptr null
i64 %16 = call swiftcc i64 @swift_getTypeByMangledNameInContext(ptr %15, i64 %10, ptr null, ptr null) #22, !dbg !2584
Rename failed: /Users/xxx/Library/Developer/Xcode/DerivedData/han-ezydnutpxxdvdngthbspmtadcgpp/Build/Intermediates.noindex/ArchiveIntermediates/han/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/HandyJSON.build/Objects-normal/arm64/ContextDescriptorType-9f6d7741.o.tmp -> /Users/xxx/Library/Developer/Xcode/DerivedData/han-ezydnutpxxdvdngthbspmtadcgpp/Build/Intermediates.noindex/ArchiveIntermediates/han/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/HandyJSON.build/Objects-normal/arm64/ContextDescriptorType.o: No such file or directory
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
Rename failed: /Users/xxx/Library/Developer/Xcode/DerivedData/han-ezydnutpxxdvdngthbspmtadcgpp/Build/Intermediates.noindex/ArchiveIntermediates/han/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/HandyJSON.build/Objects-normal/arm64/FieldDescriptor-2872066d.o.tmp -> /Users/xxx/Library/Developer/Xcode/DerivedData/han-ezydnutpxxdvdngthbspmtadcgpp/Build/Intermediates.noindex/ArchiveIntermediates/han/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/HandyJSON.build/Objects-normal/arm64/FieldDescriptor.o: No such file or directory
0 swift-frontend 0x00000001080bc108 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 40
1 swift-frontend 0x00000001080bb058 llvm::sys::RunSignalHandlers() + 248
2 swift-frontend 0x00000001080bc6c7 SignalHandler(int) + 311
3 libsystem_platform.dylib 0x00007ff81963a37d _sigtramp + 29
4 libsystem_platform.dylib 0x0000700009a52bc0 _sigtramp + 18446726515619104864
5 libsystem_c.dylib 0x00007ff81952aa49 abort + 126
6 swift-frontend 0x0000000101d9f4a9 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*)::$_3::__invoke(void*, char const*, bool) + 761
7 swift-frontend 0x0000000107feb402 llvm::report_fatal_error(llvm::Twine const&, bool) + 402
8 swift-frontend 0x0000000107feb269 llvm::report_fatal_error(char const*, bool) + 41
9 swift-frontend 0x00000001023eb844 llvm::detail::PassModel<llvm::Module, llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 164
10 swift-frontend 0x0000000107d9156b llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 235
11 swift-frontend 0x00000001023da461 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*, llvm::raw_pwrite_stream*) + 4209
12 swift-frontend 0x00000001023dbec5 swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) + 2085
13 swift-frontend 0x00000001023e6256 (anonymous namespace)::LLVMCodeGenThreads::Thread::run() + 198
14 swift-frontend 0x00000001023e6189 (anonymous namespace)::LLVMCodeGenThreads::runThread(void*) + 9
15 libsystem_pthread.dylib 0x00007ff81960c202 _pthread_start + 99
16 libsystem_pthread.dylib 0x00007ff819607bab thread_start + 15
Rename failed: /Users/xxx/Library/Developer/Xcode/DerivedData/han-ezydnutpxxdvdngthbspmtadcgpp/Build/Intermediates.noindex/ArchiveIntermediates/han/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/HandyJSON.build/Objects-normal/arm64/NSDecimalNumberTransform-ee3c3e4e.o.tmp -> /Users/xxx/Library/Developer/Xcode/DerivedData/han-ezydnutpxxdvdngthbspmtadcgpp/Build/Intermediates.noindex/ArchiveIntermediates/han/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/HandyJSON.build/Objects-normal/arm64/NSDecimalNumberTransform.o: No such file or directory
Rename failed: /Users/xxx/Library/Developer/Xcode/DerivedData/han-ezydnutpxxdvdngthbspmtadcgpp/Build/Intermediates.noindex/ArchiveIntermediates/han/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/HandyJSON.build/Objects-normal/arm64/HexColorTransform-56f0ddc9.o.tmp -> /Users/xxx/Library/Developer/Xcode/DerivedData/han-ezydnutpxxdvdngthbspmtadcgpp/Build/Intermediates.noindex/ArchiveIntermediates/han/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/HandyJSON.build/Objects-normal/arm64/HexColorTransform.o: No such file or directory
Command SwiftCompile failed with a nonzero exit code
HandyJSon已经不维护了,建议不再使用HandyJSON这个json解析库,转原生Codable了
解决方法:
M1 可行:Pods-> HandyJSON->Compilation Mode 选择为 Incremental
网友评论