# \#help-needed

**URL:** https://forums.swift.org/tag/help-needed/163.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Help with calc app pls](https://forums.swift.org/t/help-with-calc-app-pls/87668)

<div class="topic-metadata">

**Author:** [@mub](https://forums.swift.org/u/mub)\
**Replies:** 8\
**Last updated:** [June 29, 2026, 6:07am UTC](https://forums.swift.org/t/help-with-calc-app-pls/87668 "2026-06-29T06:07:51Z")

</div>

can someone simpliy my calc app??? :weary\_face::weary\_face::weary\_face: import SwiftUI enum calculatorButton: String { \*\*case\*\* one, two, three, four, five, six, seven, eight, nine, zero, equal, plus, minus, multiply,…

---

## [Is there a pdf / mobi / pub of the TSPL 5.8 available?](https://forums.swift.org/t/is-there-a-pdf-mobi-pub-of-the-tspl-5-8-available/65044)

<div class="topic-metadata">

**Author:** [@Aparikk](https://forums.swift.org/u/Aparikk)\
**Replies:** 3\
**Last updated:** [April 13, 2026, 2:42pm UTC](https://forums.swift.org/t/is-there-a-pdf-mobi-pub-of-the-tspl-5-8-available/65044 "2026-04-13T14:42:08Z")

</div>

Hi, I'm used to searching things in the swift documentation on my iPad in the books' app, and don't like the workflow of the tspl site. Furthermore, the search seems weirdly weak – I wanted to look up what the "lazy" ke…

---

## [Discussion: Documenting CLI Flags – Same Page vs Separate Pages in DocC](https://forums.swift.org/t/discussion-documenting-cli-flags-same-page-vs-separate-pages-in-docc/85350)

<div class="topic-metadata">

**Author:** [@amanmrya](https://forums.swift.org/u/amanmrya)\
**Replies:** 4\
**Last updated:** [March 17, 2026, 7:01am UTC](https://forums.swift.org/t/discussion-documenting-cli-flags-same-page-vs-separate-pages-in-docc/85350 "2026-03-17T07:01:21Z")

</div>

Hello everyone, I was looking at ways to make CLI documentation better with Swift DocC. I found something that made me think. I want to hear what you think about it before I do anything else. Now commands usually show …

---

## [Best way to revive an old PR that needs major rework?](https://forums.swift.org/t/best-way-to-revive-an-old-pr-that-needs-major-rework/85051)

<div class="topic-metadata">

**Author:** [@amanmrya](https://forums.swift.org/u/amanmrya)\
**Replies:** 2\
**Last updated:** [February 28, 2026, 12:05am UTC](https://forums.swift.org/t/best-way-to-revive-an-old-pr-that-needs-major-rework/85051 "2026-02-28T00:05:35Z")

</div>

Hi everyone, I wanted to ask about the preferred way to move forward with a contribution that has been sitting unattended for a couple of months due to an initial wrong approach. I have an open PR where I received some…

---

## [Help needed: issue with Windows Developer toolchain](https://forums.swift.org/t/help-needed-issue-with-windows-developer-toolchain/84311)

<div class="topic-metadata">

**Author:** [@bkhouri](https://forums.swift.org/u/bkhouri)\
**Replies:** 7\
**Last updated:** [January 24, 2026, 6:45am UTC](https://forums.swift.org/t/help-needed-issue-with-windows-developer-toolchain/84311 "2026-01-24T06:45:05Z")

</div>

Hello, I created a developer toolchain with this SwiftPM PR as we are presenting Swift SBOM at FOSDEM on Saturday February 1. Using this Swiftlang/swift PR, we were able to get the Windows toolchain built here. I unin…

---

## [Windows setup failures](https://forums.swift.org/t/windows-setup-failures/83660)

<div class="topic-metadata">

**Author:** [@bkhouri](https://forums.swift.org/u/bkhouri)\
**Replies:** 1\
**Last updated:** [December 10, 2025, 7:37pm UTC](https://forums.swift.org/t/windows-setup-failures/83660 "2025-12-10T19:37:59Z")

</div>

Hello, I'm configured a Windows 11 VM running in Parallels Desktop in on macOS. When following the instructions on Swift.org, I encounter the following error PS C:\\Mac\\Home\\Documents\\git\\public\\swiftlang\\swift-build\> …

---

## [\[Amplify-Swift\] Support for Android - Help needed](https://forums.swift.org/t/amplify-swift-support-for-android-help-needed/83048)

<div class="topic-metadata">

**Author:** [@gregorio](https://forums.swift.org/u/gregorio)\
**Replies:** 0\
**Last updated:** [November 5, 2025, 6:36pm UTC](https://forums.swift.org/t/amplify-swift-support-for-android-help-needed/83048 "2025-11-05T18:36:45Z")

</div>

Hello, I’m working on having amplify-swift run natively on android. One of its dependencies aws-crt-swift has an open ticket that requires attention and the AWS team will prioritize based on the number of thumbs up. Pl…

---

## [How do you compile to Windows from Ubuntu Linux 22.04?](https://forums.swift.org/t/how-do-you-compile-to-windows-from-ubuntu-linux-22-04/80348)

<div class="topic-metadata">

**Author:** [@poweroff](https://forums.swift.org/u/poweroff)\
**Replies:** 6\
**Last updated:** [June 9, 2025, 2:29am UTC](https://forums.swift.org/t/how-do-you-compile-to-windows-from-ubuntu-linux-22-04/80348 "2025-06-09T02:29:05Z")

</div>

Hello, Swift Forums! :waving\_hand: Recently I've came across this lovely language, I love the syntax and I wanted to see if I could make a simple Hello World application for Windows, but compiled on Linux. Other program…

---

## [Forward-declared Swift types are not understood by subsequent dependent targets](https://forums.swift.org/t/forward-declared-swift-types-are-not-understood-by-subsequent-dependent-targets/54718)

<div class="topic-metadata">

**Author:** [@sky](https://forums.swift.org/u/sky)\
**Replies:** 2\
**Last updated:** [May 27, 2025, 12:14am UTC](https://forums.swift.org/t/forward-declared-swift-types-are-not-understood-by-subsequent-dependent-targets/54718 "2025-05-27T00:14:32Z")

</div>

Hi folks, I've got a question around Swift/Objective-C interoperability works across modules. I'm trying to refactor some code in a Swift Package target. The target (we'll call this one ATarget) is Objective-C, and I wa…

---

## [Running specific stdlib test?](https://forums.swift.org/t/running-specific-stdlib-test/78763)

<div class="topic-metadata">

**Author:** [@ZevEisenberg](https://forums.swift.org/u/ZevEisenberg)\
**Replies:** 10\
**Last updated:** [April 21, 2025, 3:36pm UTC](https://forums.swift.org/t/running-specific-stdlib-test/78763 "2025-04-21T15:36:35Z")

</div>

Updated version of this old thread: \<run a specific test file\> I'm playing with some changes to swift/stdlib/public/core/Codable.swift, and adding tests for the changes in swift/test/stdlib/CodableTests.swift. I've mana…

---

## [Edit stdlib and Foundation at the same time?](https://forums.swift.org/t/edit-stdlib-and-foundation-at-the-same-time/78832)

<div class="topic-metadata">

**Author:** [@ZevEisenberg](https://forums.swift.org/u/ZevEisenberg)\
**Replies:** 6\
**Last updated:** [March 26, 2025, 8:26pm UTC](https://forums.swift.org/t/edit-stdlib-and-foundation-at-the-same-time/78832 "2025-03-26T20:26:27Z")

</div>

I've got a bit of a chicken-and-egg problem that I was hoping someone here might be able to help with. I'm experimenting with some improvements to DecodingError, which lives in the stdlib. The tests for Codable also liv…

---

## [Build the swift standard library for embbeded targets](https://forums.swift.org/t/build-the-swift-standard-library-for-embbeded-targets/74533)

<div class="topic-metadata">

**Author:** [@theoparis](https://forums.swift.org/u/theoparis)\
**Replies:** 1\
**Last updated:** [March 30, 2025, 10:14pm UTC](https://forums.swift.org/t/build-the-swift-standard-library-for-embbeded-targets/74533 "2025-03-30T22:14:20Z")

</div>

How can I build the swift standard library for bare metal aarch64? I can compile projects with the aarch64-unknown-none-elf but I need some of the standard library in order for integer literals and unsafe mutable pointer…

---

## [Problem with list selection storage in SwiftData. Possible SwiftData relationship needed?](https://forums.swift.org/t/problem-with-list-selection-storage-in-swiftdata-possible-swiftdata-relationship-needed/77943)

<div class="topic-metadata">

**Author:** [@anders7](https://forums.swift.org/u/anders7)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 3:55pm UTC](https://forums.swift.org/t/problem-with-list-selection-storage-in-swiftdata-possible-swiftdata-relationship-needed/77943 "2025-02-18T15:55:31Z")

</div>

Hi everyone. I'm just a beginner to Swift and I have encountered a problem with an app that I am building. The app can save School Subjects. In addsubjectview there is an option to select which terms/semesters the subjec…

---

## [Sorting of Date objects in ForEach loop](https://forums.swift.org/t/sorting-of-date-objects-in-foreach-loop/77592)

<div class="topic-metadata">

**Author:** [@anders7](https://forums.swift.org/u/anders7)\
**Replies:** 6\
**Last updated:** [February 2, 2025, 9:03am UTC](https://forums.swift.org/t/sorting-of-date-objects-in-foreach-loop/77592 "2025-02-02T09:03:08Z")

</div>

Hi all, I am a complete newbie here. Probably an easy fix but I cannot get this to work: I am trying to sort an array of Time objects so that in the UI the subject that happens first appears first. Here is the code: im…

---

## [A pice of suggestion to the swift document](https://forums.swift.org/t/a-pice-of-suggestion-to-the-swift-document/77288)

<div class="topic-metadata">

**Author:** [@Mon\_cera](https://forums.swift.org/u/Mon_cera)\
**Replies:** 5\
**Last updated:** [January 19, 2025, 10:54pm UTC](https://forums.swift.org/t/a-pice-of-suggestion-to-the-swift-document/77288 "2025-01-19T22:54:21Z")

</div>

I'm reading Swift Document. It seemd to be so hard for a new learner to understand how Error Handling works: https://docs.swift.org/swift-book/documentation/the-swift-programming-language/thebasics/#Error-Handling The …

---

## [Building an Extension API using Wasm](https://forums.swift.org/t/building-an-extension-api-using-wasm/76543)

<div class="topic-metadata">

**Author:** [@austincondiff](https://forums.swift.org/u/austincondiff)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 11:07pm UTC](https://forums.swift.org/t/building-an-extension-api-using-wasm/76543 "2024-12-11T23:07:49Z")

</div>

@Max\_Desiatov I really enjoyed your talk on WebAssembly for Swift at SwiftLeeds! We’re starting work on an Extension API for CodeEdit, an open-source code editor built in Swift. Your insights have confirmed that Wasm co…

---

## [How to build the 5.7.1 toolchain in swift.org release-like archive layout on Ubuntu 20.04 or 22.04](https://forums.swift.org/t/how-to-build-the-5-7-1-toolchain-in-swift-org-release-like-archive-layout-on-ubuntu-20-04-or-22-04/61837)

<div class="topic-metadata">

**Author:** [@mz2](https://forums.swift.org/u/mz2)\
**Replies:** 9\
**Last updated:** [November 27, 2024, 6:10am UTC](https://forums.swift.org/t/how-to-build-the-5-7-1-toolchain-in-swift-org-release-like-archive-layout-on-ubuntu-20-04-or-22-04/61837 "2024-11-27T06:10:26Z")

</div>

Hi there! I'm stuck trying to build the most recent release version of the Swift toolchain on Linux into an archive with a similar layout as the releases available at https://swift.org . I am in need of doing this as pa…

---

## [Options.inc file not found when integrating Xcode with Ninja](https://forums.swift.org/t/options-inc-file-not-found-when-integrating-xcode-with-ninja/62253)

<div class="topic-metadata">

**Author:** [@benn](https://forums.swift.org/u/benn)\
**Replies:** 10\
**Last updated:** [October 4, 2024, 9:14pm UTC](https://forums.swift.org/t/options-inc-file-not-found-when-integrating-xcode-with-ninja/62253 "2024-10-04T21:14:05Z")

</div>

Hey everyone! I'm following the Getting Started Guide to get setup in Xcode. I've completed the Using Ninja with Xcode steps. When I run I get the following error: 'clang/Driver/Options.inc' file not found. I'm able to …

---

## [Integration of SwiftNIO w/ OpenTelemetry](https://forums.swift.org/t/integration-of-swiftnio-w-opentelemetry/74750)

<div class="topic-metadata">

**Author:** [@CrownedPhoenix](https://forums.swift.org/u/CrownedPhoenix)\
**Replies:** 4\
**Last updated:** [September 20, 2024, 4:46am UTC](https://forums.swift.org/t/integration-of-swiftnio-w-opentelemetry/74750 "2024-09-20T04:46:18Z")

</div>

I'm working on instrumenting some code with the Swift implementation OpenTelemetry. OTel-Swift works great with async/await - but it doesn't work great with NIO. Under the hood, OTel-Swift does some magic to figure out…

---

## [Swift Macros: need help generating mocks that conform to protocols declared in other targets](https://forums.swift.org/t/swift-macros-need-help-generating-mocks-that-conform-to-protocols-declared-in-other-targets/74159)

<div class="topic-metadata">

**Author:** [@abeldemoz](https://forums.swift.org/u/abeldemoz)\
**Replies:** 1\
**Last updated:** [August 25, 2024, 11:04pm UTC](https://forums.swift.org/t/swift-macros-need-help-generating-mocks-that-conform-to-protocols-declared-in-other-targets/74159 "2024-08-25T23:04:00Z")

</div>

I have protocols defined in 'interface' targets. I have separate targets for mocks. I want to use Swift Macros to generate mock classes that conform to protocols. It's imperative that the declarations of the mocks and pr…

---

## [Public Notes of different workgroup](https://forums.swift.org/t/public-notes-of-different-workgroup/73701)

<div class="topic-metadata">

**Author:** [@nayaneye](https://forums.swift.org/u/nayaneye)\
**Replies:** 15\
**Last updated:** [August 20, 2024, 12:05am UTC](https://forums.swift.org/t/public-notes-of-different-workgroup/73701 "2024-08-20T00:05:49Z")

</div>

Hi all, I am working on following issue.. Do we have "Public Notes" of different workgroup ? I found only following.. Can someone point me to Public Notes of following workgroups ? Contributor Experience Server W…

---

## [Help! "Value of type 'Session' has no member 'session'"](https://forums.swift.org/t/help-value-of-type-session-has-no-member-session/73658)

<div class="topic-metadata">

**Author:** [@lawrence](https://forums.swift.org/u/lawrence)\
**Replies:** 0\
**Last updated:** [August 2, 2024, 9:26pm UTC](https://forums.swift.org/t/help-value-of-type-session-has-no-member-session/73658 "2024-08-02T21:26:43Z")

</div>

Hello, I am new to Swift and am trying to build out my login/sign up page. I have successfully installed/initialized Supabase as my backend. My app was running great until I attempted to add the ability to keep the user …

---

## [Using #require to unwrap an optional fails to compile](https://forums.swift.org/t/using-require-to-unwrap-an-optional-fails-to-compile/73355)

<div class="topic-metadata">

**Author:** [@JacobHearst](https://forums.swift.org/u/JacobHearst)\
**Replies:** 5\
**Last updated:** [July 22, 2024, 3:02pm UTC](https://forums.swift.org/t/using-require-to-unwrap-an-optional-fails-to-compile/73355 "2024-07-22T15:02:18Z")

</div>

Hi all, I'm trying to to write some tests using the new swift-testing library and am running into an issue with using #require to unwrap optionals. Here's my test: import FluentKit import NIOEmbedded import Testing impo…

---

## [Use Swift framework code in C++ app - missing -Swift.h header](https://forums.swift.org/t/use-swift-framework-code-in-c-app-missing-swift-h-header/70914)

<div class="topic-metadata">

**Author:** [@wAuner](https://forums.swift.org/u/wAuner)\
**Replies:** 9\
**Last updated:** [July 22, 2024, 2:21pm UTC](https://forums.swift.org/t/use-swift-framework-code-in-c-app-missing-swift-h-header/70914 "2024-07-22T14:21:35Z")

</div>

macOS Sonoma 14.4 Xcode 15.3 Hi, I'm experimenting with C++/Swift interop and am following the official documentation, especially the section "Using Swift APIs of Imported Framework Target". I could call Swift code f…

---

## [Swift code not running vscode windows 10](https://forums.swift.org/t/swift-code-not-running-vscode-windows-10/72078)

<div class="topic-metadata">

**Author:** [@ensiv](https://forums.swift.org/u/ensiv)\
**Replies:** 10\
**Last updated:** [May 27, 2024, 3:21pm UTC](https://forums.swift.org/t/swift-code-not-running-vscode-windows-10/72078 "2024-05-27T15:21:49Z")

</div>

So I'm just getting started with swift and I've had a couple problems. I've downloaded everything according to the swift.org website, plus the visual studio stuff, I also tried getting the swift for windows software to …

---

## [Linker crashes when building tools](https://forums.swift.org/t/linker-crashes-when-building-tools/68332)

<div class="topic-metadata">

**Author:** [@Karl](https://forums.swift.org/u/Karl)\
**Replies:** 5\
**Last updated:** [May 19, 2024, 11:53pm UTC](https://forums.swift.org/t/linker-crashes-when-building-tools/68332 "2024-05-19T23:53:42Z")

</div>

I think the linker is crashing when attempting to build some of the compiler repository tools. I just rebased to the latest commit on main, so it's at 36a15ceaf4230e658a9453d2f14532bb99fd5dd4, and I ran update-checkout …

---

## [SwiftODB2 help?](https://forums.swift.org/t/swiftodb2-help/71571)

<div class="topic-metadata">

**Author:** [@Seemore101](https://forums.swift.org/u/Seemore101)\
**Replies:** 0\
**Last updated:** [May 2, 2024, 8:41am UTC](https://forums.swift.org/t/swiftodb2-help/71571 "2024-05-02T08:41:54Z")

</div>

Hey I need some help getting my OBD2 app to work. I'm using GitHub - kkonteh97/SwiftOBD2: The versatile OBD2 toolkit for Swift developers. Diagnose, explore, and build custom vehicle apps with ease. Includes an emulator …

---

## [How do I save values only while the terminal is open?](https://forums.swift.org/t/how-do-i-save-values-only-while-the-terminal-is-open/71150)

<div class="topic-metadata">

**Author:** [@Keisuke\_C](https://forums.swift.org/u/Keisuke_C)\
**Replies:** 9\
**Last updated:** [April 11, 2024, 8:18am UTC](https://forums.swift.org/t/how-do-i-save-values-only-while-the-terminal-is-open/71150 "2024-04-11T08:18:36Z")

</div>

We are currently creating a client tool for a social networking service. However, each subcommand requires the user ID and password to be entered, making the command lengthy. Is there any way to carry over the command l…

---

## [VisionKit detection madness (and comparing strings)](https://forums.swift.org/t/visionkit-detection-madness-and-comparing-strings/70645)

<div class="topic-metadata">

**Author:** [@MadeByDouglas](https://forums.swift.org/u/MadeByDouglas)\
**Replies:** 9\
**Last updated:** [March 25, 2024, 11:55am UTC](https://forums.swift.org/t/visionkit-detection-madness-and-comparing-strings/70645 "2024-03-25T11:55:13Z")

</div>

So I am using Vision framework to capture handwritten notes and convert them to text. Then I compare the text with other strings for various purposes. I am encountering strange behavior where sometimes the captured stri…

---

## [Code compiles but fails with non-Apple compiler](https://forums.swift.org/t/code-compiles-but-fails-with-non-apple-compiler/70484)

<div class="topic-metadata">

**Author:** [@RandomHashTags](https://forums.swift.org/u/RandomHashTags)\
**Replies:** 2\
**Last updated:** [March 7, 2024, 4:42am UTC](https://forums.swift.org/t/code-compiles-but-fails-with-non-apple-compiler/70484 "2024-03-07T04:42:37Z")

</div>

Some code in one of my projects has a significant performance regression and outright fails (compiles, no errors) when using clang 16.0.6 (arch linux & raspberry pi os), but works as expected when running on dev machine …

[Next page](https://forums.swift.org/tag/help-needed/163.md?match_all_tags=true&page=1&tags%5B%5D=help-needed)
