SwiftUI needs MacOS 10.15?

Hey,

I'm working on a new multi-platform application, and part of the application requires a calendar. I've created Day, Week, and Month calendar and they are all working as expected on Mac/iPhone and iPad.

So I decided that I would make them a Library/Package and share with the community.

I created a package project, moved all the working code into it, and then added the package into my project as a local dependency. Now I'm getting lots of errors in the package code about everything is only available in macOS 10.15.

It's not the code as I know it works. I have

platforms: [ .macOS(.v10_14), .iOS(.v15) ]

This is my first attempt at a package. Is there something I'm not doing?

Thanks,

Mark

Answered by Claude31 in 785081022

Yes, you need MacOS 10.15:

Why V10_14 which is very old now (we are V14.4…)

If you sync with iOS 15, that's MacOS 12.

Aren't you confusing V10_14 with V14 ?

Accepted Answer

Yes, you need MacOS 10.15:

Why V10_14 which is very old now (we are V14.4…)

If you sync with iOS 15, that's MacOS 12.

Aren't you confusing V10_14 with V14 ?

Good Point, the package had the wrong information in it for platforms, and I'll update that.

I was getting 10.x mixed up with the new release.

Thanks

SwiftUI needs MacOS 10.15?
 
 
Q