# \#framework

**URL:** https://forums.swift.org/tag/framework/330.md

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

---

## [Quiver: Statistics, linear algebra, and machine learning in plain Swift](https://forums.swift.org/t/quiver-statistics-linear-algebra-and-machine-learning-in-plain-swift/90300)

<div class="topic-metadata">

**Author:** [@waynewbishop](https://forums.swift.org/u/waynewbishop)\
**Replies:** 2\
**Last updated:** [October 27, 2026, 5:29pm UTC](https://forums.swift.org/t/quiver-statistics-linear-algebra-and-machine-learning-in-plain-swift/90300 "2026-10-27T17:29:00Z")

</div>

Hi everyone, I’d like to share Quiver, an open-source Swift package for statistics, linear algebra, and machine learning. I came to machine learning through courses built on Python, NumPy, scikit-learn, and Jupyter. Th…

---

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

---

## [Swift Stream IDE: Announcing Android App Target](https://forums.swift.org/t/swift-stream-ide-announcing-android-app-target/83937)

<div class="topic-metadata">

**Author:** [@MikeIsaev](https://forums.swift.org/u/MikeIsaev)\
**Replies:** 5\
**Last updated:** [October 21, 2026, 7:46pm UTC](https://forums.swift.org/t/swift-stream-ide-announcing-android-app-target/83937 "2026-10-21T19:46:24Z")

</div>

Hi everyone! I am excited to share that with Swift Stream IDE v1.17.0, released on December 31, 2025, full native Android application development in Swift is now possible. This release achieves a milestone I’ve been wo…

---

## [Swift-openapi-mock — Record/replay middleware that matches on operationID, not URLs](https://forums.swift.org/t/swift-openapi-mock-record-replay-middleware-that-matches-on-operationid-not-urls/85825)

<div class="topic-metadata">

**Author:** [@RhonnyG](https://forums.swift.org/u/RhonnyG)\
**Replies:** 0\
**Last updated:** [April 5, 2026, 2:49pm UTC](https://forums.swift.org/t/swift-openapi-mock-record-replay-middleware-that-matches-on-operationid-not-urls/85825 "2026-04-05T14:49:17Z")

</div>

Hi everyone :waving\_hand: I've just released swift-openapi-mock, an open-source ClientMiddleware for apps built with swift-openapi-generator that lets you record real API responses and replay them offline — with zero ne…

---

## [Resource‑centric Swift server framework](https://forums.swift.org/t/resource-centric-swift-server-framework/84029)

<div class="topic-metadata">

**Author:** [@progalgo](https://forums.swift.org/u/progalgo)\
**Replies:** 2\
**Last updated:** [January 13, 2026, 12:46pm UTC](https://forums.swift.org/t/resource-centric-swift-server-framework/84029 "2026-01-13T12:46:42Z")

</div>

This pitch outlines an idea for a resource‑centric Swift server framework, intended for discussion and design exploration within SSWG. The core idea is to treat HTTP resources as first‑class types, rather than routing st…

---

## [Introducing Discord.swift - A Discord API library](https://forums.swift.org/t/introducing-discord-swift-a-discord-api-library/65343)

<div class="topic-metadata">

**Author:** [@Defxult](https://forums.swift.org/u/Defxult)\
**Replies:** 3\
**Last updated:** [November 14, 2025, 5:54am UTC](https://forums.swift.org/t/introducing-discord-swift-a-discord-api-library/65343 "2025-11-14T05:54:37Z")

</div>

For a long time there hasn't been a Discord library written in Swift. A lot of the libraries are outdated and no longer maintained. Although there are a few options now, Discord.swift aims to be the library of choice. It…

---

## [Swift Bitcoin - Full node library](https://forums.swift.org/t/swift-bitcoin-full-node-library/75431)

<div class="topic-metadata">

**Author:** [@craigwrong](https://forums.swift.org/u/craigwrong)\
**Replies:** 8\
**Last updated:** [September 10, 2025, 3:52pm UTC](https://forums.swift.org/t/swift-bitcoin-full-node-library/75431 "2025-09-10T15:52:41Z")

</div>

Hi everyone! I would like to share with you a project that I have been working on for the last couple of years: It's called Swift Bitcoin and the idea behind it is simple: to implement as much of the Bitcoin Protocol …

---

## [Undefined symbol: protocol witness table for](https://forums.swift.org/t/undefined-symbol-protocol-witness-table-for/53341)

<div class="topic-metadata">

**Author:** [@Carles](https://forums.swift.org/u/Carles)\
**Replies:** 1\
**Last updated:** [July 18, 2025, 7:20am UTC](https://forums.swift.org/t/undefined-symbol-protocol-witness-table-for/53341 "2025-07-18T07:20:01Z")

</div>

I do have a problem when generating a custom framework for a modular App. It all goes well with the framework attached to an example application. The symbols are there, but when I compile with BUILD\_LIBRARY\_FOR\_DISTRIBU…

---

## ["Missing required module" for C target of SwiftPM dependency within a .framework](https://forums.swift.org/t/missing-required-module-for-c-target-of-swiftpm-dependency-within-a-framework/77011)

<div class="topic-metadata">

**Author:** [@NSExceptional](https://forums.swift.org/u/NSExceptional)\
**Replies:** 5\
**Last updated:** [January 12, 2025, 5:33am UTC](https://forums.swift.org/t/missing-required-module-for-c-target-of-swiftpm-dependency-within-a-framework/77011 "2025-01-12T05:33:26Z")

</div>

If you've seen my previous post, this is somewhat related in that it's about the same project, but my previous post is still unanswered. You don't need to read it if you haven't; I've moved on from my previous approach f…

---

## [Failed to import files in swift framework test](https://forums.swift.org/t/failed-to-import-files-in-swift-framework-test/76277)

<div class="topic-metadata">

**Author:** [@DDnerd001](https://forums.swift.org/u/DDnerd001)\
**Replies:** 0\
**Last updated:** [November 28, 2024, 8:21pm UTC](https://forums.swift.org/t/failed-to-import-files-in-swift-framework-test/76277 "2024-11-28T20:21:57Z")

</div>

So this code in my framework test kept returning error and I have no clue how to solve it, I should have bundle included in my files but it kept telling me the file doesn't exist

---

## [SwiftySites - No frills static site generator](https://forums.swift.org/t/swiftysites-no-frills-static-site-generator/75185)

<div class="topic-metadata">

**Author:** [@diegolavalle](https://forums.swift.org/u/diegolavalle)\
**Replies:** 0\
**Last updated:** [October 6, 2024, 12:15am UTC](https://forums.swift.org/t/swiftysites-no-frills-static-site-generator/75185 "2024-10-06T00:15:18Z")

</div>

Hello fellow Swift devs! I'd like to introduce to y'all a small project that I've been working on called SwiftySites: It's really just another static site generator but with a slightly different approach: A Site in…

---

## [Prevent static library dependency from being linked into final framework](https://forums.swift.org/t/prevent-static-library-dependency-from-being-linked-into-final-framework/74206)

<div class="topic-metadata">

**Author:** [@sirghi](https://forums.swift.org/u/sirghi)\
**Replies:** 0\
**Last updated:** [August 28, 2024, 8:19am UTC](https://forums.swift.org/t/prevent-static-library-dependency-from-being-linked-into-final-framework/74206 "2024-08-28T08:19:30Z")

</div>

We are building a framework A that has a dependency on a third party binary static library B. Because the B is statically linked, it is present in the final framework. That means that any integrating apps that use the B …

---

## [Swift Framework that uses and Obj-C framework not working on another mac](https://forums.swift.org/t/swift-framework-that-uses-and-obj-c-framework-not-working-on-another-mac/73770)

<div class="topic-metadata">

**Author:** [@ibrahimdh2](https://forums.swift.org/u/ibrahimdh2)\
**Replies:** 0\
**Last updated:** [August 7, 2024, 3:12pm UTC](https://forums.swift.org/t/swift-framework-that-uses-and-obj-c-framework-not-working-on-another-mac/73770 "2024-08-07T15:12:59Z")

</div>

I made a Swift framework (UnityLoader) that uses Objective-C (UnityFramework) . I was able to call Objective-C framework functions inside the UnityLoader functions then after I built it as a framework (Used this approac…

---

## [Importing Objective-C framework in a Swift Framework](https://forums.swift.org/t/importing-objective-c-framework-in-a-swift-framework/73168)

<div class="topic-metadata">

**Author:** [@ibrahimdh2](https://forums.swift.org/u/ibrahimdh2)\
**Replies:** 4\
**Last updated:** [July 30, 2024, 3:04pm UTC](https://forums.swift.org/t/importing-objective-c-framework-in-a-swift-framework/73168 "2024-07-30T15:04:07Z")

</div>

Hi, I am trying to make a Swift framework that uses an Objective-C framework. But it doesn't work it says that "Could not build objective C module". Since it is a framework bridging header doesn't work. The official app…

---

## [Error 'unsupported Swift architecture' in generated -Swift.h file](https://forums.swift.org/t/error-unsupported-swift-architecture-in-generated-swift-h-file/66901)

<div class="topic-metadata">

**Author:** [@asevko](https://forums.swift.org/u/asevko)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 4:26am UTC](https://forums.swift.org/t/error-unsupported-swift-architecture-in-generated-swift-h-file/66901 "2024-07-17T04:26:55Z")

</div>

We are developing a bunch of xcframeworks, that are using some other xcframeworks, that are distributed via cocoapods. Problem After switching to xcode 14 build system, generated headers for our frameworks started looki…

---

## [Can't find the headers for embedded Objective-C inside a Swift framework](https://forums.swift.org/t/cant-find-the-headers-for-embedded-objective-c-inside-a-swift-framework/73150)

<div class="topic-metadata">

**Author:** [@ibrahimdh2](https://forums.swift.org/u/ibrahimdh2)\
**Replies:** 0\
**Last updated:** [July 13, 2024, 10:57am UTC](https://forums.swift.org/t/cant-find-the-headers-for-embedded-objective-c-inside-a-swift-framework/73150 "2024-07-13T10:57:16Z")

</div>

Hi, I am trying to make a Swift framework that has an objective c framework embedded inside it. Later this swift framework will be added to another framework that in turn will be used in an app. However, I'm getting pro…

---

## [Issue in importing header files from local package](https://forums.swift.org/t/issue-in-importing-header-files-from-local-package/71694)

<div class="topic-metadata">

**Author:** [@Shikharani](https://forums.swift.org/u/Shikharani)\
**Replies:** 0\
**Last updated:** [May 8, 2024, 12:48pm UTC](https://forums.swift.org/t/issue-in-importing-header-files-from-local-package/71694 "2024-05-08T12:48:44Z")

</div>

Hi All, In my project the I have a local package just for example: ABCorePackage - ObjCSources - include - Maths.h (symlink) - ABCore - Maths.h - Maths.m - Package.Swift In the project where I am integrating t…

---

## [Invalid XCFramweork when generated with BUILD\_LIBRARY\_FOR\_DISTRIBUTION=YES](https://forums.swift.org/t/invalid-xcframweork-when-generated-with-build-library-for-distribution-yes/71385)

<div class="topic-metadata">

**Author:** [@YpsoEdu](https://forums.swift.org/u/YpsoEdu)\
**Replies:** 0\
**Last updated:** [April 21, 2024, 6:48pm UTC](https://forums.swift.org/t/invalid-xcframweork-when-generated-with-build-library-for-distribution-yes/71385 "2024-04-21T18:48:10Z")

</div>

Hi all, I'm attempting to generate an XCFramework that must maintain ABI stability. The framework is created from an SPM using the following script: #!/bin/bash set -x set -e # Pass scheme name as the first argument …

---

## [No member in framework target: Swift class as forward class in ObjC, accessed in Swift through ObjC class](https://forums.swift.org/t/no-member-in-framework-target-swift-class-as-forward-class-in-objc-accessed-in-swift-through-objc-class/68933)

<div class="topic-metadata">

**Author:** [@Devarshi](https://forums.swift.org/u/Devarshi)\
**Replies:** 1\
**Last updated:** [December 26, 2023, 11:03am UTC](https://forums.swift.org/t/no-member-in-framework-target-swift-class-as-forward-class-in-objc-accessed-in-swift-through-objc-class/68933 "2023-12-26T11:03:56Z")

</div>

So I am creating an ObjC framework which has mix of ObjC and Swift code: UtilitiesFramework. Here is my StringUtilities class in Swift: @objc public class StringUtilities: NSObject { } I am accessing StringUtilities …

---

## [Using Swift Package Dependencies on Custom Frameworks](https://forums.swift.org/t/using-swift-package-dependencies-on-custom-frameworks/68888)

<div class="topic-metadata">

**Author:** [@arifokuyucu](https://forums.swift.org/u/arifokuyucu)\
**Replies:** 0\
**Last updated:** [December 8, 2023, 11:10am UTC](https://forums.swift.org/t/using-swift-package-dependencies-on-custom-frameworks/68888 "2023-12-08T11:10:51Z")

</div>

Hey, I have an Xcode project modularized using custom frameworks. The custom frameworks have dependencies that are managed by Swift Package Manager ( 3rd party dependencies were managed by Carthage but I have started co…

---

## [Facing issue while using Module Map to expose objective c header files in swift](https://forums.swift.org/t/facing-issue-while-using-module-map-to-expose-objective-c-header-files-in-swift/68598)

<div class="topic-metadata">

**Author:** [@Shikharani](https://forums.swift.org/u/Shikharani)\
**Replies:** 0\
**Last updated:** [November 23, 2023, 6:42am UTC](https://forums.swift.org/t/facing-issue-while-using-module-map-to-expose-objective-c-header-files-in-swift/68598 "2023-11-23T06:42:27Z")

</div>

Hi All, I am working on iOS SDK, In my project I have both objective c and swift files. So for this I have created a framework, in this I have used module map to expose objective C header files to Swift by importing tha…

---

## [Mixed objective-c swift framework missing Undefined symbols for architecture arm64: "nominal type descriptor for with exported symbols set](https://forums.swift.org/t/mixed-objective-c-swift-framework-missing-undefined-symbols-for-architecture-arm64-nominal-type-descriptor-for-with-exported-symbols-set/55921)

<div class="topic-metadata">

**Author:** [@doozMen](https://forums.swift.org/u/doozMen)\
**Replies:** 2\
**Last updated:** [October 9, 2023, 11:32pm UTC](https://forums.swift.org/t/mixed-objective-c-swift-framework-missing-undefined-symbols-for-architecture-arm64-nominal-type-descriptor-for-with-exported-symbols-set/55921 "2023-10-09T23:32:06Z")

</div>

We are creating a framework with lots of c and c++. There is a wrapper of objective-c around that that works fine. Just as we started moving to a mixed objective-c & Swift framework nasty things started popping up. Most …

---

## [.swiftinterface "No such module" in XCFramework](https://forums.swift.org/t/swiftinterface-no-such-module-in-xcframework/57484)

<div class="topic-metadata">

**Author:** [@SebastianMonteroC](https://forums.swift.org/u/SebastianMonteroC)\
**Replies:** 5\
**Last updated:** [July 4, 2023, 2:38am UTC](https://forums.swift.org/t/swiftinterface-no-such-module-in-xcframework/57484 "2023-07-04T02:38:58Z")

</div>

Hello everyone! I've been trying to build an XCFramework from my program that wraps C code into Swift and I need it to support both x86\_64 and arm64 archs for MacOS. I have succeeded in creating a .framework that combin…

---

## [How can I create a .framework file from a swift package?](https://forums.swift.org/t/how-can-i-create-a-framework-file-from-a-swift-package/65405)

<div class="topic-metadata">

**Author:** [@nonlin](https://forums.swift.org/u/nonlin)\
**Replies:** 1\
**Last updated:** [June 7, 2023, 11:11pm UTC](https://forums.swift.org/t/how-can-i-create-a-framework-file-from-a-swift-package/65405 "2023-06-07T23:11:30Z")

</div>

In this repo here UnityCoreBluetooth/Examples/UnityExample/Assets/Plugins/UnityCoreBluetooth/Plugins/iOS at c67a39211120a537addc47140281e3a9542c8321 · fuziki/UnityCoreBluetooth · GitHub They manage to make a .framework …

---

## [IOS generated Framework-Swift.h hides objc interface](https://forums.swift.org/t/ios-generated-framework-swift-h-hides-objc-interface/63923)

<div class="topic-metadata">

**Author:** [@Mike](https://forums.swift.org/u/Mike)\
**Replies:** 0\
**Last updated:** [March 23, 2023, 11:17pm UTC](https://forums.swift.org/t/ios-generated-framework-swift-h-hides-objc-interface/63923 "2023-03-23T23:17:16Z")

</div>

Hello, We have a dynamic framework which embed a static one, the static one is mixed of objc/swift. The dynamic one has couple of header file which are objc. As we want to add some support to Swiftui we have to created…

---

## [Statically linked Library within a Dynamic Framework. Works, but how, and is it valid?](https://forums.swift.org/t/statically-linked-library-within-a-dynamic-framework-works-but-how-and-is-it-valid/63374)

<div class="topic-metadata">

**Author:** [@asavill](https://forums.swift.org/u/asavill)\
**Replies:** 0\
**Last updated:** [February 26, 2023, 3:06pm UTC](https://forums.swift.org/t/statically-linked-library-within-a-dynamic-framework-works-but-how-and-is-it-valid/63374 "2023-02-26T15:06:54Z")

</div>

I'm relatively new to Swift and building software for Apple platforms. So far I'm enjoying it, but one of the things that struck me from the beginning was leaky dependencies/imports. This is something that has been disc…

---

## [.swiftinterface import](https://forums.swift.org/t/swiftinterface-import/34548)

<div class="topic-metadata">

**Author:** [@dimpiax](https://forums.swift.org/u/dimpiax)\
**Replies:** 22\
**Last updated:** [January 5, 2023, 1:34pm UTC](https://forums.swift.org/t/swiftinterface-import/34548 "2023-01-05T13:34:51Z")

</div>

Hi community, .swiftinterface includes imports to Foundation and Swift, and within custom framework dependencies, it adds related, for example import A. When I add the framework, compiler says 'No such module 'A'. Whic…

---

## [\[Pre-Pitch\] Adding mixed language support in SwiftPM](https://forums.swift.org/t/pre-pitch-adding-mixed-language-support-in-swiftpm/57270)

<div class="topic-metadata">

**Author:** [@Ryan\_Wilson](https://forums.swift.org/u/Ryan_Wilson)\
**Replies:** 4\
**Last updated:** [November 21, 2022, 10:07pm UTC](https://forums.swift.org/t/pre-pitch-adding-mixed-language-support-in-swiftpm/57270 "2022-11-21T22:07:55Z")

</div>

Hi everyone, In Firebase we have many Objective-C libraries and some Swift extensions that add APIs for features like Codable, async/await (where it doesn't auto-translate), and SwiftUI integrations. CocoaPods supports …

---

## [Framework to XCFramework not working if the Framework is a bit more complex](https://forums.swift.org/t/framework-to-xcframework-not-working-if-the-framework-is-a-bit-more-complex/57603)

<div class="topic-metadata">

**Author:** [@fmarx](https://forums.swift.org/u/fmarx)\
**Replies:** 0\
**Last updated:** [May 26, 2022, 10:01am UTC](https://forums.swift.org/t/framework-to-xcframework-not-working-if-the-framework-is-a-bit-more-complex/57603 "2022-05-26T10:01:06Z")

</div>

Hi, I'm trying to convert a "regular" FAT Framework to a XCFramework to make later use of it in the Swift-Package Manager (SPM). This process works with very simple framework which has just a struct with one string pro…

---

## [Building a XCFramework without objective-c interop](https://forums.swift.org/t/building-a-xcframework-without-objective-c-interop/56444)

<div class="topic-metadata">

**Author:** [@MDemetrio](https://forums.swift.org/u/MDemetrio)\
**Replies:** 7\
**Last updated:** [April 1, 2022, 8:46pm UTC](https://forums.swift.org/t/building-a-xcframework-without-objective-c-interop/56444 "2022-04-01T20:46:22Z")

</div>

I'm trying to build a XCFramework for an application with iOS 10.3 deployment target requirement. This framework is distributed internally in the company, until now it was being built as a universal framework (with lipo…

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