Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Xcode15.3 archive failed #491

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Miles-Matheson
Copy link

fix Xcode15.3 archive failed

@CLAassistant
Copy link

CLAassistant commented Mar 8, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

@WXXXXH WXXXXH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

Fix the issue of Xcode 16 UI build failure
Fix the issue of Xcode 16 UI build failure
@shaojiankui
Copy link

shaojiankui commented Sep 23, 2024

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 var LLVM_SYMBOLIZER_PATH to 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
Copy link

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 var LLVM_SYMBOLIZER_PATH to 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 报错怎么解决?

@ZhouAaron
Copy link

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 var LLVM_SYMBOLIZER_PATH to 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 报错怎么解决?

老哥 你解决了吗

@shaojiankui
Copy link

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 var LLVM_SYMBOLIZER_PATH to 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 报错怎么解决?

老哥 你解决了吗

用的这个 pod 'HandyJSON', :git => 'https://github.com/Miles-Matheson/HandyJSON.git'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants