Skip to content
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

Target platforms #2

Open
brindy opened this issue May 11, 2021 · 3 comments
Open

Target platforms #2

brindy opened this issue May 11, 2021 · 3 comments

Comments

@brindy
Copy link

brindy commented May 11, 2021

Hello! This project looks like a lot of fun. :)

I tried to check out and build this project but get the following error:

: error: 'some' return types are only available in macOS 10.15.0 or newer

The fix for me the solution was to add the following after the name property in Package.swift

platforms: [
    .macOS("10.15"),
],

Let me know if you'd like a PR for that, though I'm also curious how you're set up such that you don't get this error?

Thanks in advance.

@chriseidhof
Copy link
Owner

Oh nice. It "just works" on my machine, haha. PR is welcome. I wonder if there's anything we can do for Linux?

@brindy
Copy link
Author

brindy commented May 11, 2021

I wondering that too, but there doesn't appear to be any platform specific options for Linux unfortunately.

@lvalenta
Copy link

Isn’t Linux basically determined by “ // swift-tools-version:5.3” in Package.swift?

NSExceptional added a commit to NSExceptional/TerminalUI that referenced this issue Jul 1, 2021
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

No branches or pull requests

3 participants