Automatically Packaging a Haskell Library as a Swift Binary XCFramework
1 Announcing: xcframework
1.1 XCFrameworks
1.2 How to install xcframework
1.3 How to use the XCFramework in XCode
1.4 Building simple Swift package
1.5 Must use Cabal Foreign Library stanza
1.6 Conclusion
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 ...
Read more at alt-romes.github.io