# \#question

**URL:** https://forums.swift.org/tag/question/203.md

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

---

## [Behaviour of @\_alwaysEmitIntoClient changed in swift 6.4?](https://forums.swift.org/t/behaviour-of-alwaysemitintoclient-changed-in-swift-6-4/87649)

<div class="topic-metadata">

**Author:** [@Serika\_PHB](https://forums.swift.org/u/Serika_PHB)\
**Replies:** 17\
**Last updated:** [June 24, 2026, 8:08pm UTC](https://forums.swift.org/t/behaviour-of-alwaysemitintoclient-changed-in-swift-6-4/87649 "2026-06-24T20:08:13Z")

</div>

The following codes works in swift 6.3 public struct A { @\_alwaysEmitIntoClient public internal(set) var a: Int @inlinable public mutating func update() { a = 1 } } but gives warning…

---

## [How is the 'StripDebugInfo' pass used today?](https://forums.swift.org/t/how-is-the-stripdebuginfo-pass-used-today/82733)

<div class="topic-metadata">

**Author:** [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Replies:** 2\
**Last updated:** [October 21, 2025, 1:35pm UTC](https://forums.swift.org/t/how-is-the-stripdebuginfo-pass-used-today/82733 "2025-10-21T13:35:52Z")

</div>

i noticed there is this 'StripDebugInfo' pass in the repo, but after a bit of searching, it's not clear to me if it's actually used by anything. i found these references to it via GitHub search, including this utility sc…

---

## [Current availability of the 'Runtime' module](https://forums.swift.org/t/current-availability-of-the-runtime-module/82726)

<div class="topic-metadata">

**Author:** [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Replies:** 2\
**Last updated:** [October 17, 2025, 10:04am UTC](https://forums.swift.org/t/current-availability-of-the-runtime-module/82726 "2025-10-17T10:04:47Z")

</div>

SE-419 introduced the 'Runtime' module, which has some nice-looking utilities for reading the loaded image info for a process. i tried to use it recently and couldn't quite figure out when & where it is/is not available.…

---

## [Link to a symbol in parent class](https://forums.swift.org/t/link-to-a-symbol-in-parent-class/78856)

<div class="topic-metadata">

**Author:** [@yo1995](https://forums.swift.org/u/yo1995)\
**Replies:** 1\
**Last updated:** [March 29, 2025, 3:51am UTC](https://forums.swift.org/t/link-to-a-symbol-in-parent-class/78856 "2025-03-29T03:51:54Z")

</div>

Have a question regarding how DocC behaves in class inheritance. In the example I have some dummy classes: Geometry, Feature, and SubFeature. SubFeature inherits from Feature. I want to reference SubFeature.geometry pro…

---

## [Whither JSONDecoder tests?](https://forums.swift.org/t/whither-jsondecoder-tests/78757)

<div class="topic-metadata">

**Author:** [@ZevEisenberg](https://forums.swift.org/u/ZevEisenberg)\
**Replies:** 2\
**Last updated:** [March 24, 2025, 5:57pm UTC](https://forums.swift.org/t/whither-jsondecoder-tests/78757 "2025-03-24T17:57:21Z")

</div>

I'm looking into the possibility of improving the debug output of DecodingError, especially when used with JSONDecoder, as prompted by this post. I was wondering if there are existing tests for JSONDecoder? I found JSON…

---

## [Get a list of system libraries from the dependency graph](https://forums.swift.org/t/get-a-list-of-system-libraries-from-the-dependency-graph/77138)

<div class="topic-metadata">

**Author:** [@zamderax](https://forums.swift.org/u/zamderax)\
**Replies:** 9\
**Last updated:** [February 18, 2025, 2:18am UTC](https://forums.swift.org/t/get-a-list-of-system-libraries-from-the-dependency-graph/77138 "2025-02-18T02:18:16Z")

</div>

Hi Swift Community, I'm working on a program or script that can analyze a Swift Package Manager (SPM) dependency graph and return all the system libraries declared in .systemLibrary targets across the entire graph. For…

---

## [PythonKit not finding Python 3 library](https://forums.swift.org/t/pythonkit-not-finding-python-3-library/45381)

<div class="topic-metadata">

**Author:** [@carltongibson](https://forums.swift.org/u/carltongibson)\
**Replies:** 12\
**Last updated:** [January 31, 2025, 7:17am UTC](https://forums.swift.org/t/pythonkit-not-finding-python-3-library/45381 "2025-01-31T07:17:35Z")

</div>

Hi. :waving\_hand: I'm experimenting with @pvieito's great looking PythonKit. I'm having a weird dlopen/search path issue. I'm wondering if anyone can advise? Problem Following the project README I have a very simple h…

---

## [SwiftPM making \`@\_exported import\` visible to objc clients](https://forums.swift.org/t/swiftpm-making-exported-import-visible-to-objc-clients/77423)

<div class="topic-metadata">

**Author:** [@maco](https://forums.swift.org/u/maco)\
**Replies:** 0\
**Last updated:** [January 24, 2025, 1:27pm UTC](https://forums.swift.org/t/swiftpm-making-exported-import-visible-to-objc-clients/77423 "2025-01-24T13:27:33Z")

</div>

Hello SwiftPM community :wave: I have a specific use case which I want to achieve, but I lack the linking knowledge to figure this out on my own. I have a framework A, which relies on framework B under the hood. Importa…

---

## [Region-based isolation, sending return value & actor isolation – what is the expected behavior?](https://forums.swift.org/t/region-based-isolation-sending-return-value-actor-isolation-what-is-the-expected-behavior/75455)

<div class="topic-metadata">

**Author:** [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Replies:** 2\
**Last updated:** [December 12, 2024, 3:57am UTC](https://forums.swift.org/t/region-based-isolation-sending-return-value-actor-isolation-what-is-the-expected-behavior/75455 "2024-12-12T03:57:24Z")

</div>

consider the following code that is adapted from some of the examples in SE-414 (region based isolation) and SE-430 (sending parameters & results): class NS {} // non-sendable type actor A { func makeValue() -\> sendi…

---

## [Symbol Graphs of extended types are missing from generated .doccarchive](https://forums.swift.org/t/symbol-graphs-of-extended-types-are-missing-from-generated-doccarchive/75650)

<div class="topic-metadata">

**Author:** [@alexanderwe](https://forums.swift.org/u/alexanderwe)\
**Replies:** 7\
**Last updated:** [November 1, 2024, 3:30pm UTC](https://forums.swift.org/t/symbol-graphs-of-extended-types-are-missing-from-generated-doccarchive/75650 "2024-11-01T15:30:23Z")

</div>

Hey, I am currently struggling to find out why symbol graphs of extended types are not being picked up by docc when converting a .docc file. My setup is not a standard setup, therefore let me explain it a little bit. M…

---

## [New contributor feedback & development workflow advice](https://forums.swift.org/t/new-contributor-feedback-development-workflow-advice/74992)

<div class="topic-metadata">

**Author:** [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Replies:** 3\
**Last updated:** [October 4, 2024, 2:37pm UTC](https://forums.swift.org/t/new-contributor-feedback-development-workflow-advice/74992 "2024-10-04T14:37:08Z")

</div>

hello all – i relatively recently have been trying to become more comfortable navigating the compiler and stdlib, so that i can contribute to them in various ways. i feel i've made decent progress in this endeavor, but t…

---

## [Adding flags to a PointerIntPair that has run out of space?](https://forums.swift.org/t/adding-flags-to-a-pointerintpair-that-has-run-out-of-space/74995)

<div class="topic-metadata">

**Author:** [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Replies:** 1\
**Last updated:** [September 28, 2024, 4:29pm UTC](https://forums.swift.org/t/adding-flags-to-a-pointerintpair-that-has-run-out-of-space/74995 "2024-09-28T16:29:58Z")

</div>

i was experimenting with something that involved trying to add a new flag to the CapturedValue type. i was not previously familiar with 'PointerIntPair', but it seems that this type in particular stores its flags within …

---

## [What is the policy for including third-party licensed dependencies in Swift repositories?](https://forums.swift.org/t/what-is-the-policy-for-including-third-party-licensed-dependencies-in-swift-repositories/74830)

<div class="topic-metadata">

**Author:** [@iCMDdev](https://forums.swift.org/u/iCMDdev)\
**Replies:** 1\
**Last updated:** [September 22, 2024, 10:02pm UTC](https://forums.swift.org/t/what-is-the-policy-for-including-third-party-licensed-dependencies-in-swift-repositories/74830 "2024-09-22T22:02:23Z")

</div>

Hi! I was able to fix an issue I had with the pico-blink-sdk example on certain boards and SDK versions (RP2040 / RP2350 on RISC-V cores on the new Pico 2.0.0 SDK), but the current fix requires a file licensed BSD-3-Cla…

---

## [ManagedBuffer Header vs Elements in AllocatedUnfairLock](https://forums.swift.org/t/managedbuffer-header-vs-elements-in-allocatedunfairlock/74566)

<div class="topic-metadata">

**Author:** [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Replies:** 2\
**Last updated:** [September 13, 2024, 4:31pm UTC](https://forums.swift.org/t/managedbuffer-header-vs-elements-in-allocatedunfairlock/74566 "2024-09-13T16:31:32Z")

</div>

i was looking at some code that @dmt linked to in another thread recently that provides a re-implementation of the OSAllocatedUnfairLock API. the underlying storage uses a ManagedBuffer to hold the State and lock. i foun…

---

## [What is the appropriate process for updating documentation for public API?](https://forums.swift.org/t/what-is-the-appropriate-process-for-updating-documentation-for-public-api/74461)

<div class="topic-metadata">

**Author:** [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Replies:** 1\
**Last updated:** [September 9, 2024, 1:00pm UTC](https://forums.swift.org/t/what-is-the-appropriate-process-for-updating-documentation-for-public-api/74461 "2024-09-09T13:00:08Z")

</div>

what is the generally recommended/desired process for updating documentation within the core libraries (for the sake of example, assume we're talking about the stdlib)? if i find something that seems inaccurate/misleadin…

---

## [\[Question\] "undefined reference to \`\_\_atomic\_load\_4\`" errors in RPi Pico Swift project](https://forums.swift.org/t/question-undefined-reference-to-atomic-load-4-errors-in-rpi-pico-swift-project/74013)

<div class="topic-metadata">

**Author:** [@Helloyunho](https://forums.swift.org/u/Helloyunho)\
**Replies:** 5\
**Last updated:** [August 18, 2024, 4:03pm UTC](https://forums.swift.org/t/question-undefined-reference-to-atomic-load-4-errors-in-rpi-pico-swift-project/74013 "2024-08-18T16:03:35Z")

</div>

I'm trying to convert my RPi Pico cpp project to Swift, though keeping CMake since I need SDK for this. I almost got it compiled but there're some \_\_atomic\* linker errors: /Applications/ArmGNUToolchain/13.3.rel1/arm-no…

---

## [DocC render with a static HTML generator?](https://forums.swift.org/t/docc-render-with-a-static-html-generator/73866)

<div class="topic-metadata">

**Author:** [@featherless](https://forums.swift.org/u/featherless)\
**Replies:** 6\
**Last updated:** [August 10, 2024, 11:08am UTC](https://forums.swift.org/t/docc-render-with-a-static-html-generator/73866 "2024-08-10T11:08:13Z")

</div>

Hello! I've been following along with DocC's development since it was announced publicly and I love so many things about it, thank you for making such a great tool for the technical writing community! I've been especiall…

---

## [A question regarding uninhabited types and generated SIL](https://forums.swift.org/t/a-question-regarding-uninhabited-types-and-generated-sil/73651)

<div class="topic-metadata">

**Author:** [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Replies:** 8\
**Last updated:** [August 9, 2024, 2:45pm UTC](https://forums.swift.org/t/a-question-regarding-uninhabited-types-and-generated-sil/73651 "2024-08-09T14:45:35Z")

</div>

currently there appears to be a discrepancy in the treatment of methods that take an explicit parameter of uninhabited type, and those that have an uninhabited self param. the former is diagnosed as unreachable, and prod…

---

## [Possibility to enable \`any\` in Embedded Swift](https://forums.swift.org/t/possibility-to-enable-any-in-embedded-swift/72535)

<div class="topic-metadata">

**Author:** [@MikeIsaev](https://forums.swift.org/u/MikeIsaev)\
**Replies:** 12\
**Last updated:** [June 18, 2024, 4:55pm UTC](https://forums.swift.org/t/possibility-to-enable-any-in-embedded-swift/72535 "2024-06-18T16:55:30Z")

</div>

Is it possible to optionally enable any and other features in Embedded Swift? I'm using it with WebAssembly for web development, and in this case, I completely understand and appreciate that String and its related functi…

---

## [\[question\] is reading \`hasErrors()\` on \`DiagnosticTransaction\` supposed to have side effects?](https://forums.swift.org/t/question-is-reading-haserrors-on-diagnostictransaction-supposed-to-have-side-effects/72264)

<div class="topic-metadata">

**Author:** [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Replies:** 0\
**Last updated:** [June 5, 2024, 1:05pm UTC](https://forums.swift.org/t/question-is-reading-haserrors-on-diagnostictransaction-supposed-to-have-side-effects/72264 "2024-06-05T13:05:29Z")

</div>

i was looking at some code in the compiler like: DiagnosticTransaction txn(ctx.Diags); ctx.Diags.diagnose(/\*some error\*/); assert(!ctx.Diags.hadAnyError()); txn.abort(); assert(!ctx.Diags.hadAnyError()); and to my surp…

---

## [Conditional copy/clone on write](https://forums.swift.org/t/conditional-copy-clone-on-write/72120)

<div class="topic-metadata">

**Author:** [@carsonfarmer](https://forums.swift.org/u/carsonfarmer)\
**Replies:** 17\
**Last updated:** [June 1, 2024, 12:28pm UTC](https://forums.swift.org/t/conditional-copy-clone-on-write/72120 "2024-06-01T12:28:34Z")

</div>

I am currently (re)-implementing a persistent binary tree data structure in Swift, and in the simplest case, I'm already seeing pretty good performance with entirely safe code. This is awesome (my naive implementation is…

---

## [Separate Package.swift for Embedded Swift?](https://forums.swift.org/t/separate-package-swift-for-embedded-swift/72144)

<div class="topic-metadata">

**Author:** [@MikeIsaev](https://forums.swift.org/u/MikeIsaev)\
**Replies:** 6\
**Last updated:** [May 31, 2024, 1:46pm UTC](https://forums.swift.org/t/separate-package-swift-for-embedded-swift/72144 "2024-05-31T13:46:34Z")

</div>

Is it possible to have different Package.swift for Embedded Swift and normal Swift? There are so many settings in my Package.swift for Embedded Swift that are not needed for normal Swift. Like these: let embeddedSwift…

---

## [Develop in Swift AP CS Principles (Answer Key)](https://forums.swift.org/t/develop-in-swift-ap-cs-principles-answer-key/71783)

<div class="topic-metadata">

**Author:** [@AyoItsChance](https://forums.swift.org/u/AyoItsChance)\
**Replies:** 2\
**Last updated:** [May 12, 2024, 11:58pm UTC](https://forums.swift.org/t/develop-in-swift-ap-cs-principles-answer-key/71783 "2024-05-12T23:58:12Z")

</div>

Hello world! I'm very new to programming and found that Apple had this free programming tool and book (book name: Develop in Swift AP CS Principles) I'm enjoying the learning materials but am having a difficult time bec…

---

## [ComposableArchitecture and CoreData: what are the options?](https://forums.swift.org/t/composablearchitecture-and-coredata-what-are-the-options/54935)

<div class="topic-metadata">

**Author:** [@eivindml](https://forums.swift.org/u/eivindml)\
**Replies:** 7\
**Last updated:** [April 16, 2024, 2:11pm UTC](https://forums.swift.org/t/composablearchitecture-and-coredata-what-are-the-options/54935 "2024-04-16T14:11:17Z")

</div>

Hi. I'm trying to get an overview of what approaches there is to integrate persistence (specifically with CoreData) with Composable Architecture. I have come up with 3 different ones. Any more strategies? Any recommendat…

---

## [\[ConstraintSystem\] A non natural behavior of compiler solving sync function even if I use \`await\` keyword](https://forums.swift.org/t/constraintsystem-a-non-natural-behavior-of-compiler-solving-sync-function-even-if-i-use-await-keyword/71241)

<div class="topic-metadata">

**Author:** [@kntkymt](https://forums.swift.org/u/kntkymt)\
**Replies:** 0\
**Last updated:** [April 13, 2024, 3:46pm UTC](https://forums.swift.org/t/constraintsystem-a-non-natural-behavior-of-compiler-solving-sync-function-even-if-i-use-await-keyword/71241 "2024-04-13T15:46:44Z")

</div>

Environment swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) Target: arm64-apple-macosx14.0 I run this code. func f(\_ a: () async -\> Void) async { print("async") } f…

---

## [Having a warning while using NavigationLink inside my Hstack](https://forums.swift.org/t/having-a-warning-while-using-navigationlink-inside-my-hstack/67343)

<div class="topic-metadata">

**Author:** [@nvo](https://forums.swift.org/u/nvo)\
**Replies:** 1\
**Last updated:** [September 18, 2023, 8:04pm UTC](https://forums.swift.org/t/having-a-warning-while-using-navigationlink-inside-my-hstack/67343 "2023-09-18T20:04:12Z")

</div>

Hi, I have recently started learning Swift and was wondering if there is any fix/solution to the warnings that I get. Currently running on Xcode Version 14.3.1. With emulator Iphone 14 pro - IOS 16.4, Swift ver 5.8.1. …

---

## [Explanation Wanted: using 'super' in a closure where 'self' is explicitly captured is not yet supported](https://forums.swift.org/t/explanation-wanted-using-super-in-a-closure-where-self-is-explicitly-captured-is-not-yet-supported/67128)

<div class="topic-metadata">

**Author:** [@Willicious-k](https://forums.swift.org/u/Willicious-k)\
**Replies:** 3\
**Last updated:** [September 5, 2023, 3:46pm UTC](https://forums.swift.org/t/explanation-wanted-using-super-in-a-closure-where-self-is-explicitly-captured-is-not-yet-supported/67128 "2023-09-05T15:46:15Z")

</div>

I've ran into an error message while writing some combine code. "Using 'super' in a closure where 'self' is explicitly captured is not yet supported" Here's reproduced code snippet image: import UIKit import Comb…

---

## [Unable to find environment variable for Python library in the iPhone application project](https://forums.swift.org/t/unable-to-find-environment-variable-for-python-library-in-the-iphone-application-project/63026)

<div class="topic-metadata">

**Author:** [@vikrantrohilla](https://forums.swift.org/u/vikrantrohilla)\
**Replies:** 10\
**Last updated:** [February 15, 2023, 6:53pm UTC](https://forums.swift.org/t/unable-to-find-environment-variable-for-python-library-in-the-iphone-application-project/63026 "2023-02-15T18:53:06Z")

</div>

Actually, I wanted to run a python file in the swift project for iPhone Application. I installed PythonKit from url (GitHub - pvieito/PythonKit: Swift framework to interact with Python.). Then import PythonKit in viewco…

---

## [Document Extension file can document multiple symbols in one file?](https://forums.swift.org/t/document-extension-file-can-document-multiple-symbols-in-one-file/61558)

<div class="topic-metadata">

**Author:** [@WOF](https://forums.swift.org/u/WOF)\
**Replies:** 1\
**Last updated:** [November 28, 2022, 8:05pm UTC](https://forums.swift.org/t/document-extension-file-can-document-multiple-symbols-in-one-file/61558 "2022-11-28T20:05:13Z")

</div>

Hello, I'm on trying to separate every document comments from .swift to .docc. I thought that Document Extension file can satisfy my goal. But as I know, I should create separated Document Extension files for each sym…

---

## [Access variable from inside a completionHandler](https://forums.swift.org/t/access-variable-from-inside-a-completionhandler/60891)

<div class="topic-metadata">

**Author:** [@WesSouza](https://forums.swift.org/u/WesSouza)\
**Replies:** 3\
**Last updated:** [October 17, 2022, 3:57pm UTC](https://forums.swift.org/t/access-variable-from-inside-a-completionhandler/60891 "2022-10-17T15:57:03Z")

</div>

I am using URLSession.shared.dataTask(with:completionHandler:) to access an API which, on certain circumstances, won't respond immediately. I also need to cancel pending requests on certain conditions. My current implem…

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