Bridges the worlds of .NET with the native APIs of macOS, iOS, tvOS, and watchOS.
Перейти к файлу
Filip Navara 0622ae4af2
Fix GC issue on CoreCLR where finalized objects are returned by Runtime.GetNSObject (#14070)
Fixes race condition where finalized objects are resurrected by the finalizer and for a brief moment `Runtime.TryGetNSObject`/`Runtime.GetNSObject` would return them even though a new instance is supposed to be used. In multi-threaded scenarios this would result in reused objects (same native handle) to suddenly become invalid when the UI thread processes the delayed finalization.

Fixes #13921
2022-02-08 11:08:44 +01:00
.github/workflows [Github Actions] Get rid of annoying failure emails (#13028) 2021-10-21 11:40:38 -05:00
Localize [Localization] Pulling New Localization Translations 1627849748 (#13639) 2022-01-04 08:37:41 -06:00
builds [main] Update dependencies from dotnet/runtime (#13648) 2022-01-11 07:21:19 +01:00
docs [src] Remove the ModelAttribute.AutoGeneratedName property in .NET. (#13619) 2021-12-22 21:28:19 +01:00
dotnet [dotnet] Include all files in the Resources subdirectory as bundle resources. Fixes #13808. (#14018) 2022-02-07 18:55:31 +01:00
eng Update dependencies from https://github.com/dotnet/installer build 20220206.1 (#14092) 2022-02-08 09:12:15 +01:00
external [AppKit/Foundation] Make the "Color" suffix consistent in NSColor and UIColor properties. Fixes #7945. (#14080) 2022-02-08 09:15:21 +01:00
fsharp
jenkins Rename any *OSX_SDK_VERSION variables to *MACOS_SDK_VERSION. (#13411) 2021-11-22 18:48:05 +01:00
mk [dotnet] Figure out where to publish files in the app bundle. Fixes #12572. (#13591) 2022-01-17 09:50:06 +01:00
mono
msbuild [msbuild] Rework code signing to sign everything at the end of the build. (#13956) 2022-02-08 10:41:51 +01:00
opentk [src] Rename MAC_* variables to MACOS_* variables. (#12998) 2021-10-18 07:24:37 +02:00
runtime [tools/runtime] Enable exception marshalling by default for all platforms in .NET. (#14051) 2022-02-07 14:12:32 +01:00
src Fix GC issue on CoreCLR where finalized objects are returned by Runtime.GetNSObject (#14070) 2022-02-08 11:08:44 +01:00
tests Fix GC issue on CoreCLR where finalized objects are returned by Runtime.GetNSObject (#14070) 2022-02-08 11:08:44 +01:00
tools [tools] Remove XAMCORE_4_0 condition in linker source. (#14091) 2022-02-08 10:38:49 +01:00
.editorconfig [Build] Do not show the deprecated warnings. (#12683) 2021-09-14 10:30:41 -04:00
.gitignore [build] Use arcade dependency management tooling (#10890) 2021-04-02 00:02:27 -04:00
.gitmodules Submodule MonoTouch.Dialog. (#13058) 2021-10-26 08:18:34 +02:00
CODEOWNERS [msbuild] Add @mauroa as a code owner. (#12766) 2021-09-17 13:19:03 -04:00
ISSUE_TEMPLATE.md
LICENSE
Make.config [main] Update dependencies from dotnet/installer (#13871) 2022-01-27 10:13:42 +01:00
Make.versions Bump versions to help on the windows insertion and installer 2022-01-20 15:11:28 -05:00
Makefile [dotnet] Add Mac Catalyst to the list of versions we list in 'make check-system'. (#12747) 2021-09-16 15:02:55 +02:00
NOTICE.txt
NuGet.config [main] Update dependencies from dotnet/installer (#13353) 2021-11-15 22:54:55 +01:00
README.md [api-diff] Bump to latest stable (xcode13.1 branch) + add support for different reference api urls for legacy iOS and Mac. (#13292) 2021-11-08 16:15:58 +01:00
SECURITY.MD
Versions-ios.plist.in [main] Add Xcode 13.2 Support (#13643) 2022-01-03 09:28:00 -05:00
Versions-mac.plist.in [main] Add Xcode 13.2 Support (#13643) 2022-01-03 09:28:00 -05:00
Xamarin.Mac.sln
Xamarin.iOS.sln [tests] Make the mtouch test project reference the actual mtouch project. (#11400) 2021-05-04 14:10:03 +02:00
banner.png
configure Remove the option of disabling the windows-specific part of the .NET build. (#11971) 2021-06-17 19:55:55 +02:00
global.json [build] Use arcade dependency management tooling (#10890) 2021-04-02 00:02:27 -04:00
mac-entitlements.plist
product.snk
system-dependencies.sh Rename any *OSX_SDK_VERSION variables to *MACOS_SDK_VERSION. (#13411) 2021-11-22 18:48:05 +01:00
versions-check.csharp

README.md

Xamarin.iOS + Xamarin.Mac logo

Xamarin.iOS & Xamarin.Mac

Welcome!

This module is the main repository for both Xamarin.iOS and Xamarin.Mac.

These SDKs allow us to create native iOS, tvOS, watchOS and macOS applications using the same UI controls we would in Objective-C and Xcode, except with the flexibility and elegance of a modern language (C#), the power of the .NET Base Class Library (BCL), and two first-class IDEs—Visual Studio for Mac and Visual Studio—at our fingertips.

This repository is where we do development for the Xamarin.iOS and Xamarin.Mac SDKs. There are a few ways that you can contribute, for example:

Contributing

If you are interested in fixing issues and contributing directly to the code base, please see the document How to Contribute, which covers the following:

Downloads

The preferred method for installing Xamarin.iOS and Mac is to use the Visual Studio installers (Windows, Mac).

The team also strongly recommends using the latest Xamarin SDK and Xcode whenever possible.

However, we provide links to older Xamarin.iOS and Mac packages for macOS downgrades and build machine configuration.

Version Xamarin.iOS Xamarin.Mac
d16.11 (Xcode 13.1) 15.2.0.1 8.2.0.1
d16.11 (Xcode 13.0) 15.0.0.6 N/A
d16.10 14.20.0.24 7.14.0.27
d16.9 (Xcode 12.5) 14.16.0.5 7.10.0.5
d16.9 14.14.2.5 7.8.2.5
d16.8 (Xcode 12.4) 14.10.0.4 7.4.0.10
d16.8 (Xcode 12.3) 14.8.0.3 7.2.0.3
d16.8 (Xcode 12.2) 14.6.0.15 7.0.0.15
d16.8 14.4.1.3 6.22.1.26
d16.7 14.2.0.12 6.20.2.2
d16.6 13.18.2.1 6.18.2.1
d16.5 13.16.0.13 6.16.0.13
d16.4 13.10.0.21 6.10.0.21
d16.3 13.6.0.12 6.6.0.12
d16.2 12.14.0.114 5.14.0.114
d16.1 12.10.0.157 5.10.0.157
d16.0 12.8.0.2 5.8.0.0

Feedback

Discord

License

Copyright (c) .NET Foundation Contributors. All rights reserved. Licensed under the MIT License.