# \#sourcekit

**URL:** https://forums.swift.org/tag/sourcekit/135.md

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

---

## [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…

---

## [Enriching sourcekit with concurrency information (cross-post)](https://forums.swift.org/t/enriching-sourcekit-with-concurrency-information-cross-post/87766)

<div class="topic-metadata">

**Author:** [@jamieQ](https://forums.swift.org/u/jamieQ)\
**Replies:** 0\
**Last updated:** [June 27, 2026, 3:57pm UTC](https://forums.swift.org/t/enriching-sourcekit-with-concurrency-information-cross-post/87766 "2026-06-27T15:57:59Z")

</div>

I'd like to get some feedback on how best to extend sourcekit to better support IDE features to surface more concurrency information. I discussed this a bit here, and have a draft PR (here) that I would appreciate some d…

---

## [Adding explicit module support to sourcekitd](https://forums.swift.org/t/adding-explicit-module-support-to-sourcekitd/84784)

<div class="topic-metadata">

**Author:** [@DavidGoldman](https://forums.swift.org/u/DavidGoldman)\
**Replies:** 13\
**Last updated:** [April 9, 2026, 9:08pm UTC](https://forums.swift.org/t/adding-explicit-module-support-to-sourcekitd/84784 "2026-04-09T21:08:41Z")

</div>

Hi, I’m interested in contributing support for explicit modules for sourcekitd / Sourcekit-LSP. Currently, sourcekitd uses implicit modules (pcms built when sourcekitd loads an AST) with detailed pre-processing records …

---

## [SourceKitService only using 50% of CPU](https://forums.swift.org/t/sourcekitservice-only-using-50-of-cpu/53747)

<div class="topic-metadata">

**Author:** [@acecilia](https://forums.swift.org/u/acecilia)\
**Replies:** 6\
**Last updated:** [September 20, 2022, 3:42pm UTC](https://forums.swift.org/t/sourcekitservice-only-using-50-of-cpu/53747 "2022-09-20T15:42:00Z")

</div>

Hi :wave: Context My machine is an 2019 macbook pro, 8 core CPU. This allows for 16 threads. Thus, when I run yes \> /dev/null & 8 times, I am getting a 50% CPU utilisation, and when running it 16 times I get 100% utilis…

---

## [SourceKit crash (on Xcode 14 beta 1)](https://forums.swift.org/t/sourcekit-crash-on-xcode-14-beta-1/58211)

<div class="topic-metadata">

**Author:** [@swiftuilab](https://forums.swift.org/u/swiftuilab)\
**Replies:** 2\
**Last updated:** [June 20, 2022, 9:56am UTC](https://forums.swift.org/t/sourcekit-crash-on-xcode-14-beta-1/58211 "2022-06-20T09:56:22Z")

</div>

SourceKit crashes with Xcode 14 beta 1 when trying to inspect the swift interface of the new Charts API. I tested it in two macs, both with the same result: One is running Monterey (Intel) and the other Ventura (Apple S…

---

## [Mangling: looking up declarations by their mangled name](https://forums.swift.org/t/mangling-looking-up-declarations-by-their-mangled-name/54193)

<div class="topic-metadata">

**Author:** [@broadway\_lamb](https://forums.swift.org/u/broadway_lamb)\
**Replies:** 5\
**Last updated:** [February 17, 2022, 5:23pm UTC](https://forums.swift.org/t/mangling-looking-up-declarations-by-their-mangled-name/54193 "2022-02-17T17:23:14Z")

</div>

tl;dr: is there any existing facility for looking up function declarations by their name, label list and type, and if not, what would be the best way to implement it and what to look out for? I'm working on extending…

---

## [Can sourcekit-lsp provide a LSP service for cross-compiled code?](https://forums.swift.org/t/can-sourcekit-lsp-provide-a-lsp-service-for-cross-compiled-code/45493)

<div class="topic-metadata">

**Author:** [@LebJe](https://forums.swift.org/u/LebJe)\
**Replies:** 7\
**Last updated:** [January 7, 2022, 4:42pm UTC](https://forums.swift.org/t/can-sourcekit-lsp-provide-a-lsp-service-for-cross-compiled-code/45493 "2022-01-07T16:42:03Z")

</div>

Dear Swift Community, Xcode can cross-compile applications to WatchOS/tvOS/iOS/iPadOS, and provide code completion for frameworks/libraries only available on those platforms using sourcekit. Can sourcekit-lsp use Swift …

---

## [Does sourcekit have support for the new 'Action buttons' on diagnostics in Xcode 13?](https://forums.swift.org/t/does-sourcekit-have-support-for-the-new-action-buttons-on-diagnostics-in-xcode-13/49554)

<div class="topic-metadata">

**Author:** [@owenv](https://forums.swift.org/u/owenv)\
**Replies:** 1\
**Last updated:** [June 15, 2021, 4:45pm UTC](https://forums.swift.org/t/does-sourcekit-have-support-for-the-new-action-buttons-on-diagnostics-in-xcode-13/49554 "2021-06-15T16:45:19Z")

</div>

It looks like starting in Xcode 13, some error messages now have 'action buttons' that are being used in a few different places to jump to other files or open dialogs. I was wondering if these were powered by sourceki…

---

## [SR-14244: Tuple containing one or more closures is expanded incorrectly in source editor](https://forums.swift.org/t/sr-14244-tuple-containing-one-or-more-closures-is-expanded-incorrectly-in-source-editor/44889)

<div class="topic-metadata">

**Author:** [@orchetect](https://forums.swift.org/u/orchetect)\
**Replies:** 0\
**Last updated:** [February 18, 2021, 9:07pm UTC](https://forums.swift.org/t/sr-14244-tuple-containing-one-or-more-closures-is-expanded-incorrectly-in-source-editor/44889 "2021-02-18T21:07:32Z")

</div>

I stumbled on a source parsing bug affecting Xcode's parameter expansion, and from my vetting of JIRA and the forums I don't think it's been reported yet, so I dropped a bug report into JIRA outlining this behavior. Obs…

---

## [Can SourceKit say if something's a variable or a property?](https://forums.swift.org/t/can-sourcekit-say-if-somethings-a-variable-or-a-property/40590)

<div class="topic-metadata">

**Author:** [@Vinicius\_Vendramini](https://forums.swift.org/u/Vinicius_Vendramini)\
**Replies:** 16\
**Last updated:** [September 25, 2020, 7:55pm UTC](https://forums.swift.org/t/can-sourcekit-say-if-somethings-a-variable-or-a-property/40590 "2020-09-25T19:55:11Z")

</div>

I'm using SwiftSyntax to interpret a Swift file, and sometimes I need to know if an identifier is a property or a local variable. For instance: extension String { var foo: String.Index { return startIndex // This \`st…

---

## [How do I use SourceKit with SwiftPM?](https://forums.swift.org/t/how-do-i-use-sourcekit-with-swiftpm/39805)

<div class="topic-metadata">

**Author:** [@Vinicius\_Vendramini](https://forums.swift.org/u/Vinicius_Vendramini)\
**Replies:** 6\
**Last updated:** [August 28, 2020, 10:24pm UTC](https://forums.swift.org/t/how-do-i-use-sourcekit-with-swiftpm/39805 "2020-08-28T22:24:02Z")

</div>

How do I make a SourceKit request on a file that's part of a Swift Package? I assume it's possible, I mean, Xcode does it, right? I can use SourceKit to ask for expression types in a standalone file using this YAML: { …

---

## [Question/Help: Guidance on debugging sourcekit](https://forums.swift.org/t/question-help-guidance-on-debugging-sourcekit/26705)

<div class="topic-metadata">

**Author:** [@cltnschlosser](https://forums.swift.org/u/cltnschlosser)\
**Replies:** 8\
**Last updated:** [July 15, 2019, 3:53pm UTC](https://forums.swift.org/t/question-help-guidance-on-debugging-sourcekit/26705 "2019-07-15T15:53:14Z")

</div>

I should start by saying I'm new to the swift compiler and it's related tooling. After reading the sourcekitd stress tester blog post, I decided to run it on a couple different projects. I ended up finding several errors…

---

## [Run SourceKit-LSP in Docker/Vagrant](https://forums.swift.org/t/run-sourcekit-lsp-in-docker-vagrant/20654)

<div class="topic-metadata">

**Author:** [@satishb](https://forums.swift.org/u/satishb)\
**Replies:** 1\
**Last updated:** [February 20, 2019, 3:18pm UTC](https://forums.swift.org/t/run-sourcekit-lsp-in-docker-vagrant/20654 "2019-02-20T15:18:46Z")

</div>

You can use VSCode on Windows(or any os) while running and debugging swift on a Docker/Vagrant Ubuntu Server. Also, same implementations can be used in Cloud IDE's (Che or theia) Possible Solutions: Using TCP/IPC (VS…

---

## [Transitioning Swift/sourcekitd to Swift/swiftd](https://forums.swift.org/t/transitioning-swift-sourcekitd-to-swift-swiftd/18064)

<div class="topic-metadata">

**Author:** [@akyrtzi](https://forums.swift.org/u/akyrtzi)\
**Replies:** 5\
**Last updated:** [November 17, 2018, 12:58am UTC](https://forums.swift.org/t/transitioning-swift-sourcekitd-to-swift-swiftd/18064 "2018-11-17T00:58:13Z")

</div>

Hi all, To eliminate confusion with the naming scheme of the newly introduced SourceKit-LSP project compared to the pre-existing Swift/sourcekitd framework, we intend to transition sourcekitd to become the swiftd framew…

---

## [Proposal: Adding line/column to SourceKit's import declaration's index](https://forums.swift.org/t/proposal-adding-line-column-to-sourcekits-import-declarations-index/15631)

<div class="topic-metadata">

**Author:** [@rockbruno](https://forums.swift.org/u/rockbruno)\
**Replies:** 7\
**Last updated:** [August 31, 2018, 9:47pm UTC](https://forums.swift.org/t/proposal-adding-line-column-to-sourcekits-import-declarations-index/15631 "2018-08-31T21:47:14Z")

</div>

Hello guys, please forgive me and feel free to close this thread if this isn't the correct forum for this kind of discussion! I've been playing a lot with SourceKit's index request for a few of my tools and noticed the …
