Bridges the worlds of .NET with the native APIs of macOS, iOS, tvOS, and watchOS.
Перейти к файлу
Rolf Bjarne Kvinge 98788f8558
[dotnet] Add the Sdk build files to the Sdk NuGet. (#8644)
Also add a very simple net5 test app (which doesn't build yet).

Current (expected) build result:

    > xamarin-macios/tests/dotnet/MySingleView $ dotnet build
    Microsoft (R) Build Engine version 16.7.0-preview-20258-02+26f6d1d87 for .NET
    Copyright (C) Microsoft Corporation. All rights reserved.

      Determining projects to restore...
    xamarin-macios/tests/dotnet/MySingleView/MySingleView.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.ios-x64 with version (= 5.0.0-preview.6.20264.1)
    xamarin-macios/tests/dotnet/MySingleView/MySingleView.csproj : error NU1102:   - Found 1 version(s) in nuget.org [ Nearest version: 5.0.0-preview.4.20251.6 ]
    xamarin-macios/tests/dotnet/MySingleView/MySingleView.csproj : error NU1102:   - Found 1 version(s) in Nuget Official [ Nearest version: 5.0.0-preview.4.20251.6 ]
    xamarin-macios/tests/dotnet/MySingleView/MySingleView.csproj : error NU1102:   - Found 0 version(s) in local-dotnet-feed
    xamarin-macios/tests/dotnet/MySingleView/MySingleView.csproj : error NU1102:   - Found 0 version(s) in Dotnet arcade
      Failed to restore xamarin-macios/tests/dotnet/MySingleView/MySingleView.csproj (in 951 ms).

This fails because the .NET build logic isn't being told that it should look
for the mono runtime packs instead of the .NET Core runtime packs.
2020-05-25 15:22:29 +02:00
builds A few minor improvements to speed up rebuilds. (#8597) 2020-05-14 16:45:23 +02:00
docs [mtouch] Always enable experimental-xforms-product-type (#8425) 2020-04-17 17:18:20 -04:00
dotnet [dotnet] Add the Sdk build files to the Sdk NuGet. (#8644) 2020-05-25 15:22:29 +02:00
external [msbuild] Unify most of the DetectSdkLocations task between Xamarin.Mac and Xamarin.iOS. (#8462) 2020-04-28 14:55:35 +02:00
fsharp Add config file for libmono-native dllmap 2019-03-13 00:34:47 +01:00
jenkins [jenkins] Timeout the tests on older macOS bots after 15 minutes. (#8637) 2020-05-21 17:27:53 +02:00
mk [master] Merge Xcode11.5 Support and include provisionator changes (#8643) 2020-05-21 12:16:33 -04:00
mono Add config file for libmono-native dllmap 2019-03-13 00:34:47 +01:00
msbuild [msbuild] missing localization comments - part 2 (#8631) 2020-05-21 08:11:46 -05:00
opentk [xcode11] Stop building/shipping 32-bit Xamarin.Mac bits. Partial fix for #6300. (#6393) 2019-07-15 10:19:24 -07:00
runtime [runtime/mmp] Put libxammac and xamarin headers for Xamarin.Mac in the same directory as the corresponding files for Xamarin.iOS. (#8542) 2020-05-08 13:04:32 +02:00
src [master] Merge Xcode11.5 Support and include provisionator changes (#8643) 2020-05-21 12:16:33 -04:00
tests [dotnet] Add the Sdk build files to the Sdk NuGet. (#8644) 2020-05-25 15:22:29 +02:00
tools [mmp] Use the GetPlatformFrameworkDirectory function to avoid duplicating code. (#8648) 2020-05-25 09:34:22 +02:00
.editorconfig Add .editorconfig (#8058) 2020-03-10 11:24:46 -04:00
.gitignore [Devops] Move to use provisionator to get xcode. (#8570) 2020-05-12 10:59:53 -04:00
.gitmodules Merge xcode11 head 2019-06-12 00:44:31 -04:00
CODEOWNERS Update CODEOWNERS 2020-05-11 12:30:25 -03:00
ISSUE_TEMPLATE.md Instruction to find the build logs (#6871) 2019-08-29 10:42:14 -04:00
LICENSE Adjust license to match requested format 2016-04-25 16:38:57 -04:00
Make.config [master] Bump API diff to latest released stable (#8654) 2020-05-21 20:46:59 -04:00
Make.versions [master] Merge Xcode11.5 Support and include provisionator changes (#8643) 2020-05-21 12:16:33 -04:00
Makefile A few minor improvements to speed up rebuilds. (#8597) 2020-05-14 16:45:23 +02:00
NuGet.config [Localization] Add generator error messages (#7531) 2020-01-08 16:07:46 -05:00
README.md Invert order of download table to be most recent first (#8362) 2020-04-13 11:33:46 -05:00
SECURITY.MD Add SECURITY.MD to repo (as suggested by OSPO) (#7019) 2019-09-19 17:44:22 -04:00
Versions-ios.plist.in [master] Merge Xcode11.5 Support and include provisionator changes (#8643) 2020-05-21 12:16:33 -04:00
Versions-mac.plist.in Merge remote-tracking branch 'origin/xcode11' into master-xcode11 2019-09-13 18:35:18 +02:00
Xamarin.Mac.sln Fix path to dont link project in Xamarin.Mac.sln. (#8109) 2020-03-16 09:42:52 +01:00
Xamarin.iOS.sln [src] Use `Runtime.NSLog` instead of `System.Console.WriteLine` (#8626) 2020-05-20 13:38:44 -04:00
banner.png [README] Add Xamarin.iOS + Xamarin.Mac banner (#1665) 2017-02-08 17:42:48 -05:00
configure Only build dotnet/ if dotnet is enabled. (#8614) 2020-05-20 09:26:27 +02:00
mac-entitlements.plist Implement notarization. (#6928) 2019-09-09 00:34:11 -07:00
product.snk Add our mono runtimes to the build. 2016-04-24 14:47:24 -04:00
system-dependencies.sh [system-dependencies] Remove the 'com.apple.quarantine' attribute from the downloaded dotnet sdk. (#8617) 2020-05-20 15:04:10 +02:00
versions-check.csharp [Versions-ios.plist] watchOS started at 1.0 (#1328) 2016-12-13 10:52:58 +01:00

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.

Platform Link
Xamarin.iOS d16.5 13.16.0.13
Xamarin.Mac d16.5 6.16.0.13
Xamarin.iOS d16.4 13.10.0.21
Xamarin.Mac d16.4 6.10.0.21
Xamarin.iOS d16.3 13.6.0.12
Xamarin.Mac d16.3 6.6.0.12
Xamarin.iOS d16.2 12.14.0.114
Xamarin.Mac d16.2 5.14.0.114
Xamarin.iOS d16.1 12.10.0.157
Xamarin.Mac d16.1 5.10.0.157
Xamarin.iOS d16.0 12.8.0.2
Xamarin.Mac d16.0 5.8.0.0

Feedback

Gitter

License

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