# \#swift-package

**URL:** https://forums.swift.org/tag/swift-package/470.md

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

---

## [Pickel 1.0.0: a small, dependency-free image loader built for Swift 6 concurrency](https://forums.swift.org/t/pickel-1-0-0-a-small-dependency-free-image-loader-built-for-swift-6-concurrency/90574)

<div class="topic-metadata">

**Author:** [@Himanshu1](https://forums.swift.org/u/Himanshu1)\
**Replies:** 2\
**Last updated:** [November 9, 2026, 7:13am UTC](https://forums.swift.org/t/pickel-1-0-0-a-small-dependency-free-image-loader-built-for-swift-6-concurrency/90574 "2026-11-09T07:13:32Z")

</div>

Hi everyone :waving\_hand: I just released Pickel 1.0, a lightweight image loading library for SwiftUI and UIKit. I’d love feedback from people who’ve used or built image loaders. Why another image loader? I wanted …

---

## [Another Swift LMDB Wrapper](https://forums.swift.org/t/another-swift-lmdb-wrapper/90431)

<div class="topic-metadata">

**Author:** [@craigwrong](https://forums.swift.org/u/craigwrong)\
**Replies:** 0\
**Last updated:** [November 3, 2026, 8:28pm UTC](https://forums.swift.org/t/another-swift-lmdb-wrapper/90431 "2026-11-03T20:28:16Z")

</div>

Hello, fellow Swifters… I'm here to share a little side project that I created with the help of a robot… myself supervising along the way :robot: Yes, it's another LMDB wrapper but this one has some niceties like: C …

---

## [Swift-usb: Swift libusb wrapper (currently very limited)](https://forums.swift.org/t/swift-usb-swift-libusb-wrapper-currently-very-limited/82132)

<div class="topic-metadata">

**Author:** [@Jae](https://forums.swift.org/u/Jae)\
**Replies:** 1\
**Last updated:** [October 22, 2026, 2:44am UTC](https://forums.swift.org/t/swift-usb-swift-libusb-wrapper-currently-very-limited/82132 "2026-10-22T02:44:36Z")

</div>

Hi, I have been looking around for a while and it didn’t seem like there was a libusb wrapper or any other kind of cross-platform USB library for Swift. So I have started writing one. Currently it only supports sending …

---

## [GlassIntroKit: a first-launch intro for SwiftUI apps, built with Liquid Glass and Metal](https://forums.swift.org/t/glassintrokit-a-first-launch-intro-for-swiftui-apps-built-with-liquid-glass-and-metal/90134)

<div class="topic-metadata">

**Author:** [@JiaxuLi](https://forums.swift.org/u/JiaxuLi)\
**Replies:** 0\
**Last updated:** [October 18, 2026, 2:50pm UTC](https://forums.swift.org/t/glassintrokit-a-first-launch-intro-for-swiftui-apps-built-with-liquid-glass-and-metal/90134 "2026-10-18T14:50:09Z")

</div>

Hi all, I've released GlassIntroKit, a Swift package that adds a first-launch intro to a SwiftUI app on iOS 26 and macOS 26. When the app launches, your mark appears on frosted glass. On the first launch, a short wel…

---

## [LocalizedStringResource's bundle](https://forums.swift.org/t/localizedstringresources-bundle/88560)

<div class="topic-metadata">

**Author:** [@tera](https://forums.swift.org/u/tera)\
**Replies:** 7\
**Last updated:** [August 1, 2026, 11:31am UTC](https://forums.swift.org/t/localizedstringresources-bundle/88560 "2026-08-01T11:31:23Z")

</div>

When I call this in my package: print(#bundle) // package bundle it correctly returns the package' bundle. However when I call this from my package: let x: LocalizedStringResource = "Hello" print(x.bundle…

---

## [Where should a Swift package store any SwiftUI Preview data?](https://forums.swift.org/t/where-should-a-swift-package-store-any-swiftui-preview-data/88532)

<div class="topic-metadata">

**Author:** [@CTMacUser](https://forums.swift.org/u/CTMacUser)\
**Replies:** 1\
**Last updated:** [July 26, 2026, 6:31am UTC](https://forums.swift.org/t/where-should-a-swift-package-store-any-swiftui-preview-data/88532 "2026-07-26T06:31:41Z")

</div>

Yes, Previews are for working with Xcode. but I'm using Xcode to develop the package. I made a separate file because I didn't want to dump 100+ lines for a Preview into the source.

---

## [Swift-span-algorithms — allocation-free algorithms over Span / RawSpan](https://forums.swift.org/t/swift-span-algorithms-allocation-free-algorithms-over-span-rawspan/88542)

<div class="topic-metadata">

**Author:** [@Dave861](https://forums.swift.org/u/Dave861)\
**Replies:** 0\
**Last updated:** [July 26, 2026, 5:37am UTC](https://forums.swift.org/t/swift-span-algorithms-allocation-free-algorithms-over-span-rawspan/88542 "2026-07-26T05:37:16Z")

</div>

Repo: Dave861/swift-span-algorithms SPI Releases: swiftpackageindex.com/Dave861/swift-span-algorithms Zero dependencies, Apache-2.0, macOS 13 deployment floor for the Span/RawSpan surface, 181 tests. Why Span is ~Esca…

---

## [Why is SwiftUi always available in Swift Package without needing to declare dependency on it?](https://forums.swift.org/t/why-is-swiftui-always-available-in-swift-package-without-needing-to-declare-dependency-on-it/88518)

<div class="topic-metadata">

**Author:** [@BitByAVampire](https://forums.swift.org/u/BitByAVampire)\
**Replies:** 4\
**Last updated:** [July 24, 2026, 9:14pm UTC](https://forums.swift.org/t/why-is-swiftui-always-available-in-swift-package-without-needing-to-declare-dependency-on-it/88518 "2026-07-24T21:14:46Z")

</div>

It feels strange to me that SwiftUi is always available to be imported to a file in Swift packages given that it's not part of Swift, but a library built on top of it. Shouldn't it need to be declared as a dependency too…

---

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

---

## [Relationship between a Swift Package and the SwiftPM](https://forums.swift.org/t/relationship-between-a-swift-package-and-the-swiftpm/88366)

<div class="topic-metadata">

**Author:** [@EndBird](https://forums.swift.org/u/EndBird)\
**Replies:** 5\
**Last updated:** [July 20, 2026, 2:19pm UTC](https://forums.swift.org/t/relationship-between-a-swift-package-and-the-swiftpm/88366 "2026-07-20T14:19:30Z")

</div>

It seems to clear to me that the capabilities of Swift Packages extend far beyond the use case of it as a way to share code with others. This is based on reading Documentation and also trying them out myself. Specifica…

---

## [Is it Swift package or Swift Package?](https://forums.swift.org/t/is-it-swift-package-or-swift-package/88370)

<div class="topic-metadata">

**Author:** [@EndBird](https://forums.swift.org/u/EndBird)\
**Replies:** 1\
**Last updated:** [July 19, 2026, 5:48pm UTC](https://forums.swift.org/t/is-it-swift-package-or-swift-package/88370 "2026-07-19T17:48:59Z")

</div>

The documentation always refer to it as just a Swift package, but I see it as a specific format for containing Swift code that SPM requires, so I think of it as a Swift Package. What am I missing?

---

## [Swift Package: Library Name vs Target Name](https://forums.swift.org/t/swift-package-library-name-vs-target-name/88362)

<div class="topic-metadata">

**Author:** [@BitByAVampire](https://forums.swift.org/u/BitByAVampire)\
**Replies:** 0\
**Last updated:** [July 18, 2026, 3:31am UTC](https://forums.swift.org/t/swift-package-library-name-vs-target-name/88362 "2026-07-18T03:31:51Z")

</div>

If my library name were A, and the target included's name is B, even then, in Xcode, I can do import A, but then when I try to build the compiler raise an error "no such module A". To clarify the library cannot be impor…

---

## [Autofilling certain configurations of a Swift Package in the Manifest file](https://forums.swift.org/t/autofilling-certain-configurations-of-a-swift-package-in-the-manifest-file/88292)

<div class="topic-metadata">

**Author:** [@BitByAVampire](https://forums.swift.org/u/BitByAVampire)\
**Replies:** 1\
**Last updated:** [July 15, 2026, 4:08am UTC](https://forums.swift.org/t/autofilling-certain-configurations-of-a-swift-package-in-the-manifest-file/88292 "2026-07-15T04:08:48Z")

</div>

When I make a Swift Package using Xcode, there's no way to preselect what language version, platform version, or Swift language mode the Swift Package has. Is there a way to save certain configurations, such as supported…

---

## [DesignFoundation — a token-based SwiftUI design system for Swift 6](https://forums.swift.org/t/designfoundation-a-token-based-swiftui-design-system-for-swift-6/87930)

<div class="topic-metadata">

**Author:** [@NerdSnipe](https://forums.swift.org/u/NerdSnipe)\
**Replies:** 0\
**Last updated:** [July 1, 2026, 11:25pm UTC](https://forums.swift.org/t/designfoundation-a-token-based-swiftui-design-system-for-swift-6/87930 "2026-07-01T23:25:52Z")

</div>

Hi all, Sharing DesignFoundation, a SwiftUI design system I've been building. Free, MIT licensed, Swift 6 concurrency safe, targeting iOS 18+, macOS 15+, and visionOS 2. Repo is at https://github.com/NerdSnipe-Inc/desig…

---

## [Swift Package top level file](https://forums.swift.org/t/swift-package-top-level-file/87065)

<div class="topic-metadata">

**Author:** [@somu](https://forums.swift.org/u/somu)\
**Replies:** 6\
**Last updated:** [June 3, 2026, 1:49pm UTC](https://forums.swift.org/t/swift-package-top-level-file/87065 "2026-06-03T13:49:47Z")

</div>

Hi, Overview I have a swift package called Vehicles This contains the following files / types: Car.swift Bus.swift Truck.swift Doubt There is a file called Vehicles.swift created, I am not sure what to write there. …

---

## [Introducing SwiftMacrosKit and PermissionKit](https://forums.swift.org/t/introducing-swiftmacroskit-and-permissionkit/86925)

<div class="topic-metadata">

**Author:** [@Damu](https://forums.swift.org/u/Damu)\
**Replies:** 3\
**Last updated:** [May 29, 2026, 9:06am UTC](https://forums.swift.org/t/introducing-swiftmacroskit-and-permissionkit/86925 "2026-05-29T09:06:35Z")

</div>

I’ve recently open-sourced two Swift packages aimed at reducing boilerplate and improving developer ergonomics across Apple platforms. SwiftMacrosKit SwiftMacrosKit provides 100+ Swift macros across multiple categories…

---

## [Livable: Make views into stunning animated gradient in one single line based on Metal](https://forums.swift.org/t/livable-make-views-into-stunning-animated-gradient-in-one-single-line-based-on-metal/86647)

<div class="topic-metadata">

**Author:** [@shindgew](https://forums.swift.org/u/shindgew)\
**Replies:** 0\
**Last updated:** [May 11, 2026, 10:36am UTC](https://forums.swift.org/t/livable-make-views-into-stunning-animated-gradient-in-one-single-line-based-on-metal/86647 "2026-05-11T10:36:36Z")

</div>

Introduce Livable Livable Make views livable. Build animated gradient like Apple Music background elegantly. YourView() .livable()￼ Image(.example) .resizble() .aspectRatio(contentMode: .…

---

## [WatchLink — reliable Apple Watch ↔ phone messaging (and cross-platform capable)](https://forums.swift.org/t/watchlink-reliable-apple-watch-phone-messaging-and-cross-platform-capable/86154)

<div class="topic-metadata">

**Author:** [@tareksaeed](https://forums.swift.org/u/tareksaeed)\
**Replies:** 0\
**Last updated:** [April 21, 2026, 5:18pm UTC](https://forums.swift.org/t/watchlink-reliable-apple-watch-phone-messaging-and-cross-platform-capable/86154 "2026-04-21T17:18:14Z")

</div>

Open-sourced WatchLink today. It's a Swift 6 package that replaces WatchConnectivity with a dual-transport layer: BLE for service discovery, HTTP + SSE for data, and WatchConnectivity running in parallel as a third trans…

---

## [Documentation Code Testing](https://forums.swift.org/t/documentation-code-testing/85911)

<div class="topic-metadata">

**Author:** [@UniverseObserver](https://forums.swift.org/u/UniverseObserver)\
**Replies:** 1\
**Last updated:** [April 9, 2026, 11:04pm UTC](https://forums.swift.org/t/documentation-code-testing/85911 "2026-04-09T23:04:16Z")

</div>

Hi folks, I'm working on a project called swift-doc-testing, a bundle of a Swift CLI and a VSCode extension for building and testing code snippets in documentation comments (for swift packages). I want to take this post…

---

## [Using Swift Package with minimum deployment target greater than target project's](https://forums.swift.org/t/using-swift-package-with-minimum-deployment-target-greater-than-target-projects/53725)

<div class="topic-metadata">

**Author:** [@tcldr](https://forums.swift.org/u/tcldr)\
**Replies:** 7\
**Last updated:** [February 5, 2026, 11:16am UTC](https://forums.swift.org/t/using-swift-package-with-minimum-deployment-target-greater-than-target-projects/53725 "2026-02-05T11:16:17Z")

</div>

Does anyone know if there is a way to import a Swift Package with a minimum deployment target greater than the the target project? The idea would be to use any API within the package behind gated availability checks. Is …

---

## [Validator: A modular, type-safe validation framework for SwiftUI and UIKit](https://forums.swift.org/t/validator-a-modular-type-safe-validation-framework-for-swiftui-and-uikit/84074)

<div class="topic-metadata">

**Author:** [@nsvasilev](https://forums.swift.org/u/nsvasilev)\
**Replies:** 0\
**Last updated:** [January 12, 2026, 7:26am UTC](https://forums.swift.org/t/validator-a-modular-type-safe-validation-framework-for-swiftui-and-uikit/84074 "2026-01-12T07:26:08Z")

</div>

Hello Swift community :waving\_hand: I’d like to introduce Validator, a modern and lightweight Swift framework designed to make input validation elegant, type-safe, and painless. Whether you are building a complex regist…

---

## [Introducing Typhoon - a lightweight async/await retry framework for Swift](https://forums.swift.org/t/introducing-typhoon-a-lightweight-async-await-retry-framework-for-swift/83797)

<div class="topic-metadata">

**Author:** [@nsvasilev](https://forums.swift.org/u/nsvasilev)\
**Replies:** 4\
**Last updated:** [December 24, 2025, 12:18am UTC](https://forums.swift.org/t/introducing-typhoon-a-lightweight-async-await-retry-framework-for-swift/83797 "2025-12-24T00:18:27Z")

</div>

Hello Swift community :waving\_hand: I’d like to introduce Typhoon, a small and focused Swift framework that provides robust retry policies for asynchronous operations, built natively on top of Swift’s async/await concur…

---

## [Linting swift package with swift-format](https://forums.swift.org/t/linting-swift-package-with-swift-format/80308)

<div class="topic-metadata">

**Author:** [@tera](https://forums.swift.org/u/tera)\
**Replies:** 3\
**Last updated:** [December 21, 2025, 7:46pm UTC](https://forums.swift.org/t/linting-swift-package-with-swift-format/80308 "2025-12-21T19:46:03Z")

</div>

I'm using this plugin to lint my package with swift-format: // SwiftFormatPlugin.swift import Foundation import PackagePlugin @main struct SwiftFormatPlugin: BuildToolPlugin { func createBuildCommands(context: Plu…

---

## [SwiftGitX: Integrate Git to Your Apps](https://forums.swift.org/t/swiftgitx-integrate-git-to-your-apps/77827)

<div class="topic-metadata">

**Author:** [@ibrahimcetin](https://forums.swift.org/u/ibrahimcetin)\
**Replies:** 1\
**Last updated:** [December 1, 2025, 11:52am UTC](https://forums.swift.org/t/swiftgitx-integrate-git-to-your-apps/77827 "2025-12-01T11:52:07Z")

</div>

Hi folks, I would like to share SwiftGitX with you. It is modern Swift wrapper for libgit2 which is for integrating git to your apps. The API is similar to git command line and it supports modern swift features. Getting…

---

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

---

## [Help with Android Swift SDK](https://forums.swift.org/t/help-with-android-swift-sdk/82962)

<div class="topic-metadata">

**Author:** [@Githubense](https://forums.swift.org/u/Githubense)\
**Replies:** 4\
**Last updated:** [November 2, 2025, 1:48pm UTC](https://forums.swift.org/t/help-with-android-swift-sdk/82962 "2025-11-02T13:48:23Z")

</div>

I have been interested in testing the Swift Android SDK, but I have struggles just building the example from the “Getting Started with the Swift SDK for Android“. Is there something I am missing? macOS 26.1 (25B77) (ba…

---

## [SwiftyNetworking: A SwiftUI-style approach to building networking layers](https://forums.swift.org/t/swiftynetworking-a-swiftui-style-approach-to-building-networking-layers/82940)

<div class="topic-metadata">

**Author:** [@piotrekjeremicz](https://forums.swift.org/u/piotrekjeremicz)\
**Replies:** 2\
**Last updated:** [October 29, 2025, 11:46pm UTC](https://forums.swift.org/t/swiftynetworking-a-swiftui-style-approach-to-building-networking-layers/82940 "2025-10-29T23:46:18Z")

</div>

Hey everyone! :waving\_hand: I’d like to introduce SwiftyNetworking - a package I’ve been working on to make networking in Swift clearer, safer, and more composable way, taking strong inspiration from SwiftUI’s declarati…

---

## [FreeType as a Swift Package available for all Apple platforms in Swift and C](https://forums.swift.org/t/freetype-as-a-swift-package-available-for-all-apple-platforms-in-swift-and-c/81303)

<div class="topic-metadata">

**Author:** [@coconut](https://forums.swift.org/u/coconut)\
**Replies:** 2\
**Last updated:** [July 26, 2025, 4:16pm UTC](https://forums.swift.org/t/freetype-as-a-swift-package-available-for-all-apple-platforms-in-swift-and-c/81303 "2025-07-26T16:16:18Z")

</div>

Hello ladies and gentlemen! I created a Swift Package that wraps the FreeType library as an Xcode framework - compatible with iOS, macOS, visionOS, tvOS and even watchOS and easy to install via SPM. You can use it direc…

---

## [Call for content contributors: Swift packages use case page](https://forums.swift.org/t/call-for-content-contributors-swift-packages-use-case-page/81291)

<div class="topic-metadata">

**Author:** [@davelester](https://forums.swift.org/u/davelester)\
**Replies:** 0\
**Last updated:** [July 24, 2025, 7:34pm UTC](https://forums.swift.org/t/call-for-content-contributors-swift-packages-use-case-page/81291 "2025-07-24T19:34:18Z")

</div>

Work is underway to create a new swift.org use case page for creating Swift packages. Context As part of the swift.org redesign, a new “Create using Swift” section was added to the homepage highlighting different Swift …

---

## [Single file versus multiple files in a Swift package](https://forums.swift.org/t/single-file-versus-multiple-files-in-a-swift-package/81126)

<div class="topic-metadata">

**Author:** [@wigging](https://forums.swift.org/u/wigging)\
**Replies:** 9\
**Last updated:** [July 21, 2025, 3:38pm UTC](https://forums.swift.org/t/single-file-versus-multiple-files-in-a-swift-package/81126 "2025-07-21T15:38:33Z")

</div>

I have a Swift package that does various numerical calculations. All of the algebra related code is in an Algebra.swift file which contains a protocol and extensions that conform to the protocol. This file has gotten ver…

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