Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

swift build gives: is only available in macOS 10.15 or newer #22

Open
richardklingler opened this issue Nov 13, 2022 · 1 comment
Open

Comments

@richardklingler
Copy link

When I follow the example from README.md the "swift build" command always gives loads of:

SerialPort/SerialPort/ContentView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
    var body: some View {
                   ^

Is the library not meant for any SwiftUI applications but only for command line apps?

@yeokm1
Copy link
Owner

yeokm1 commented Nov 19, 2022

I've not tested it within Swift UI apps.

Having said that, I'm not sure if this problem is related to the SwiftSerial library. No instance of view is used in this library.

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

No branches or pull requests

2 participants