There is no information about the macOS platform. Has AOT supported it, or is there any plan?
Asked
Active
Viewed 1,022 times
3 Answers
5
At time of writing, the only supported targets according to MS docs are Windows and Linux - see https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/#platformarchitecture-restrictions
This doesn't answer your question about whether there are plans to support it on MacOS - maybe someone else has that info.

Jay
- 9,561
- 7
- 51
- 72
0
At the moment the official docs state Native AOT support only on Windows and Linux for .NET 7:
The following table shows supported compilation targets when targeting .NET 7.
Platform | Supported architecture |
---|---|
Windows | x64, Arm64 |
Linux | x64, Arm64 |
But based on the issues/discussions in the github repo (for example this, this and especially this one) the working is going on for future releases to support Native AOT on macOS.

Guru Stron
- 102,774
- 10
- 95
- 132