Closed gregcotten closed 8 months ago
Yup, I'm actually working on a makeshift solution rn that will allow Xcode 15 users to at least build their projects while wasm-5.9 is still pre-release. Should be available fairly soon.
Hi, any news on this?
Hi, any news on this?
Yup! You can build carton 0.20 from this branch: https://github.com/swiftwasm/carton/tree/5.9-support Just be aware your project will be built with a pre-release version of SwiftWasm 5.9
carton 0.20.0, which includes the fix for Xcode 15, has been released.
After updating to Xcode 15,
carton
seems to no longer allow building at all.After running
carton init
(0.19.1), and thencarton dev --verbose
, I get this big wall of errors:Big Wall Of Errors
I have truncated the error messages because it was too much text: ``` % carton dev --verbose - checking Swift compiler path: {redacted}/.carton/sdk/wasm-5.8.0-RELEASE/usr/bin/swift - checking Swift compiler path: {redacted}/.swiftenv/versions/wasm-5.8.0-RELEASE/usr/bin/swift - checking Swift compiler path: {redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/bin/swift Inferring basic settings... - swift executable: {redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/bin/swift SwiftWasm Swift version 5.8 (swiftlang-5.8.0) Target: arm64-apple-darwin22.6.0 Parsing package manifest: [debug]: evaluating manifest for 'test' v. unknown [warning]: ld: warning: duplicate LC_RPATH are deprecated ('/usr/lib/swift')- development binary to serve: {redacted}/Documents/Coding/Test/.build/wasm32-unknown-wasi/debug/Test.wasm Building the project before spinning up a server... Compiling... {redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/bin/swift build -c debug --product Test --triple wasm32-unknown-wasi -Xswiftc -Xclang-linker -Xswiftc -mexec-model=reactor -Xlinker --export=main -Xlinker {redacted}/.carton/static/so_sanitizer.wasm -Xlinker --stack-first Process failed and produced following output: Process failed with non-zero exit status and following output: and following error output: warning: 'test': ld: warning: duplicate LC_RPATH are deprecated ('/usr/lib/swift') warning: 'test': ld: warning: duplicate LC_RPATH are deprecated ('/usr/lib/swift') Updating https://github.com/swiftwasm/JavaScriptKit Updated https://github.com/swiftwasm/JavaScriptKit (0.46s) Computing version for https://github.com/swiftwasm/JavaScriptKit error: Invalid manifest (compiled with: ["{redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/6t/46s7qxkj6116xdcr91k8rvk00000gn/T/TemporaryDirectory.QwpC93/vfs.yaml", "-L", "{redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "{redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx11.0", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk", "-F", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "{redacted}/Library/Developer/Toolchains/swift-wasm-5.8.0-RELEASE.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk", "-package-description-version", "5.3.0", "/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/var/folders/6t/46s7qxkj6116xdcr91k8rvk00000gn/T/TemporaryDirectory.5yRjPO/javascriptkit-manifest"])