# \#xcode

**URL:** https://forums.swift.org/tag/xcode/62.md

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

---

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

---

## [Anyone suggest on Xcode themes?](https://forums.swift.org/t/anyone-suggest-on-xcode-themes/87968)

<div class="topic-metadata">

**Author:** [@mub](https://forums.swift.org/u/mub)\
**Replies:** 5\
**Last updated:** [September 20, 2026, 7:54pm UTC](https://forums.swift.org/t/anyone-suggest-on-xcode-themes/87968 "2026-09-20T19:54:51Z")

</div>

Just saw the new Xcode 27 beta and tried it out, and then saw themes. Didn’t we already have themes?

---

## [Modern Authentication UI — A reusable SwiftUI authentication template](https://forums.swift.org/t/modern-authentication-ui-a-reusable-swiftui-authentication-template/89467)

<div class="topic-metadata">

**Author:** [@Squads\_244](https://forums.swift.org/u/Squads_244)\
**Replies:** 0\
**Last updated:** [September 10, 2026, 11:51am UTC](https://forums.swift.org/t/modern-authentication-ui-a-reusable-swiftui-authentication-template/89467 "2026-09-10T11:51:11Z")

</div>

Hi everyone, I recently built and released Modern Authentication UI, a reusable authentication UI template built entirely with SwiftUI. I created it to have a clean authentication foundation that can be reused across i…

---

## [How to make incremental builds work on a Mac mini CI with Xcode 26](https://forums.swift.org/t/how-to-make-incremental-builds-work-on-a-mac-mini-ci-with-xcode-26/83653)

<div class="topic-metadata">

**Author:** [@peco](https://forums.swift.org/u/peco)\
**Replies:** 1\
**Last updated:** [August 7, 2026, 9:59am UTC](https://forums.swift.org/t/how-to-make-incremental-builds-work-on-a-mac-mini-ci-with-xcode-26/83653 "2026-08-07T09:59:25Z")

</div>

Hi all, I’m looking for help from people familiar with Swift/Xcode. Our team runs CI builds on a single Mac mini. Incremental builds on local machines are fast (around 1–2 minutes), but on the Mac mini CI it seems inc…

---

## [Toolchain Management / Hygiene in multi-toolchain / multi-sdk environments](https://forums.swift.org/t/toolchain-management-hygiene-in-multi-toolchain-multi-sdk-environments/88761)

<div class="topic-metadata">

**Author:** [@cora](https://forums.swift.org/u/cora)\
**Replies:** 5\
**Last updated:** [August 5, 2026, 2:31pm UTC](https://forums.swift.org/t/toolchain-management-hygiene-in-multi-toolchain-multi-sdk-environments/88761 "2026-08-05T14:31:36Z")

</div>

Hi all, Over the past couple of days I've been struggling with some toolchain... confusion? chicanery? mazurkas? ... in my local environment, and I think it's highlighting a disconnect between my understanding of how th…

---

## [\[Pitch\] A Structured Approach to Build and Test Results Data](https://forums.swift.org/t/pitch-a-structured-approach-to-build-and-test-results-data/85799)

<div class="topic-metadata">

**Author:** [@wil-turner](https://forums.swift.org/u/wil-turner)\
**Replies:** 11\
**Last updated:** [July 28, 2026, 10:10pm UTC](https://forums.swift.org/t/pitch-a-structured-approach-to-build-and-test-results-data/85799 "2026-07-28T22:10:49Z")

</div>

Hello Swift community! I would like to pitch the creation of a package containing APIs that provide a unified approach to publishing and consuming results data generated by developer activities, including (but not limit…

---

## [Best IDE to use for Swift Package](https://forums.swift.org/t/best-ide-to-use-for-swift-package/88401)

<div class="topic-metadata">

**Author:** [@EndBird](https://forums.swift.org/u/EndBird)\
**Replies:** 1\
**Last updated:** [July 20, 2026, 3:09pm UTC](https://forums.swift.org/t/best-ide-to-use-for-swift-package/88401 "2026-07-20T15:09:43Z")

</div>

I have a package with multiple targets. One target depends on another one. Whenever I edit the manifest file to remove the dependency target, the Xcode builds the target just fine. I always have to clean the build fo…

---

## [Xcode ignoring SPM dependency resolution errors when building the client](https://forums.swift.org/t/xcode-ignoring-spm-dependency-resolution-errors-when-building-the-client/88310)

<div class="topic-metadata">

**Author:** [@BitByAVampire](https://forums.swift.org/u/BitByAVampire)\
**Replies:** 0\
**Last updated:** [July 15, 2026, 4:42pm UTC](https://forums.swift.org/t/xcode-ignoring-spm-dependency-resolution-errors-when-building-the-client/88310 "2026-07-15T16:42:52Z")

</div>

This may be an Xcode problem not with SPM, but when I add a package into my App project, as a local package, whenever I change the dependencies of the package, even if the change to the version conflicts with the app's v…

---

## [Strudel: build and ship macOS apps from the terminal](https://forums.swift.org/t/strudel-build-and-ship-macos-apps-from-the-terminal/87422)

<div class="topic-metadata">

**Author:** [@octavore](https://forums.swift.org/u/octavore)\
**Replies:** 0\
**Last updated:** [June 16, 2026, 1:26pm UTC](https://forums.swift.org/t/strudel-build-and-ship-macos-apps-from-the-terminal/87422 "2026-06-16T13:26:35Z")

</div>

Hi! I wanted to share a small project I've been working on, strudel - it's a CLI tool to make it easy for anyone to build macOS apps directly from the terminal, without opening Xcode. Under the hood it builds Swift Pa…

---

## [Easier way to read string catalog files](https://forums.swift.org/t/easier-way-to-read-string-catalog-files/87078)

<div class="topic-metadata">

**Author:** [@efenande](https://forums.swift.org/u/efenande)\
**Replies:** 0\
**Last updated:** [June 3, 2026, 2:40pm UTC](https://forums.swift.org/t/easier-way-to-read-string-catalog-files/87078 "2026-06-03T14:40:05Z")

</div>

Apple's String Catalog format for #localisation is great for supporting multiple languages with AI, but a big pain to review the main language. Everything is glued together and it feels like viewing a spreadsheet. Strin…

---

## [Force package dependencies as optimized builds?](https://forums.swift.org/t/force-package-dependencies-as-optimized-builds/76390)

<div class="topic-metadata">

**Author:** [@Stuart\_Carnie](https://forums.swift.org/u/Stuart_Carnie)\
**Replies:** 1\
**Last updated:** [May 18, 2026, 6:11am UTC](https://forums.swift.org/t/force-package-dependencies-as-optimized-builds/76390 "2026-05-18T06:11:38Z")

</div>

When adding a Swift package as a dependency to an Xcode project, how can I force the dependency to build using release (optimized) mode? I still want to debug my main project, but I want certain dependencies to execute o…

---

## [Approachable concurrency](https://forums.swift.org/t/approachable-concurrency/86717)

<div class="topic-metadata">

**Author:** [@somu](https://forums.swift.org/u/somu)\
**Replies:** 3\
**Last updated:** [May 14, 2026, 10:14pm UTC](https://forums.swift.org/t/approachable-concurrency/86717 "2026-05-14T22:14:57Z")

</div>

Hi, In Xcode, when I create a new project and set Approachable Concurrency to Yes, I notice that the following are set to No (in spite of Approachable Concurrency set to Yes): Isolated Globale variables Region based i…

---

## [Claude Code Skills for Server-Side Swift & Xcode Cloud — 15 open-source skill files for Vapor, Hummingbird, and CI/CD](https://forums.swift.org/t/claude-code-skills-for-server-side-swift-xcode-cloud-15-open-source-skill-files-for-vapor-hummingbird-and-ci-cd/85851)

<div class="topic-metadata">

**Author:** [@aistobascistox](https://forums.swift.org/u/aistobascistox)\
**Replies:** 2\
**Last updated:** [April 19, 2026, 5:48am UTC](https://forums.swift.org/t/claude-code-skills-for-server-side-swift-xcode-cloud-15-open-source-skill-files-for-vapor-hummingbird-and-ci-cd/85851 "2026-04-19T05:48:57Z")

</div>

Hello everyone, I've been using Claude Code for iOS development and recently went looking for skills that could help with server-side Swift… As I couldn't find a single skill for server-side Swift. Not for Vapor, not fo…

---

## [Binary targets wrapping static libraries produce fragile dynamic linking arrangement](https://forums.swift.org/t/binary-targets-wrapping-static-libraries-produce-fragile-dynamic-linking-arrangement/85645)

<div class="topic-metadata">

**Author:** [@Timofey\_Solonin](https://forums.swift.org/u/Timofey_Solonin)\
**Replies:** 0\
**Last updated:** [March 27, 2026, 3:40pm UTC](https://forums.swift.org/t/binary-targets-wrapping-static-libraries-produce-fragile-dynamic-linking-arrangement/85645 "2026-03-27T15:40:21Z")

</div>

Hey. I want to highlight some behavior around binary targets and dynamic linkage that I find surprising; I don’t have any suggestions for what a better model of linkage could look like, but I would be curious to know if …

---

## [How to use SwiftPM traits from Xcode?](https://forums.swift.org/t/how-to-use-swiftpm-traits-from-xcode/82819)

<div class="topic-metadata">

**Author:** [@arkulpaKonstantin](https://forums.swift.org/u/arkulpaKonstantin)\
**Replies:** 1\
**Last updated:** [March 19, 2026, 8:09am UTC](https://forums.swift.org/t/how-to-use-swiftpm-traits-from-xcode/82819 "2026-03-19T08:09:44Z")

</div>

Hello everyone, We would like to have different build configurations beside Debug and Release and until now we use a complicated script that at build time sets all the Xcode build settings such that this works. This is …

---

## [Reducing the friction of using Xcode’s MCP bridge from external coding agents](https://forums.swift.org/t/reducing-the-friction-of-using-xcode-s-mcp-bridge-from-external-coding-agents/85353)

<div class="topic-metadata">

**Author:** [@Kwanghoon\_Choi](https://forums.swift.org/u/Kwanghoon_Choi)\
**Replies:** 0\
**Last updated:** [March 15, 2026, 2:17am UTC](https://forums.swift.org/t/reducing-the-friction-of-using-xcode-s-mcp-bridge-from-external-coding-agents/85353 "2026-03-15T02:17:03Z")

</div>

Hi all, I’ve been working on xcodecli, a small macOS tool intended to make Xcode’s MCP bridge easier to use from external coding agents such as Codex, Claude Code, and Gemini CLI. Project: https://github.com/oozoofrog/…

---

## [G-Rump](https://forums.swift.org/t/g-rump/85121)

<div class="topic-metadata">

**Author:** [@Aphrodine-wq](https://forums.swift.org/u/Aphrodine-wq)\
**Replies:** 0\
**Last updated:** [March 3, 2026, 4:28pm UTC](https://forums.swift.org/t/g-rump/85121 "2026-03-03T16:28:57Z")

</div>

I announced the G-Rump Coding Agent I’ve been working on a couple weeks ago and I’ve gotten some really positive and really helpful feedback along the way. Figured I would give everyone a walkthrough of the app! G-Rump …

---

## [Target dependency graph computation performance too slow](https://forums.swift.org/t/target-dependency-graph-computation-performance-too-slow/81552)

<div class="topic-metadata">

**Author:** [@alex2](https://forums.swift.org/u/alex2)\
**Replies:** 16\
**Last updated:** [February 21, 2026, 2:11am UTC](https://forums.swift.org/t/target-dependency-graph-computation-performance-too-slow/81552 "2026-02-21T02:11:42Z")

</div>

I have a workspace with a good amount of dependencies, both local and remote (and the local dependencies also exist as remote dependencies as a convenience for being able to edit several packages I work with from within …

---

## [Xcode 26.4 Beta 1 – Swift Version Mismatch?](https://forums.swift.org/t/xcode-26-4-beta-1-swift-version-mismatch/84807)

<div class="topic-metadata">

**Author:** [@bclee](https://forums.swift.org/u/bclee)\
**Replies:** 3\
**Last updated:** [February 21, 2026, 1:34am UTC](https://forums.swift.org/t/xcode-26-4-beta-1-swift-version-mismatch/84807 "2026-02-21T01:34:26Z")

</div>

A few days ago, Xcode 26.4 Beta 1 was released. However, the official release notes state: Xcode 26.4 beta includes Swift 6.2.3 That said, https://xcodereleases.com indicates that Xcode 26.4 ships with Swift 6.3. Si…

---

## [Xcodebuild attempts to build macro package with wrong arch](https://forums.swift.org/t/xcodebuild-attempts-to-build-macro-package-with-wrong-arch/76340)

<div class="topic-metadata">

**Author:** [@pelekon](https://forums.swift.org/u/pelekon)\
**Replies:** 10\
**Last updated:** [February 21, 2026, 12:12am UTC](https://forums.swift.org/t/xcodebuild-attempts-to-build-macro-package-with-wrong-arch/76340 "2026-02-21T00:12:40Z")

</div>

Hello, 3 days ago I made post on apple forum about my problem with building SPM package which contains macros (link Xcodebuild command compiles macro … | Apple Developer Forums). Unfortunately I didn't get any response, …

---

## [Xcode Invaild declaration of](https://forums.swift.org/t/xcode-invaild-declaration-of/84739)

<div class="topic-metadata">

**Author:** [@mrky25](https://forums.swift.org/u/mrky25)\
**Replies:** 3\
**Last updated:** [February 14, 2026, 10:23pm UTC](https://forums.swift.org/t/xcode-invaild-declaration-of/84739 "2026-02-14T22:23:49Z")

</div>

I’m building an app using Xcode, and I’m running into Invaild declaration of error. I checked for duplicate files, but there are none. I tried to rename the files that didn’t work, and changed them back. It worked before…

---

## [Reposting Feedback for visibility: In certain configuration, the compiler is unable to use the pre-compiled SwiftCompilerPlugin and SwiftSyntaxMacros modules](https://forums.swift.org/t/reposting-feedback-for-visibility-in-certain-configuration-the-compiler-is-unable-to-use-the-pre-compiled-swiftcompilerplugin-and-swiftsyntaxmacros-modules/84633)

<div class="topic-metadata">

**Author:** [@Frizlab](https://forums.swift.org/u/Frizlab)\
**Replies:** 0\
**Last updated:** [February 9, 2026, 10:56am UTC](https://forums.swift.org/t/reposting-feedback-for-visibility-in-certain-configuration-the-compiler-is-unable-to-use-the-pre-compiled-swiftcompilerplugin-and-swiftsyntaxmacros-modules/84633 "2026-02-09T10:56:20Z")

</div>

So I’m aware this is not a Swift issue per-se, but it is closely related. Reproducing the issue is easy: clone Frizlab’s Demo Projects / Xcode Tests Compilation Failure · GitLab and build it for testing (for iOS; for ma…

---

## [Integrating Kotlin/Native into Swift Build](https://forums.swift.org/t/integrating-kotlin-native-into-swift-build/84207)

<div class="topic-metadata">

**Author:** [@rbbozkurt](https://forums.swift.org/u/rbbozkurt)\
**Replies:** 3\
**Last updated:** [January 21, 2026, 3:32pm UTC](https://forums.swift.org/t/integrating-kotlin-native-into-swift-build/84207 "2026-01-21T15:32:12Z")

</div>

As part of the Kotlin Build Tools team at JetBrains, we’ve been exploring how to integrate Kotlin/Native directly into Swift Build. Swift Build is the build execution system used by Xcode and Swift Package Manager (Swift…

---

## [Call hierarchy across protocol boundaries](https://forums.swift.org/t/call-hierarchy-across-protocol-boundaries/84079)

<div class="topic-metadata">

**Author:** [@jzi](https://forums.swift.org/u/jzi)\
**Replies:** 2\
**Last updated:** [January 12, 2026, 3:38pm UTC](https://forums.swift.org/t/call-hierarchy-across-protocol-boundaries/84079 "2026-01-12T15:38:11Z")

</div>

One of the more frustrating limitations of Xcode’s “Find Call Hierarchy” feature is that it does not cross protocol boundaries: Even if a function on a concrete type satisfies a protocol requirement its call hierarchy do…

---

## [XCode 15.3 / XCBuildService Crash - Infinite loop when building iOS Project](https://forums.swift.org/t/xcode-15-3-xcbuildservice-crash-infinite-loop-when-building-ios-project/70643)

<div class="topic-metadata">

**Author:** [@acsarraf-HF](https://forums.swift.org/u/acsarraf-HF)\
**Replies:** 9\
**Last updated:** [January 7, 2026, 9:08am UTC](https://forums.swift.org/t/xcode-15-3-xcbuildservice-crash-infinite-loop-when-building-ios-project/70643 "2026-01-07T09:08:18Z")

</div>

Context We have a very large codebase in our company 600k+ Lines of Code. The setup is a XcodeProj using Swift Package Manager as the only and main package management tool. We have started a long journey of modularizing …

---

## [Using Xcode Cloud to run Swift Package unit tests?](https://forums.swift.org/t/using-xcode-cloud-to-run-swift-package-unit-tests/52816)

<div class="topic-metadata">

**Author:** [@bbernberg](https://forums.swift.org/u/bbernberg)\
**Replies:** 2\
**Last updated:** [December 15, 2025, 12:22am UTC](https://forums.swift.org/t/using-xcode-cloud-to-run-swift-package-unit-tests/52816 "2025-12-15T00:22:13Z")

</div>

Hello, Just wondering if anyone has figured out a way to run unit tests in Xcode Cloud for a Swift Package repository. Currently Xcode Cloud requires an App or Framework target for workflows. I considered adding an exam…

---

## [Xcode fails to build app for testing when depending on transient Swift Packages](https://forums.swift.org/t/xcode-fails-to-build-app-for-testing-when-depending-on-transient-swift-packages/83665)

<div class="topic-metadata">

**Author:** [@cmitteldorf](https://forums.swift.org/u/cmitteldorf)\
**Replies:** 0\
**Last updated:** [December 11, 2025, 3:38am UTC](https://forums.swift.org/t/xcode-fails-to-build-app-for-testing-when-depending-on-transient-swift-packages/83665 "2025-12-11T03:38:09Z")

</div>

Hello team! We have had a curious problem in the past few days where Xcode fails to build our app for testing when depending on transient Swift Packages. When building for testing, our project fails with error: "clang: …

---

## [Why does my local package have access to all of my workspace's dependencies?](https://forums.swift.org/t/why-does-my-local-package-have-access-to-all-of-my-workspaces-dependencies/83651)

<div class="topic-metadata">

**Author:** [@BitByAVampire](https://forums.swift.org/u/BitByAVampire)\
**Replies:** 0\
**Last updated:** [December 10, 2025, 6:32am UTC](https://forums.swift.org/t/why-does-my-local-package-have-access-to-all-of-my-workspaces-dependencies/83651 "2025-12-10T06:32:48Z")

</div>

I have a local package that I created and add to my workspace, and it seems to be able to have access to all the dependencies added to my workspace, for example, ModuleA. Even though I did not declare Module A as a depen…

---

## [May Swift source code be in UTF-16 in XCode?](https://forums.swift.org/t/may-swift-source-code-be-in-utf-16-in-xcode/34494)

<div class="topic-metadata">

**Author:** [@PatrickA](https://forums.swift.org/u/PatrickA)\
**Replies:** 9\
**Last updated:** [December 8, 2025, 12:12pm UTC](https://forums.swift.org/t/may-swift-source-code-be-in-utf-16-in-xcode/34494 "2025-12-08T12:12:42Z")

</div>

I am able to compile in Swift a very simple source file encoded in UTF-8 (with or without BOM). But when I try to build the same source file but now encoded in UTF-16, I get an error : "Invalid Swift parseable output (m…

---

## [XcodeProjectCLI - lightweight CLI tool for managing Xcode projects](https://forums.swift.org/t/xcodeprojectcli-lightweight-cli-tool-for-managing-xcode-projects/83311)

<div class="topic-metadata">

**Author:** [@wojciech-kulik](https://forums.swift.org/u/wojciech-kulik)\
**Replies:** 0\
**Last updated:** [November 19, 2025, 8:01pm UTC](https://forums.swift.org/t/xcodeprojectcli-lightweight-cli-tool-for-managing-xcode-projects/83311 "2025-11-19T20:01:51Z")

</div>

Hi guys! I just want to share with you a tool that I built recently in Swift. It’s a CLI tool to manage Xcode project files. I built it initially for my other project - Neovim plugin called xcodebuild.nvim, but it can b…

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