Open k0pernicus opened 1 week ago
Hi @k0pernicus, thanks for the report. We are currently planning to drop support for Swift with Spin 3.0 because of limitations in the Swift toolchain that the 2.7 template is based on.
We'd be very happy to reintroduce/keep support if a newer Swift SDK can be made to work with Spin 3.0 (i.e. the main
branch, currently). I wasn't able to get it to work but I have practically zero experience with Swift so it may be possible for someone to do so already.
Thank you for your response. I could take a look as I got more and more into Swift "these days", but I can't promise anything. I will try to look at this in the upcoming weeks.
Only for spin with Swift (swiftwasm):
Reproduction:
I checked quickly on the Swiftwasm book, and found out that
swiftc
should not be used to build a WASM component / binary:So,
swift build
should be used here instead ofswiftc
.Version: spin 2.7.0 (a111517 2024-07-30) Plugins: