Skip to content

How to run the Example by swift run? #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
felixf4xu opened this issue Jan 9, 2024 · 1 comment · Fixed by #24
Closed

How to run the Example by swift run? #23

felixf4xu opened this issue Jan 9, 2024 · 1 comment · Fixed by #24

Comments

@felixf4xu
Copy link

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.

@Kyle-Ye
Copy link
Member

Kyle-Ye commented Jan 9, 2024

  1. 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

  2. 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 Add other backend UI framework on non-Darwin platform #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants