swiftwasm / JavaScriptKit

Swift framework to interact with JavaScript through WebAssembly.
https://swiftpackageindex.com/swiftwasm/JavaScriptKit/main/documentation/javascriptkit
MIT License
664 stars 44 forks source link

When targeting macOS, v0.19.0 Requires macOS 14 #231

Closed STREGA closed 6 months ago

STREGA commented 7 months ago

Due to JavascriptEventLoop changes, projects that target both WASI and macOS now require macOS 14.

This is a problem because Xcode does not respect SPM target conditionals, so JavaScriptKit is always built when a project supports macOS and has JavaScriptKit as a dependency.

Stubs for the JavascriptEventLoop changes will need to be added to allow macOS builds that target ABI earlier then macOS 14.

STREGA commented 6 months ago

This issue was fixed by https://github.com/swiftwasm/JavaScriptKit/pull/232