i have this behaviour in a completely erratic fashion. Even newly created AU FX plugins get me this error, without me changing anything at all.
it used to work, but now it doesnt. clearing caches and build folders doesnt change the error.
in general, the compilation experience has been extremely fragile, trying to code an AUv3 plugin. It's not inspiring a lot of confidence in the toolchain...
Post
Replies
Boosts
Views
Activity
This is the error log:
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/anz/Library/Developer/Xcode/DerivedData/testing_build-fdofkvyzbyrzwfcisfoadodybwrs/Build/Intermediates.noindex/ArchiveIntermediates/testing_build/IntermediateBuildFilesPath/testing_build.build/Release/testing_buildExtension.build/Objects-normal/arm64/Parameters-a6d3ca7d.o.tmp -> /Users/anz/Library/Developer/Xcode/DerivedData/testing_build-fdofkvyzbyrzwfcisfoadodybwrs/Build/Intermediates.noindex/ArchiveIntermediates/testing_build/IntermediateBuildFilesPath/testing_build.build/Release/testing_buildExtension.build/Objects-normal/arm64/Parameters.o: No such file or directory
Rename failed: /Users/anz/Library/Developer/Xcode/DerivedData/testing_build-fdofkvyzbyrzwfcisfoadodybwrs/Build/Intermediates.noindex/ArchiveIntermediates/testing_build/IntermediateBuildFilesPath/testing_build.build/Release/testing_buildExtension.build/Objects-normal/arm64/ObservableAUParameter-ee5a1ee7.o.tmp -> /Users/anz/Library/Developer/Xcode/DerivedData/testing_build-fdofkvyzbyrzwfcisfoadodybwrs/Build/Intermediates.noindex/ArchiveIntermediates/testing_build/IntermediateBuildFilesPath/testing_build.build/Release/testing_buildExtension.build/Objects-normal/arm64/ObservableAUParameter.o: No such file or directory
0 swift-frontend 0x0000000108276a9c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x0000000108274cf0 llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x0000000108277068 SignalHandler(int) + 292
3 libsystem_platform.dylib 0x000000018cd4ae04 _sigtramp + 56
4 libsystem_pthread.dylib 0x000000018cd13f70 pthread_kill + 288
5 libsystem_c.dylib 0x000000018cc20908 abort + 128
6 libsystem_malloc.dylib 0x000000018cb29ea0 malloc_vreport + 896
7 libsystem_malloc.dylib 0x000000018cb2da24 malloc_report + 64
8 libsystem_malloc.dylib 0x000000018cb4c184 find_zone_and_free + 528
9 swift-frontend 0x000000010785dccc HandleInlinedLandingPad(llvm::InvokeInst*, llvm::BasicBlock*, llvm::ClonedCodeInfo&) + 1016
10 swift-frontend 0x0000000107859f2c llvm::InlineFunction(llvm::CallBase&, llvm::InlineFunctionInfo&, bool, llvm::AAResults*, bool, llvm::Function*) + 26900
11 swift-frontend 0x00000001059684bc llvm::InlinerPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) + 4228
12 swift-frontend 0x00000001079a14c0 llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) + 348
13 swift-frontend 0x00000001079a2e34 llvm::DevirtSCCRepeatedPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) + 332
14 swift-frontend 0x00000001079a22c8 llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 2320
15 swift-frontend 0x0000000107fae420 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 224
16 swift-frontend 0x0000000105969fa8 llvm::ModuleInlinerWrapperPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 644
17 swift-frontend 0x0000000107fae420 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 224
18 swift-frontend 0x000000010320d040 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*, llvm::raw_pwrite_stream*) + 6200
19 swift-frontend 0x000000010320e2f8 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
20 swift-frontend 0x0000000103215520 (anonymous namespace)::LLVMCodeGenThreads::Thread::run() + 156
21 swift-frontend 0x0000000103215478 (anonymous namespace)::LLVMCodeGenThreads::runThread(void*) + 12
22 libsystem_pthread.dylib 0x000000018cd142e4 _pthread_start + 136
23 libsystem_pthread.dylib 0x000000018cd0f0fc thread_start + 8
Command SwiftCompile failed with a nonzero exit code
I have a similar problem. Just trying to develop an AUv3 extension. My own development worked well, but when i switched from Debug builds to Release or Archive, both fail with the same Swift Compiler Error, as mentioned above.
I then tried to just compile the default AUV3 effect project template with these settings in Release or Archive mode:
And it fails as well. Building only works in Debug mode. All builds had the Macbook as the target platform. No simulator or external device.
I am using the latest Xcode 16.2 on an M1 Macbook with Sequoia 15.2.
Same problems here. Ever since installing Sonoma, I have to unplug and replug my USB-C hub to start charging through it. It's a little bit annoying, I have to say.
What worked for me is described in this issue:
https://github.com/flutter/flutter/issues/123852
The gist of it is that you change a line in this file : ios/Pods/Targets Support Files/Pods-Runner/Pods-Runner-frameworks.sh
from
source="$(readlink "${source}")"
to
source="$(readlink -f "${source}")"
I hope the next flutter version will address this and this won't be necessary anymore. This fix is for Flutter 3.7.9