TokamakUI / Tokamak

SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms
Apache License 2.0
2.54k stars 105 forks source link

Version 0.11.x cannot compile #531

Open jesus-mg-ios opened 1 year ago

jesus-mg-ios commented 1 year ago

Describe the bug Cannot compile package

To Reproduce Steps to reproduce the behavior:

  1. Try to get dependencies with SPM using Xcode 14.2.0 + Swift 5.7

Additional context

image

Package:

// swift-tools-version:5.7
import PackageDescription
let package = Package(
    name: "wasm",
    platforms: [.macOS(.v11), .iOS(.v13)],
    products: [
        .executable(name: "wasm", targets: ["wasm"])
    ],
    dependencies: [
        .package(url: "https://github.com/TokamakUI/Tokamak", exact: "0.11.1")
    ],
    targets: [
        .executableTarget(
            name: "wasm",
            dependencies: [
                .product(name: "TokamakShim", package: "Tokamak")
            ])
    ]
)
carson-katri commented 1 year ago

Does it build with a SwiftWasm toolchain, like through Carton?

jesus-mg-ios commented 1 year ago

Yes, through carton works.