swift 5 static library

Hi!
With ABI stability coming to swift 5, will it be possible to create a static library (not a framework, just a static binary) using Swift 5 that can be included in apps written using different versions of swift 5+ ?

Replies

Probably not. I recommend that you read through the Swift ABI Stability Manifesto to learn more about what ABI stability means. For you to be able to ship a library that others can use, you’ll also need some form of module format stability.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

FYI, if you’re curious about how this might pan out, check out this new thread on Swift Forums about module format stability.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"