Automatically Packaging a Haskell Library as a Swift Binary XCFramework
Announcing xcframework or: the happy path for wiring a Haskell dependency to your Swift app I’ve written about Haskell x Swift interoperability before. Calling Haskell from Swift is about marshalling and the foreign function interface. But Creating a macOS app with Haskell and Swift tells the much messier tale of hijacking XCode to vodoo together the Haskell library, its headers, and two handfuls of other magic ingredients into one buildable SwiftUI application. Stop! Don’t click on the last l