Post

Replies

Boosts

Views

Activity

Reply to [Needs Urgent Help!] Command SwiftCompile failed with a nonzero exit code
I also faced this issue since Xcode 14.3 Xcode 14.2 It works fine Swift Optimization with -Onone is working. But -O is not working. I also posted it https://github.com/apple/swift/issues/64859 /Users/yoshi/Library/Developer/Xcode/DerivedData/TT-galmzhtedumvzaewgvxgohgbvzou/Build/Intermediates.noindex/TT.build/App Store-iphonesimulator/TT.build/DerivedSources/GeneratedAssetSymbols.swift While evaluating request ExecuteSILPipelineRequest(Run pipelines { PrepareOptimizationPasses, EarlyModulePasses, HighLevel,Function+EarlyLoopOpt, HighLevel,Module+StackPromote, MidLevel,Function, ClosureSpecialize, LowLevel,Function, LateLoopOpt, SIL Debug Info Generator } on SIL for NinetyNine) While running pass #16730432 SILModuleTransform "DeadFunctionAndGlobalElimination". 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 0x00000001077af14c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 swift-frontend 0x000000010a32df2c llvm::sys::RunSignalHandlers() + 112 2 swift-frontend 0x000000010606f10c SignalHandler(int) + 352 3 libsystem_platform.dylib 0x000000018db61a24 _sigtramp + 56 4 swift-frontend 0x0000000108e4725c (anonymous namespace)::DeadFunctionAndGlobalEliminationPass::run() (.llvm.2696310751390425970) + 432 5 swift-frontend 0x0000000108e4725c (anonymous namespace)::DeadFunctionAndGlobalEliminationPass::run() (.llvm.2696310751390425970) + 432 6 swift-frontend 0x0000000109c8708c swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 16276 7 swift-frontend 0x0000000109e0af90 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 56 8 swift-frontend 0x0000000109cc07e4 llvm::Expectedswift::ExecuteSILPipelineRequest::OutputType swift::Evaluator::getResultUncachedswift::ExecuteSILPipelineRequest(swift::ExecuteSILPipelineRequest const&) + 476 9 swift-frontend 0x0000000109cdd074 swift::runSILOptimizationPasses(swift::SILModule&) + 472 10 swift-frontend 0x000000010578614c swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 572 11 swift-frontend 0x0000000109bc3328 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 956 12 swift-frontend 0x000000010a2e5e14 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 3020 13 swift-frontend 0x000000010a2e9474 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 4568 14 swift-frontend 0x0000000109c2f4e0 swift::mainEntry(int, char const**) + 4116 15 dyld 0x000000018d7b9058 start + 2224
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’23
Reply to [Needs Urgent Help!] Command SwiftCompile failed with a nonzero exit code
I also faced this issue since Xcode 14.3 Xcode 14.2 It works fine Swift Optimization with -Onone is working. But -O is not working. I also posted it https://github.com/apple/swift/issues/64859 /Users/yoshi/Library/Developer/Xcode/DerivedData/TT-galmzhtedumvzaewgvxgohgbvzou/Build/Intermediates.noindex/TT.build/App Store-iphonesimulator/TT.build/DerivedSources/GeneratedAssetSymbols.swift While evaluating request ExecuteSILPipelineRequest(Run pipelines { PrepareOptimizationPasses, EarlyModulePasses, HighLevel,Function+EarlyLoopOpt, HighLevel,Module+StackPromote, MidLevel,Function, ClosureSpecialize, LowLevel,Function, LateLoopOpt, SIL Debug Info Generator } on SIL for NinetyNine) While running pass #16730432 SILModuleTransform "DeadFunctionAndGlobalElimination". 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 0x00000001077af14c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56 1 swift-frontend 0x000000010a32df2c llvm::sys::RunSignalHandlers() + 112 2 swift-frontend 0x000000010606f10c SignalHandler(int) + 352 3 libsystem_platform.dylib 0x000000018db61a24 _sigtramp + 56 4 swift-frontend 0x0000000108e4725c (anonymous namespace)::DeadFunctionAndGlobalEliminationPass::run() (.llvm.2696310751390425970) + 432 5 swift-frontend 0x0000000108e4725c (anonymous namespace)::DeadFunctionAndGlobalEliminationPass::run() (.llvm.2696310751390425970) + 432 6 swift-frontend 0x0000000109c8708c swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 16276 7 swift-frontend 0x0000000109e0af90 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 56 8 swift-frontend 0x0000000109cc07e4 llvm::Expectedswift::ExecuteSILPipelineRequest::OutputType swift::Evaluator::getResultUncachedswift::ExecuteSILPipelineRequest(swift::ExecuteSILPipelineRequest const&) + 476 9 swift-frontend 0x0000000109cdd074 swift::runSILOptimizationPasses(swift::SILModule&) + 472 10 swift-frontend 0x000000010578614c swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 572 11 swift-frontend 0x0000000109bc3328 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 956 12 swift-frontend 0x000000010a2e5e14 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 3020 13 swift-frontend 0x000000010a2e9474 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 4568 14 swift-frontend 0x0000000109c2f4e0 swift::mainEntry(int, char const**) + 4116 15 dyld 0x000000018d7b9058 start + 2224
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Xcode 14.2, iOS 12.4 simulator not available
Have you solved this issue?
Replies
Boosts
Views
Activity
Jan ’23
Reply to Previews doesn't work in package target's subdirectory
Any update? Xcode 14.2, I still have this issue
Replies
Boosts
Views
Activity
Dec ’22
Reply to Increase Xcode cloud usage limit?
Do you resolve it?
Replies
Boosts
Views
Activity
May ’22
Reply to Cannot create Workflow
Xcode 13.3.1, I can't create a workflow
Replies
Boosts
Views
Activity
Apr ’22