Post

Replies

Boosts

Views

Activity

Cannot archive after upgrading to Xcode 15. Command SwiftCompile failed with a nonzero exit code
After updating from Xcode 14.3 to 15, I can no longer archive my app. I get the following error: Command SwiftCompile failed with a nonzero exit code. Nothing has changed in the code between the update. I have tried with both 15.0 and 15.1 beta. This is the backtrace... Incorrect alignment of argument passed to called function! %185 = call i8832 @llvm.vector.reduce.or.v64i8832(<64 x i8832> %184), !dbg !2987 Incorrect alignment of argument passed to called function! %186 = call i8832 @llvm.vector.reduce.or.v32i8832(<32 x i8832> %180), !dbg !2987 Incorrect alignment of argument passed to called function! %188 = call i8832 @llvm.vector.reduce.or.v16i8832(<16 x i8832> %176), !dbg !2987 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 0x000000010628a038 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 swift-frontend 0x000000010a521688 llvm::sys::RunSignalHandlers() + 112 2 swift-frontend 0x000000010a5226f4 SignalHandler(int) + 352 3 libsystem_platform.dylib 0x000000018ec3da24 _sigtramp + 56 4 libsystem_pthread.dylib 0x000000018ec0ecc0 pthread_kill + 288 5 libsystem_c.dylib 0x000000018eb1ea50 abort + 180 6 swift-frontend 0x000000010a4cc480 (anonymous namespace)::RealFile::close() + 0 7 swift-frontend 0x000000010a42db1c llvm::report_fatal_error(llvm::Twine const&, bool) + 280 8 swift-frontend 0x00000001079d2c78 llvm::report_fatal_error(llvm::StringRef, bool) + 0 9 swift-frontend 0x00000001096a8d10 (anonymous namespace)::DAGCombiner::visitUINT_TO_FP(llvm::SDNode*) + 0 10 swift-frontend 0x000000010a1e6fb8 llvm::PassManager<llvm::Module, llvm::AnalysisManagerllvm::Module>::run(llvm::Module&, llvm::AnalysisManagerllvm::Module&) + 224 11 swift-frontend 0x00000001094a4e70 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*, llvm::raw_pwrite_stream*) + 5620 12 swift-frontend 0x00000001094ac56c swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex, llvm::GlobalVariable, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, swift::UnifiedStatsReporter*) + 2736 13 swift-frontend 0x00000001095345a4 (anonymous namespace)::LLVMCodeGenThreads::Thread::run() + 156 14 swift-frontend 0x000000010726d310 (anonymous namespace)::LLVMCodeGenThreads::runThread(void*) + 12 15 libsystem_pthread.dylib 0x000000018ec0f034 _pthread_start + 136 16 libsystem_pthread.dylib 0x000000018ec09e3c thread_start + 8 Command SwiftCompile failed with a nonzero exit code
2
0
811
Oct ’23