Hello,
I recently updated to Xcode 15.3 and my project stoped to archive for release purpose, when I archive to debug it's ok. Running the same project at Xcode 15.2 it's work properly.
I get this error message:
Attribute 'noalias' applied to incompatible type!
%12 = call noalias i64 @swift_allocObject(ptr %9, i64 %11, i64 7) #2, !dbg !2865
Invalid bitcast
%13 = bitcast i64 %12 to ptr, !dbg !2865
Attribute 'noalias' applied to incompatible type!
%12 = call noalias i64 @swift_allocObject(ptr %9, i64 %11, i64 7) #2, !dbg !2921
Invalid bitcast
%13 = bitcast i64 %12 to ptr, !dbg !2921
Please submit a bug report (Swift.org - Contributing) and include the crash backtrace.
Rename failed: /Users/eriknascimento/Library/Developer/Xcode/DerivedData/Unilabs-dhbeqtzhbfuceqgkcieafdwyjkla/Build/Intermediates.noindex/ArchiveIntermediates/Unilabs PROD/IntermediateBuildFilesPath/swift-custom-dump.build/Release-iphoneos/CustomDump.build/Objects-normal/arm64/CoreLocation-52d4e941.o.tmp -> /Users/eriknascimento/Library/Developer/Xcode/DerivedData/Unilabs-dhbeqtzhbfuceqgkcieafdwyjkla/Build/Intermediates.noindex/ArchiveIntermediates/Unilabs PROD/IntermediateBuildFilesPath/swift-custom-dump.build/Release-iphoneos/CustomDump.build/Objects-normal/arm64/CoreLocation.o: No such file or directory
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 0x000000010a45ff3c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
Rename failed: /Users/eriknascimento/Library/Developer/Xcode/DerivedData/Unilabs-dhbeqtzhbfuceqgkcieafdwyjkla/Build/Intermediates.noindex/ArchiveIntermediates/Unilabs PROD/IntermediateBuildFilesPath/swift-custom-dump.build/Release-iphoneos/CustomDump.build/Objects-normal/arm64/StoreKit-d36c823e.o.tmp -> /Users/eriknascimento/Library/Developer/Xcode/DerivedData/Unilabs-dhbeqtzhbfuceqgkcieafdwyjkla/Build/Intermediates.noindex/ArchiveIntermediates/Unilabs PROD/IntermediateBuildFilesPath/swift-custom-dump.build/Release-iphoneos/CustomDump.build/Objects-normal/arm64/StoreKit.o: No such file or directory
1 swift-frontend 0x000000010a45f0f8 llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x000000010a460544 SignalHandler(int) + 360
3 libsystem_platform.dylib 0x0000000185c01a24 _sigtramp + 56
4 libsystem_pthread.dylib 0x0000000185bd1cc0 pthread_kill + 288
5 libsystem_c.dylib 0x0000000185adda40 abort + 180
Rename failed: /Users/eriknascimento/Library/Developer/Xcode/DerivedData/Unilabs-dhbeqtzhbfuceqgkcieafdwyjkla/Build/Intermediates.noindex/ArchiveIntermediates/Unilabs PROD/IntermediateBuildFilesPath/swift-custom-dump.build/Release-iphoneos/CustomDump.build/Objects-normal/arm64/CoreMotion-f800f24b.o.tmp -> /Users/eriknascimento/Library/Developer/Xcode/DerivedData/Unilabs-dhbeqtzhbfuceqgkcieafdwyjkla/Build/Intermediates.noindex/ArchiveIntermediates/Unilabs PROD/IntermediateBuildFilesPath/swift-custom-dump.build/Release-iphoneos/CustomDump.build/Objects-normal/arm64/CoreMotion.o: No such file or directory
6 swift-frontend 0x0000000104d696d8 PrettyStackTraceFrontend::~PrettyStackTraceFrontend() + 0
7 swift-frontend 0x000000010a3a8a18 llvm::report_fatal_error(llvm::Twine const&, bool) + 280
8 swift-frontend 0x000000010a3a8900 llvm::report_fatal_error(llvm::Twine const&, bool) + 0
9 swift-frontend 0x000000010523c4b8 llvm::detail::PassModel<llvm::Module, llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManagerllvm::Module>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>) + 0
10 swift-frontend 0x000000010a15fce8 llvm::PassManager<llvm::Module, llvm::AnalysisManagerllvm::Module>::run(llvm::Module&, llvm::AnalysisManagerllvm::Module&) + 224
11 swift-frontend 0x000000010522f490 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*, llvm::raw_pwrite_stream*) + 3992
12 swift-frontend 0x0000000105230bec swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex, llvm::GlobalVariable, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) + 2364
13 swift-frontend 0x0000000105238e70 (anonymous namespace)::LLVMCodeGenThreads::run() + 156
14 swift-frontend 0x0000000105238dc8 (anonymous namespace)::LLVMCodeGenThreads::runThread(void*) + 12
15 libsystem_pthread.dylib 0x0000000185bd2034 _pthread_start + 136
16 libsystem_pthread.dylib 0x0000000185bcce3c thread_start + 8
Rename failed: /Users/eriknascimento/Library/Developer/Xcode/DerivedData/Unilabs-dhbeqtzhbfuceqgkcieafdwyjkla/Build/Intermediates.noindex/ArchiveIntermediates/Unilabs PROD/IntermediateBuildFilesPath/swift-custom-dump.build/Release-iphoneos/CustomDump.build/Objects-normal/arm64/Swift-15442403.o.tmp -> /Users/eriknascimento/Library/Developer/Xcode/DerivedData/Unilabs-dhbeqtzhbfuceqgkcieafdwyjkla/Build/Intermediates.noindex/ArchiveIntermediates/Unilabs PROD/IntermediateBuildFilesPath/swift-custom-dump.build/Release-iphoneos/CustomDump.build/Objects-normal/arm64/Swift.o: No such file or directory
Command SwiftCompile failed with a nonzero exit code