Library / SDK
dotnet/macios avatar
dotnet/macios

dotnet/macios: the Apple SDK bindings that put C# on an iPhone

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#

2,921 stars579 forksC#License varies

At a glance

What is it?
Open source bindings for the iOS, Mac Catalyst, macOS and tvOS SDKs, shipped as .NET workloads and updated every time Apple ships an Xcode.
Who is it for?
This repository is the layer that decides how quickly a .NET developer can ship against a new Apple API, and the release list answers that plainly: every Xcode release produces a matching SDK build, currently Xcode 27.1 for .NET 10 (27.1.10018, released 2026-10-19) and Xcode 27.0 support, with .NET 11 RC 2 running alongside. That cadence is the whole product.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly C#, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • dotnet/macios2,921 ★ · +8
Star history
Repository2026-10-222026-11-25
dotnet/macios2.9k2.9k

8 Stars in the last 34 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Four SDKs from one repository

dotnet/macios is the main repository for four SDKs at once: .NET for iOS, .NET for Mac Catalyst, .NET for macOS and .NET for tvOS. The description puts it plainly, open source bindings of the Apple SDKs for use with .NET managed languages such as C#.

The value proposition in the README is that you get the same native UI controls you would use in Objective-C and Xcode, with the .NET base class library and first-class editors available instead. The bindings are C#, the repository has around 2,900 stars and 578 forks, `main` is the default branch, and the last push was on 2026-11-02.

All four are part of .NET MAUI, introduced in May 2022 as part of .NET 6, and can also be used on their own for native iOS and macOS development with .NET. That second option is the one people underrate, since MAUI is not required to write a native app in C#.

Installing the workloads with one dotnet command

Installation is a single CLI invocation naming all four platforms.

sh
dotnet workload install ios macos tvos maccatalyst

The workload system is how modern .NET delivers SDKs that target a specific platform, and it matters here because these SDKs have to be reissued whenever Apple changes its toolchain. Legacy Xamarin.iOS and Xamarin.Mac downloads live in a separate `DOWNLOADS.md` and are marked discontinued.

The latest release tag in source is dotnet-10.0.1xx-xcode27.1-10018, published 2026-10-19.

A release for every Xcode, and a preview track beside it

The release list is where this repository tells you what it actually is: a compatibility layer with a release cadence tied to Apple's. The three most recent releases show the structure: .NET 10 with Xcode 27.1 support (27.1.10018) on 2026-10-19, .NET 11.0.1xx RC 2 (12212) on 2026-10-13, and .NET 10 with Xcode 27.0 support (27.0.10722) on 2026-09-29. Releases are tied to Xcode versions, with a .NET 11 release candidate running alongside.

Building from source with make and a generated global.json

Contributing means building the SDKs yourself, and the repository uses a Makefile plus Arcade rather than a plain dotnet build. The tree shows the pieces: `builds/` for bootstrapping the SDK, `mk/` for make includes, `msbuild/` for the MSBuild logic, `src/` for the bindings themselves, `runtime/` for the runtime bits, and `external/` for git submodules.

The `Makefile` in the tree is worth a look because it shows the project's own assumptions. It skips directories needing native compilation when Xcode is absent via a `NO_XCODE` guard, adds the `dotnet` subdirectory only when the host is Darwin, and its `world` target resets versions, builds everything in parallel with `all -j8`, installs, and then prints the list of workloads that were built.

It also has a rule that generates `global.json`, so that NuGet uses the exact .NET version configured in `Make.config`. A `check-system` target runs `system-dependencies.sh` before anything else, which is the project's way of failing early when a required tool is missing.

Xamarin support ended and the docs point elsewhere

The README states the support situation without hedging. .NET for iOS, Mac Catalyst, macOS and tvOS have been part of .NET MAUI since May 2022 and follow the MAUI support policy. Support for Xamarin.iOS and Xamarin.Mac ended on 2024-05-01 for all Xamarin SDKs including Xamarin.Forms, with Android API 34 and the Xcode 15 SDKs being the final versions those SDKs targeted.

So the lineage runs Xamarin.iOS and Xamarin.Mac, then the standalone .NET for Apple platform SDKs, then MAUI layered on top.

Contribution guidance lives in the wiki rather than the repository: how to build and run from source, the development workflow including work branches, debugging applications built from source, running the tests, coding guidelines and how to submit a pull request. The test documentation is in the repository under `tests/`. Bugs, feature requests and votes all go through GitHub issues, and design discussion happens on Discord.

What the repository does not decide for you

Here is the honest boundary. These SDKs do not remove Xcode. They do not remove code signing, provisioning profiles, app review or distribution. They do not make a C# app a native binary in the sense that Swift or Objective-C would produce one without the bindings underneath.

What they remove is the impedance mismatch. Instead of writing a Swift class library and bridging it, you write a binding or use an existing one and stay in C#. The cost is that you inherit Apple's release schedule, and that a new Xcode release can mean waiting for a matching SDK build.

That trade is easiest to judge by looking at what the releases are about. The recent releases are Xcode support builds and a .NET 11 release candidate, with version numbers such as 27.1.10018 tracking the Xcode version. If you ship on Apple's cadence, that is a feature. If you ship on your own, the workload set pinning is the thing to plan around.

Editorial conclusion

This repository is the layer that decides how quickly a .NET developer can ship against a new Apple API, and the release list answers that plainly: every Xcode release produces a matching SDK build, currently Xcode 27.1 for .NET 10 (27.1.10018, released 2026-10-19) and Xcode 27.0 support, with .NET 11 RC 2 running alongside. That cadence is the whole product. Four workloads install from one command, the bindings are open source for use from C#, and MAUI sits on top rather than being the only way in. The catch is that these SDKs follow Apple's release schedule, so a new Xcode can mean waiting for a matching SDK build. Legacy Xamarin downloads are handled in a separate document since that path ended on 2024-05-01. Start by installing the workloads, then read the build and run page in the wiki before touching a custom native binding.

Frequently asked questions

How do I install the .NET SDKs for iOS, macOS and tvOS?

Use the .NET CLI to install the workloads: `dotnet workload install ios macos tvos maccatalyst`. The exact SDK build is then pinned by the workload set version, and release tags are named after the Xcode version they support, for example Xcode 27.1. Legacy Xamarin.iOS and Xamarin.Mac installers are documented separately and are discontinued.

Do I need .NET MAUI to build an iOS app in C#?

No. The README states that these SDKs are part of .NET MAUI and may also be used independently for native iOS and macOS development with .NET. MAUI sits on top of the same base SDKs.

Which Apple platforms does this repository support?

Four SDKs: .NET for iOS, .NET for Mac Catalyst, .NET for macOS and .NET for tvOS.

Official sources

  1. dotnet/macios on GitHub
  2. Issues
  3. README
  4. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/dotnet-macios.svg)](https://hysenlabs.com/projects/dotnet-macios)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/dotnet-macios.svg)](https://hysenlabs.com/projects/dotnet-macios)

Was this useful?