# Development

**URL:** https://forums.swift.org/c/development/16.md

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

---

## [About the Development category](https://forums.swift.org/t/about-the-development-category/7451)

<div class="topic-metadata">

**Author:** [@Nicole\_Jacque](https://forums.swift.org/u/Nicole_Jacque)\
**Replies:** 0

</div>

Topics related to development and implementation of Swift

---

## [CMake guidance - tweaking the process to build the docs for the standard library](https://forums.swift.org/t/cmake-guidance-tweaking-the-process-to-build-the-docs-for-the-standard-library/89845)

<div class="topic-metadata">

**Author:** [@Joseph\_Heck](https://forums.swift.org/u/Joseph_Heck)\
**Replies:** 4\
**Last updated:** [October 15, 2026, 11:08pm UTC](https://forums.swift.org/t/cmake-guidance-tweaking-the-process-to-build-the-docs-for-the-standard-library/89845 "2026-10-15T23:08:49Z")

</div>

I know a bit of CMake, but I'd really like some guidance or thoughts on a potential solution I'm trying to work out: This is all about the Swift build, and generating the documentation for the standard library (which ul…

---

## [\[Pitch\] Make protocol conformance resolution demand-driven](https://forums.swift.org/t/pitch-make-protocol-conformance-resolution-demand-driven/87792)

<div class="topic-metadata">

**Author:** [@AdamCmiel](https://forums.swift.org/u/AdamCmiel)\
**Replies:** 5\
**Last updated:** [October 15, 2026, 3:43am UTC](https://forums.swift.org/t/pitch-make-protocol-conformance-resolution-demand-driven/87792 "2026-10-15T03:43:01Z")

</div>

I'd welcome feedback on the incremental approach outlined below, particularly whether the Inherited-stage unification is the right first step, and whether anyone sees cycle risks I've missed, or if this has been tried al…

---

## [Swiftlang/github-workflows tagged - 0.0.16](https://forums.swift.org/t/swiftlang-github-workflows-tagged-0-0-16/90064)

<div class="topic-metadata">

**Author:** [@mishal\_shah](https://forums.swift.org/u/mishal_shah)\
**Replies:** 0\
**Last updated:** [October 14, 2026, 11:48pm UTC](https://forums.swift.org/t/swiftlang-github-workflows-tagged-0-0-16/90064 "2026-10-14T23:48:02Z")

</div>

New Tag 0.0.16 What's Changed sha-pin for dependencies-action by @madrob in sha-pin for dependencies-action by madrob · Pull Request #317 · swiftlang/github-workflows · GitHub Update all Swift package test defaults to …

---

## [Decoupling Swift Compiler and Runtime Testing](https://forums.swift.org/t/decoupling-swift-compiler-and-runtime-testing/90047)

<div class="topic-metadata">

**Author:** [@etcwilde](https://forums.swift.org/u/etcwilde)\
**Replies:** 4\
**Last updated:** [October 14, 2026, 5:32pm UTC](https://forums.swift.org/t/decoupling-swift-compiler-and-runtime-testing/90047 "2026-10-14T17:32:11Z")

</div>

Decoupling Swift Compiler and Runtime Testing The Swift compiler and runtime execution testing are tightly coupled to the internal layout of the compiler build directory. This prevents testing installed SDK layouts, comp…

---

## ["Object 0x710ae8019d90 of class \_MultiHandle deallocated with non-zero retain count 2" error when trying to install the Static Linux SDK](https://forums.swift.org/t/object-0x710ae8019d90-of-class-multihandle-deallocated-with-non-zero-retain-count-2-error-when-trying-to-install-the-static-linux-sdk/90057)

<div class="topic-metadata">

**Author:** [@Cyberbeni](https://forums.swift.org/u/Cyberbeni)\
**Replies:** 0\
**Last updated:** [October 14, 2026, 2:02pm UTC](https://forums.swift.org/t/object-0x710ae8019d90-of-class-multihandle-deallocated-with-non-zero-retain-count-2-error-when-trying-to-install-the-static-linux-sdk/90057 "2026-10-14T14:02:38Z")

</div>

Starting with 6.4.0, I am often getting this error when trying to install the Static Linux SDK. Thankfully I have a builder docker image, so it only has to succeed twice per Swift version. Here is the SafeSleepHub issue…

---

## [Compilation caching integration with toolchain-cas-plugin](https://forums.swift.org/t/compilation-caching-integration-with-toolchain-cas-plugin/89937)

<div class="topic-metadata">

**Author:** [@owenv](https://forums.swift.org/u/owenv)\
**Replies:** 4\
**Last updated:** [October 13, 2026, 4:49pm UTC](https://forums.swift.org/t/compilation-caching-integration-with-toolchain-cas-plugin/89937 "2026-10-13T16:49:31Z")

</div>

In order to better support distributed compilation caching with Swift open source toolchains, @akyrtzi , @cachemeifyoucan and I have requested a new swiftlang repository, swiftlang/toolchain-cas-plugin. This repository w…

---

## [Missing LocalizedStringResource](https://forums.swift.org/t/missing-localizedstringresource/80897)

<div class="topic-metadata">

**Author:** [@marcprux](https://forums.swift.org/u/marcprux)\
**Replies:** 4\
**Last updated:** [October 13, 2026, 3:57pm UTC](https://forums.swift.org/t/missing-localizedstringresource/80897 "2026-10-13T15:57:27Z")

</div>

LocalizedStringResource is included on Darwin platforms, but seems to be missing from swift-foundation (and swift-corelibs-foundation). This would be a useful API for us. Is there any principled reason for its absence?

---

## [Calendar nextDate/enumerateDates provides wrong dates](https://forums.swift.org/t/calendar-nextdate-enumeratedates-provides-wrong-dates/68943)

<div class="topic-metadata">

**Author:** [@alpennec](https://forums.swift.org/u/alpennec)\
**Replies:** 10\
**Last updated:** [October 13, 2026, 1:35pm UTC](https://forums.swift.org/t/calendar-nextdate-enumeratedates-provides-wrong-dates/68943 "2026-10-13T13:35:30Z")

</div>

I’m trying to get previous dates that matches specific months in the year. It mainly works but for an unknown reason, it does not work as expected for the 9nth month in the Gregorian calendar (which is September). When t…

---

## [Policy on hiding implementation details from Swift module interface](https://forums.swift.org/t/policy-on-hiding-implementation-details-from-swift-module-interface/89984)

<div class="topic-metadata">

**Author:** [@NuriAmari](https://forums.swift.org/u/NuriAmari)\
**Replies:** 11\
**Last updated:** [October 12, 2026, 9:35pm UTC](https://forums.swift.org/t/policy-on-hiding-implementation-details-from-swift-module-interface/89984 "2026-10-12T21:35:35Z")

</div>

Hi all. I continue to work on bringing about this vision for a stable @\_implementationOnly via abstract type layouts, but I've reached a point where I'd like to discuss the direction. Specifically, I want to discuss ho…

---

## [\[Networking Workgroup\] Public meeting — Monday, October 12, 2026 — Agenda and call for topics](https://forums.swift.org/t/networking-workgroup-public-meeting-monday-october-12-2026-agenda-and-call-for-topics/89811)

<div class="topic-metadata">

**Author:** [@ekinnear](https://forums.swift.org/u/ekinnear)\
**Replies:** 3\
**Last updated:** [October 12, 2026, 12:32am UTC](https://forums.swift.org/t/networking-workgroup-public-meeting-monday-october-12-2026-agenda-and-call-for-topics/89811 "2026-10-12T00:32:09Z")

</div>

The Networking Workgroup meets again on Monday, October 12, 2026, and everyone is welcome. Logistics When: Monday, October 12, 2026, 8:30–9:30 AM PDT (see this time in your local timezone) Where: WebEx Draft agenda W…

---

## [Requirements for IP address and port APIs](https://forums.swift.org/t/requirements-for-ip-address-and-port-apis/88514)

<div class="topic-metadata">

**Author:** [@tfpauly](https://forums.swift.org/u/tfpauly)\
**Replies:** 37\
**Last updated:** [October 10, 2026, 9:50pm UTC](https://forums.swift.org/t/requirements-for-ip-address-and-port-apis/88514 "2026-10-10T21:50:11Z")

</div>

Hello! One of the first tasks the Networking Workgroup is taking on is defining standard Swift APIs for networking currency types, specifically around IP addresses and ports. IP addresses and ports are foundational to m…

---

## [Indexing binary Swift frameworks for IDE navigation](https://forums.swift.org/t/indexing-binary-swift-frameworks-for-ide-navigation/89761)

<div class="topic-metadata">

**Author:** [@gildor](https://forums.swift.org/u/gildor)\
**Replies:** 3\
**Last updated:** [October 10, 2026, 4:11pm UTC](https://forums.swift.org/t/indexing-binary-swift-frameworks-for-ide-navigation/89761 "2026-10-10T16:11:33Z")

</div>

Binary Swift frameworks (xcframeworks shipping a .swiftinterface) are invisible to index-based navigation: Xcode's Open Quickly and Find \> Definitions can't find their types, and sourcekit-lsp works around the same gap f…

---

## [Scope restrictions](https://forums.swift.org/t/scope-restrictions/89944)

<div class="topic-metadata">

**Author:** [@John\_McCall](https://forums.swift.org/u/John_McCall)\
**Replies:** 3\
**Last updated:** [October 9, 2026, 12:14pm UTC](https://forums.swift.org/t/scope-restrictions/89944 "2026-10-09T12:14:36Z")

</div>

Since we've kicked off the implementation effort for this effort, let me make a thread for organizing the implementation design. I want to start us off with a bunch of AST design points. This isn't exhaustive of the thin…

---

## [Async teardown logic in swift-testing](https://forums.swift.org/t/async-teardown-logic-in-swift-testing/76471)

<div class="topic-metadata">

**Author:** [@joshw](https://forums.swift.org/u/joshw)\
**Replies:** 6\
**Last updated:** [October 9, 2026, 5:28am UTC](https://forums.swift.org/t/async-teardown-logic-in-swift-testing/76471 "2026-10-09T05:28:22Z")

</div>

Using XCTest I can have a func tearDown() async throws however with swift-testing, we are forced to do teardown logic in the deinit, which supports neither throwing nor async code. What's the best way to run some common…

---

## [Expanding the power of build tool plugins to build something fun](https://forums.swift.org/t/expanding-the-power-of-build-tool-plugins-to-build-something-fun/89819)

<div class="topic-metadata">

**Author:** [@dschaefer2](https://forums.swift.org/u/dschaefer2)\
**Replies:** 9\
**Last updated:** [October 8, 2026, 4:52pm UTC](https://forums.swift.org/t/expanding-the-power-of-build-tool-plugins-to-build-something-fun/89819 "2026-10-08T16:52:55Z")

</div>

As a tools developer, it's critical I try to empathize with developers who use the tools I help create. I am probably most intrigued by game developers. My favourite influencers are game developers. They solve some of th…

---

## [Casts of collections of function types](https://forums.swift.org/t/casts-of-collections-of-function-types/89257)

<div class="topic-metadata">

**Author:** [@Nickolas\_Pohilets](https://forums.swift.org/u/Nickolas_Pohilets)\
**Replies:** 21\
**Last updated:** [October 8, 2026, 2:54pm UTC](https://forums.swift.org/t/casts-of-collections-of-function-types/89257 "2026-10-08T14:54:06Z")

</div>

TL;DR Casting collections of function types crashes at runtime. I've been working on a fix for ~10 months across three PRs: First PR was approved and merged, but it didn't handle some use cases and was reverted. Second…

---

## [\[Pitch\] Additional APIs for \`Decimal\`](https://forums.swift.org/t/pitch-additional-apis-for-decimal/89915)

<div class="topic-metadata">

**Author:** [@xwu](https://forums.swift.org/u/xwu)\
**Replies:** 11\
**Last updated:** [October 8, 2026, 1:12pm UTC](https://forums.swift.org/t/pitch-additional-apis-for-decimal/89915 "2026-10-08T13:12:33Z")

</div>

As @tinaliu asked, why don't we introduce proper Swift rounding APIs to Decimal in tandem with revising the behavior of its existing API? I think it's a such a great idea that it deserves its own, separate pitch. Here is…

---

## [Static linking issue using Swift 6.4.0 on Linux](https://forums.swift.org/t/static-linking-issue-using-swift-6-4-0-on-linux/89913)

<div class="topic-metadata">

**Author:** [@tiborbodecs](https://forums.swift.org/u/tiborbodecs)\
**Replies:** 2\
**Last updated:** [October 6, 2026, 3:26pm UTC](https://forums.swift.org/t/static-linking-issue-using-swift-6-4-0-on-linux/89913 "2026-10-06T15:26:34Z")

</div>

Hi everyone, I’m seeing a static-linking failure on Linux when building soto-codegenerator 7.10.0 with Swift 6.4: swift build -c release --static-swift-stdlib --manifest-cache local The linker reports undefined refere…

---

## [One extension on another module's type makes every user of that type recompile on any declaration change in your module (incremental imports)](https://forums.swift.org/t/one-extension-on-another-modules-type-makes-every-user-of-that-type-recompile-on-any-declaration-change-in-your-module-incremental-imports/89909)

<div class="topic-metadata">

**Author:** [@kimdugong](https://forums.swift.org/u/kimdugong)\
**Replies:** 0\
**Last updated:** [October 6, 2026, 12:16am UTC](https://forums.swift.org/t/one-extension-on-another-modules-type-makes-every-user-of-that-type-recompile-on-any-declaration-change-in-your-module-incremental-imports/89909 "2026-10-06T00:16:22Z")

</div>

We split a feature out of a ~1,200-file iOS app target into a local SwiftPM package expecting the usual payoff: edits inside the package shouldn't recompile the app. Body edits did behave (0 app files). But adding any de…

---

## [Swift-Syntax Prebuilts for use in iOS apps at run-time?](https://forums.swift.org/t/swift-syntax-prebuilts-for-use-in-ios-apps-at-run-time/89600)

<div class="topic-metadata">

**Author:** [@ZevEisenberg](https://forums.swift.org/u/ZevEisenberg)\
**Replies:** 13\
**Last updated:** [October 5, 2026, 1:41pm UTC](https://forums.swift.org/t/swift-syntax-prebuilts-for-use-in-ios-apps-at-run-time/89600 "2026-10-05T13:41:27Z")

</div>

It seems, per \[Preview\] Swift-Syntax Prebuilts for Macros , that Swift-Syntax Prebuilts are expressly intended to allow uses for macros. If an iOS library depends on Swift-Syntax for doing things at run-time, then it see…

---

## [Indirect enums vs classes](https://forums.swift.org/t/indirect-enums-vs-classes/89884)

<div class="topic-metadata">

**Author:** [@LeoAvMo](https://forums.swift.org/u/LeoAvMo)\
**Replies:** 6\
**Last updated:** [October 5, 2026, 12:26pm UTC](https://forums.swift.org/t/indirect-enums-vs-classes/89884 "2026-10-05T12:26:12Z")

</div>

Hi! I'm new to the here and I'm currently doing a project in Swift for my compilers course. I was doing an implementation of a stack and a queue, since I had already done it in C++ in my third semester of uni. After cha…

---

## [Slow incremental builds because of planning swift module](https://forums.swift.org/t/slow-incremental-builds-because-of-planning-swift-module/84803)

<div class="topic-metadata">

**Author:** [@JoeSzymanskiNoom](https://forums.swift.org/u/JoeSzymanskiNoom)\
**Replies:** 16\
**Last updated:** [October 5, 2026, 8:29am UTC](https://forums.swift.org/t/slow-incremental-builds-because-of-planning-swift-module/84803 "2026-10-05T08:29:35Z")

</div>

We have been running into a recurring issue causing our builds in Xcode to take significantly longer than expected. Sometimes when generating incremental builds, even ones with zero actual changes, the build can suddenly…

---

## [Interested in contributing to Swift Testing](https://forums.swift.org/t/interested-in-contributing-to-swift-testing/89417)

<div class="topic-metadata">

**Author:** [@Aaravanand00](https://forums.swift.org/u/Aaravanand00)\
**Replies:** 9\
**Last updated:** [October 2, 2026, 5:22am UTC](https://forums.swift.org/t/interested-in-contributing-to-swift-testing/89417 "2026-10-02T05:22:17Z")

</div>

Hi everyone I'm Aarav, an LFX mentee (OpenSSF / gittuf) with an interest in software testing. I'm exploring the swift-testing repository and would love to get involved. Since I am new to the codebase, I'd appreciate an…

---

## [Generate SBOM for package dependencies of Xcode project?](https://forums.swift.org/t/generate-sbom-for-package-dependencies-of-xcode-project/89717)

<div class="topic-metadata">

**Author:** [@jzi](https://forums.swift.org/u/jzi)\
**Replies:** 5\
**Last updated:** [October 1, 2026, 10:01am UTC](https://forums.swift.org/t/generate-sbom-for-package-dependencies-of-xcode-project/89717 "2026-10-01T10:01:48Z")

</div>

Is there a way to repurpose the Software Bill of Materials (SBOM) Generation for Swift Package Manager that shipped with Swift 6.4 in Xcode 27 to generate an SBOM for the package dependencies of an Xcode project?

---

## [BuildToolPlugin 'Multiple commands produce ...' error when embedding wachOS app in iOS app target](https://forums.swift.org/t/buildtoolplugin-multiple-commands-produce-error-when-embedding-wachos-app-in-ios-app-target/71437)

<div class="topic-metadata">

**Author:** [@liamnichols](https://forums.swift.org/u/liamnichols)\
**Replies:** 5\
**Last updated:** [September 30, 2026, 1:37pm UTC](https://forums.swift.org/t/buildtoolplugin-multiple-commands-produce-error-when-embedding-wachos-app-in-ios-app-target/71437 "2026-09-30T13:37:15Z")

</div>

I'm an author of a tool called xcstrings-tool that offers a BuildToolPlugin to generate Swift source code for accessing localized strings that are declared in an Xcode Strings Catalog. While BuildTool Plugins have some …

---

## [Does swiftly provide pre-built swift-syntax modules?](https://forums.swift.org/t/does-swiftly-provide-pre-built-swift-syntax-modules/89829)

<div class="topic-metadata">

**Author:** [@psummerland](https://forums.swift.org/u/psummerland)\
**Replies:** 0\
**Last updated:** [September 30, 2026, 10:37am UTC](https://forums.swift.org/t/does-swiftly-provide-pre-built-swift-syntax-modules/89829 "2026-09-30T10:37:17Z")

</div>

This might be better posted as a swiftly issue, but it is mainly of interest to people that use macros. It appears that pre-built swift-syntax is only available only for the xcode tool chain. \[I\] Opaque\> swiftly use x…

---

## [Building Linux toolchain with --bootstrapping=bootstrapping option](https://forums.swift.org/t/building-linux-toolchain-with-bootstrapping-bootstrapping-option/89815)

<div class="topic-metadata">

**Author:** [@kifio](https://forums.swift.org/u/kifio)\
**Replies:** 4\
**Last updated:** [September 30, 2026, 8:02am UTC](https://forums.swift.org/t/building-linux-toolchain-with-bootstrapping-bootstrapping-option/89815 "2026-09-30T08:02:01Z")

</div>

Hi, everyone. I'm new here. Sorry, if it's duplicate, but all the related topics I found looks a bit outdated (they are from 2020 or 2023 years). I want to build Swift release toolchain on clear Ubuntu without preinstal…

---

## [RFC: Fully enabling --enable-experimental-code-block-annotations](https://forums.swift.org/t/rfc-fully-enabling-enable-experimental-code-block-annotations/89348)

<div class="topic-metadata">

**Author:** [@Joseph\_Heck](https://forums.swift.org/u/Joseph_Heck)\
**Replies:** 2\
**Last updated:** [September 30, 2026, 12:17am UTC](https://forums.swift.org/t/rfc-fully-enabling-enable-experimental-code-block-annotations/89348 "2026-09-30T00:17:43Z")

</div>

I'm not sure how many folks have had much of chance to use --enable-experimental-code-block-annotations to add in the copy-to-clipboard or the extended highlighting capability for code blocks. Since it's a Swift 6.3 feat…

---

## [Updating llvm-project branch for swift:main (stable/23.x)](https://forums.swift.org/t/updating-llvm-project-branch-for-swift-main-stable-23-x/88326)

<div class="topic-metadata">

**Author:** [@mishal\_shah](https://forums.swift.org/u/mishal_shah)\
**Replies:** 8\
**Last updated:** [September 29, 2026, 8:44pm UTC](https://forums.swift.org/t/updating-llvm-project-branch-for-swift-main-stable-23-x/88326 "2026-09-29T20:44:23Z")

</div>

We will be performing an update to the swift:main branch to support llvm-project:stable/23.x. CI Dashboard: Swift rebranch For those supporting other platforms if you would like to test against the llvm-project:stable/…

[Next page](https://forums.swift.org/c/development/16.md?page=1)
