From 25bacc515253733de8d02e36fa1598ee442c823d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 1 Jan 2026 21:06:41 +0000 Subject: [PATCH 1/2] Initial plan From c1d88cea19d7124532e3ab57f545df4c825438ab Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 1 Jan 2026 21:10:44 +0000 Subject: [PATCH 2/2] update target frameworks to net10 Co-authored-by: akinbender <40242943+akinbender@users.noreply.github.com> --- README.md | 10 +++++----- .../UsbSerialForMacOS.MauiSample.csproj | 6 +++--- UsbSerialForMacOS/UsbSerialForMacOS.csproj | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c08176b..4e68899 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,11 @@ [![NuGet](https://img.shields.io/nuget/v/UsbSerialForMacOS.svg?label=NuGet&logo=nuget)](https://www.nuget.org/packages/UsbSerialForMacOS/) **UsbSerialForMacOS** is a .NET binding for a native Swift library that enables serial port communication on macOS and Mac Catalyst. -It allows .NET MAUI and .NET 8+ apps to enumerate, open, read from, and write to serial devices (such as USB-to-serial adapters and 3D printers) using a simple C# API. +It allows .NET MAUI and .NET 10+ apps to enumerate, open, read from, and write to serial devices (such as USB-to-serial adapters and 3D printers) using a simple C# API. ## Usage -1. Add the NuGet package to your .NET 8+ Mac or Mac Catalyst project. +1. Add the NuGet package to your .NET 10+ Mac or Mac Catalyst project. 2. Add following to Entitlements.plist ```xml @@ -36,7 +36,7 @@ if (ports.Length > 0) | Platform | Target Framework | Architectures | Minimum macOS Version | |-------------- |----------------------|-----------------------|-----------------------| -| macOS | net8.0-macos | x64, arm64 | 15.0+ | -| Mac Catalyst | net8.0-maccatalyst | x64, arm64 | 18.0+ | +| macOS | net10.0-macos | x64, arm64 | 15.0+ | +| Mac Catalyst | net10.0-maccatalyst | x64, arm64 | 18.0+ | -> **.NET 8.0 or higher is required. Native libraries are included for both macOS and Mac Catalyst.** \ No newline at end of file +> **.NET 10.0 or higher is required. Native libraries are included for both macOS and Mac Catalyst.** diff --git a/UsbSerialForMacOS.MauiSample/UsbSerialForMacOS.MauiSample.csproj b/UsbSerialForMacOS.MauiSample/UsbSerialForMacOS.MauiSample.csproj index e57764e..6e84076 100644 --- a/UsbSerialForMacOS.MauiSample/UsbSerialForMacOS.MauiSample.csproj +++ b/UsbSerialForMacOS.MauiSample/UsbSerialForMacOS.MauiSample.csproj @@ -1,10 +1,10 @@  - net8.0-maccatalyst + net10.0-maccatalyst maccatalyst-x64;maccatalyst-arm64 - +