You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SwiftCodeGeneration normal arm64 (in target 'CocoaDebug' from project 'Pods')
LLVM ERROR: out of memory
Allocation failed
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/uxiu/Library/Developer/Xcode/DerivedData/SchoolForRemain-bpsiekjhexaxpyakkzckbgwikkfw/Build/Intermediates.noindex/ArchiveIntermediates/SchoolForRemain/IntermediateBuildFilesPath/Pods.build/Distribution-iphoneos/CocoaDebug.build/Objects-normal/arm64/NetworkDetailViewController.bc -embed-bitcode -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -O -disable-llvm-optzns -module-name CocoaDebug -o /Users/uxiu/Library/Developer/Xcode/DerivedData/SchoolForRemain-bpsiekjhexaxpyakkzckbgwikkfw/Build/Intermediates.noindex/ArchiveIntermediates/SchoolForRemain/IntermediateBuildFilesPath/Pods.build/Distribution-iphoneos/CocoaDebug.build/Objects-normal/arm64/NetworkDetailViewController.o
Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
Compiling with the current language version
Running pass 'Function Pass Manager' on module '/Users/uxiu/Library/Developer/Xcode/DerivedData/SchoolForRemain-bpsiekjhexaxpyakkzckbgwikkfw/Build/Intermediates.noindex/ArchiveIntermediates/SchoolForRemain/IntermediateBuildFilesPath/Pods.build/Distribution-iphoneos/CocoaDebug.build/Objects-normal/arm64/NetworkDetailViewController.bc'.
I was having this same issue and I just fixed it. My issue was in the Pods > Mixpanel Swift file. I selected Pods > Project Maixpanel-swift > Build Settings > scrolled down to Swift Compiler - Code Generation and made sure these settings were in place... Compilation Mode
SwiftCodeGeneration normal arm64 (in target 'CocoaDebug' from project 'Pods')
LLVM ERROR: out of memory
Allocation failed
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0. Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/uxiu/Library/Developer/Xcode/DerivedData/SchoolForRemain-bpsiekjhexaxpyakkzckbgwikkfw/Build/Intermediates.noindex/ArchiveIntermediates/SchoolForRemain/IntermediateBuildFilesPath/Pods.build/Distribution-iphoneos/CocoaDebug.build/Objects-normal/arm64/NetworkDetailViewController.bc -embed-bitcode -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -O -disable-llvm-optzns -module-name CocoaDebug -o /Users/uxiu/Library/Developer/Xcode/DerivedData/SchoolForRemain-bpsiekjhexaxpyakkzckbgwikkfw/Build/Intermediates.noindex/ArchiveIntermediates/SchoolForRemain/IntermediateBuildFilesPath/Pods.build/Distribution-iphoneos/CocoaDebug.build/Objects-normal/arm64/NetworkDetailViewController.o
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 0x0000000109b2ede7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
1 swift-frontend 0x0000000109b2de38 llvm::sys::RunSignalHandlers() + 248
2 swift-frontend 0x0000000109b2f440 SignalHandler(int) + 288
3 libsystem_platform.dylib 0x00007ff8167d7dfd _sigtramp + 29
4 libsystem_malloc.dylib 0x00007ff8165f5abb _malloc_zone_malloc + 125
5 libsystem_c.dylib 0x00007ff81670dd24 abort + 123
6 swift-frontend 0x0000000109a7bcda llvm::report_bad_alloc_error(char const*, bool) + 106
7 swift-frontend 0x0000000109a7bcf2 out_of_memory_new_handler() + 18
8 libc++abi.dylib 0x00007ff81677f96b operator new(unsigned long) + 43
9 swift-frontend 0x000000010983cefd llvm::Function::BuildLazyArguments() const + 77
10 swift-frontend 0x0000000107625e87 llvm::objcarc::BundledRetainClaimRVs::insertRVCallWithColors(llvm::Instruction*, llvm::CallBase*, llvm::DenseMap<llvm::BasicBlock*, llvm::TinyPtrVectorllvm::BasicBlock*, llvm::DenseMapInfollvm::BasicBlock*, llvm::detail::DenseMapPair<llvm::BasicBlock*, llvm::TinyPtrVectorllvm::BasicBlock* > > const&) + 151
11 swift-frontend 0x0000000107638f88 (anonymous namespace)::ObjCARCContract::run(llvm::Function&, llvm::AAResults*, llvm::DominatorTree*) + 1384
12 swift-frontend 0x0000000109874380 llvm::FPPassManager::runOnFunction(llvm::Function&) + 1488
13 swift-frontend 0x000000010987b073 llvm::FPPassManager::runOnModule(llvm::Module&) + 67
14 swift-frontend 0x0000000109874b39 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1161
15 swift-frontend 0x0000000104d926df swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*) + 3791
16 swift-frontend 0x0000000104d938cc swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex, llvm::GlobalVariable, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, swift::UnifiedStatsReporter*) + 2812
17 swift-frontend 0x0000000104d9caa5 swift::performLLVM(swift::IRGenOptions const&, swift::ASTContext&, llvm::Module*, llvm::StringRef) + 213
18 swift-frontend 0x0000000104857795 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 16565
19 swift-frontend 0x00000001048165d4 swift::mainEntry(int, char const**) + 1108
20 dyld 0x000000011491851e start + 462
error: Abort trap: 6 (in target 'CocoaDebug' from project 'Pods')
The text was updated successfully, but these errors were encountered: