Skip to content

Commit

Permalink
Merge pull request #3 from shugaoye/2nd/chapter07
Browse files Browse the repository at this point in the history
Updated README.md
  • Loading branch information
passxyz authored Jun 1, 2024
2 parents 8e48104 + 4f88b0d commit ae58373
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# .NET MAUI Cross-Platform Application Development

**fingerprint** - feature branch of fingerprint support, created from tag `NET7_CH06_V1`

## How to build

- Windows, Android and iOS can be built using Visual Studio 2022 on Windows
Expand All @@ -10,19 +8,20 @@

### Build and run on Mac

We cannot build and run .NET MAUI app using Visual Studio for Mac yet. To build and run iOS and macOS app on Mac, we need to use command line.
To build and run iOS and macOS app on Mac, we need to use command line.

#### Build an iOS app with .NET CLI

`dotnet build -t:Run -f net7.0-ios`
`dotnet build -t:Run -f net8.0-ios`

#### Launch the iOS app on a specific simulator

`dotnet build -t:Run -f net7.0-ios -p:_DeviceName=:v2:udid=E25BBE37-69BA-4720-B6FD-D54C97791E79`
`dotnet build -t:Run -f net8.0-ios -p:_DeviceName=:v2:udid=E25BBE37-69BA-4720-B6FD-D54C97791E79`

#### Build a Mac Catalyst app with .NET CLI

`dotnet build -t:Run -f net7.0-maccatalyst`
`dotnet build -t:Run -f net8.0-maccatalyst`

Reference:

- [mauibiometrics](https://github.com/cedricgabrang/mauibiometrics)

0 comments on commit ae58373

Please sign in to comment.