Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add building iOS-like native libraries with NativeAOT #43397

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ ms.date: 11/11/2024

# Building native libraries for iOS-like platforms
ivanpovazan marked this conversation as resolved.
Show resolved Hide resolved

Starting from .NET 9, Native AOT officially supports publishing .NET class libraries for iOS-like platforms.
Starting from .NET 9, Native AOT officially supports publishing .NET class libraries that don't depend on iOS workloads for iOS-like platforms.
ivanpovazan marked this conversation as resolved.
Show resolved Hide resolved
ivanpovazan marked this conversation as resolved.
Show resolved Hide resolved
This enables users to create self-contained native libraries that can be consumed from iOS, Mac Catalyst and tvOS applications.
ivanpovazan marked this conversation as resolved.
Show resolved Hide resolved
ivanpovazan marked this conversation as resolved.
Show resolved Hide resolved

> [!IMPORTANT]
> This approach does not come with the built-in Objective-C interoperability support and additional code adaptations may be required (like: marshalling reference type arguments) to achieve interoperability.
ivanpovazan marked this conversation as resolved.
Show resolved Hide resolved

## Building shared libraries
ivanpovazan marked this conversation as resolved.
Show resolved Hide resolved

This section describes steps to create a simple .NET Class Library project with NativeAOT support.
Expand Down
Loading