How to run the Example by swift run?
felixf4xu opened this issue · comments
Hi,
I can successfully run swift build
for the project, but when I run swift run
,
error: no executable product available
How can I run the examples?
Ubuntu 22, without Xcode.
-
The example is currently written as a xcodeproj(macOS and iOS with Xcode is required) instead of a package so you can't run it on Linux platform. SwiftPM entry executable point only supports macOS and Linux. I'll update the example to add a SwiftPM based example package later to support Linux platform
swift run
-
The project is still in early development, so only some interface API and underlying data structure is supported. So you can't boot and show an UI element yet. Tracked via #1