alibaba / HandyJSON

A handy swift json-object serialization/deserialization library
Other
4.23k stars 642 forks source link

fix Xcode15.3 archive failed #491

Open Miles-Matheson opened 7 months ago

Miles-Matheson commented 7 months ago

fix Xcode15.3 archive failed

CLAassistant commented 7 months ago

CLA assistant check
All committers have signed the CLA.

shaojiankui commented 1 week ago

xcode16报错啊 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 !2132 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 varLLVM_SYMBOLIZER_PATHto point to it): 0 swift-frontend 0x000000010617b0fc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 swift-frontend 0x0000000106179350 llvm::sys::RunSignalHandlers() + 112 2 swift-frontend 0x000000010617b6c8 SignalHandler(int) + 292 3 libsystem_platform.dylib 0x0000000199884184 _sigtramp + 56 4 libsystem_pthread.dylib 0x000000019984ef70 pthread_kill + 288 5 libsystem_c.dylib 0x000000019975b908 abort + 128 6 swift-frontend 0x0000000100edebc8 createDispatchingDiagnosticConsumerIfNeeded(swift::FrontendInputsAndOutputs const&, llvm::function_ref<std::__1::unique_ptr<swift::DiagnosticConsumer, std::__1::default_delete<swift::DiagnosticConsumer>> (swift::InputFile const&)>) + 0 7 swift-frontend 0x00000001060eae80 llvm::report_fatal_error(llvm::Twine const&, bool) + 280 8 swift-frontend 0x00000001060ead68 llvm::report_fatal_error(llvm::Twine const&, bool) + 0 9 swift-frontend 0x000000010111f31c llvm::detail::PassModel<llvm::Module, llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>) + 0 10 swift-frontend 0x0000000105eb2a80 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 224 11 swift-frontend 0x0000000101113d58 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*, llvm::raw_pwrite_stream*) + 3764 12 swift-frontend 0x0000000101115994 swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) + 2352 13 swift-frontend 0x000000010111cc68 (anonymous namespace)::LLVMCodeGenThreads::Thread::run() + 156 14 swift-frontend 0x000000010111cbc0 (anonymous namespace)::LLVMCodeGenThreads::runThread(void*) + 12 15 libsystem_pthread.dylib 0x000000019984f2e4 _pthread_start + 136 16 libsystem_pthread.dylib 0x000000019984a0fc thread_start + 8 Command SwiftCompile failed with a nonzero exit code

sophistWY commented 1 week ago

xcode16报错啊 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 !2132 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 varLLVM_SYMBOLIZER_PATHto point to it): 0 swift-frontend 0x000000010617b0fc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 swift-frontend 0x0000000106179350 llvm::sys::RunSignalHandlers() + 112 2 swift-frontend 0x000000010617b6c8 SignalHandler(int) + 292 3 libsystem_platform.dylib 0x0000000199884184 _sigtramp + 56 4 libsystem_pthread.dylib 0x000000019984ef70 pthread_kill + 288 5 libsystem_c.dylib 0x000000019975b908 abort + 128 6 swift-frontend 0x0000000100edebc8 createDispatchingDiagnosticConsumerIfNeeded(swift::FrontendInputsAndOutputs const&, llvm::function_ref<std::__1::unique_ptr<swift::DiagnosticConsumer, std::__1::default_delete<swift::DiagnosticConsumer>> (swift::InputFile const&)>) + 0 7 swift-frontend 0x00000001060eae80 llvm::report_fatal_error(llvm::Twine const&, bool) + 280 8 swift-frontend 0x00000001060ead68 llvm::report_fatal_error(llvm::Twine const&, bool) + 0 9 swift-frontend 0x000000010111f31c llvm::detail::PassModel<llvm::Module, llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>) + 0 10 swift-frontend 0x0000000105eb2a80 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 224 11 swift-frontend 0x0000000101113d58 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*, llvm::raw_pwrite_stream*) + 3764 12 swift-frontend 0x0000000101115994 swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) + 2352 13 swift-frontend 0x000000010111cc68 (anonymous namespace)::LLVMCodeGenThreads::Thread::run() + 156 14 swift-frontend 0x000000010111cbc0 (anonymous namespace)::LLVMCodeGenThreads::runThread(void*) + 12 15 libsystem_pthread.dylib 0x000000019984f2e4 _pthread_start + 136 16 libsystem_pthread.dylib 0x000000019984a0fc thread_start + 8 Command SwiftCompile failed with a nonzero exit code

Xcode16 报错怎么解决?