From a8abbd4caa81ed7162e9f5bff9941299866414ec Mon Sep 17 00:00:00 2001 From: Jay Wren Date: Wed, 27 Mar 2024 18:05:40 -0400 Subject: [PATCH] update docs with macos platform --- Contributors.md | 1 + user-manual/Basics/HelloWorld.md | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Contributors.md b/Contributors.md index 6abe660..f7c4a7d 100644 --- a/Contributors.md +++ b/Contributors.md @@ -3,3 +3,4 @@ - [david-swift](https://github.com/david-swift) - [Greg Cotten](https://github.com/gregcotten) - [Zev Eisenberg](https://github.com/ZevEisenberg) +- [Jay Wren](https://github.com/jrwren) diff --git a/user-manual/Basics/HelloWorld.md b/user-manual/Basics/HelloWorld.md index 57e3d49..0e63462 100644 --- a/user-manual/Basics/HelloWorld.md +++ b/user-manual/Basics/HelloWorld.md @@ -29,6 +29,12 @@ targets: [ ] ``` +4. On macos you may need to set the platform version. Add the following after `name: "HelloWorld",`: + +```swift +platforms: [.macOS(.v10_15)], +``` + ## Create the App 1. Navigate to `Sources/main.swift`. 2. An app that uses the _Adwaita_ framework has a structure that conforms to the `App` protocol. The `scene` property returns one or more windows which provide content for display. An `@main` attribute marks it as the entry point of the app.