Bridges the worlds of .NET with the native APIs of macOS, iOS, tvOS, and watchOS.
Перейти к файлу
Rolf Bjarne Kvinge fc8fb4818c
[runtime] Set the current directory to the root directory of the app bundle for all platforms in .NET. (#12104)
To have consistent behavior in .NET, set the current directory to the root of
the app bundle for all platforms.

This is a breaking change for legacy Xamarin.Mac, which used to set the
current directory to the Contents/Resources subdirectory, but there's a simple
workaround for customers that depend on the old behavior (change it in Main
themselves), and I believe the consistent experience across platforms warrants
this change.

Note that we already had a breaking change here for macOS/.NET: we were
(unintentionally) setting the current directory to the Contents/MonoBundle
directory, which neither matched mobile platforms, nor the legacy Xamarin.Mac
behavior.

This solves the problem of what to do for Mac Catalyst apps, because there's
no need to choose between the macOS or the mobile behavior, since they're the
same.

This required changing the launch of macOS apps using CoreCLR to pass the full
path to the entry assembly, since the entry assembly isn't in the current
directory anymore.
2021-07-14 17:42:49 +02:00
.github/workflows [Actions ] Add github actions to the ignore list (#12075) 2021-07-07 11:50:50 -04:00
Localize [Localization] Pulling New Localization Translations 995001664 (#12078) 2021-07-09 16:22:28 -04:00
builds [builds] Use the dotnet-install.sh script to install .NET locally. (#12050) 2021-06-30 14:02:12 -04:00
docs [configure] Add option to use a locally built dotnet/runtime. (#11643) 2021-05-21 22:18:25 +02:00
dotnet [dotnet] no default $(RuntimeIdentifier) for class libraries (#12093) 2021-07-13 13:14:08 +02:00
eng [main] Update dependencies from dotnet/installer (#12036) 2021-07-01 08:37:48 +02:00
external Bump Touch.Unit. (#11648) 2021-05-21 15:12:09 +02:00
fsharp Add config file for libmono-native dllmap 2019-03-13 00:34:47 +01:00
jenkins [CI] Re-enable API and Generator diff. (#11187) 2021-04-29 17:53:06 -04:00
mk Bump maccore to get mlaunch fix. (#11924) 2021-06-14 17:17:49 -04:00
mono Add config file for libmono-native dllmap 2019-03-13 00:34:47 +01:00
msbuild Updated Xamarin.Messaging version (#12012) 2021-06-29 10:22:54 -04:00
opentk Xamarin.Mac native Apple Silicon targetting support (#10115) 2021-03-17 21:48:02 -04:00
runtime [runtime] Set the current directory to the root directory of the app bundle for all platforms in .NET. (#12104) 2021-07-14 17:42:49 +02:00
src [runtime] Set the current directory to the root directory of the app bundle for all platforms in .NET. (#12104) 2021-07-14 17:42:49 +02:00
tests [runtime] Set the current directory to the root directory of the app bundle for all platforms in .NET. (#12104) 2021-07-14 17:42:49 +02:00
tools [CI] Reverting the Cron job (#12071) 2021-07-02 21:59:32 -04:00
.editorconfig [editorconfig] Set the charset to utf-8. (#11795) 2021-06-03 18:45:29 +02:00
.gitignore [build] Use arcade dependency management tooling (#10890) 2021-04-02 00:02:27 -04:00
.gitmodules Fix submodules and disable AddressBookTests in MacCat 2021-04-06 20:47:17 -04:00
CODEOWNERS [tests] Merge the msbuild-mac tests into the Xamarin.MacDev.Tests project. (#10129) 2020-12-04 13:05:51 +01: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 [xcode13] Bump PR to Xcode 13 Beta 2 (#12017) 2021-06-28 17:54:52 -04:00
Make.versions Bump to Xcode 13 beta 1. (#11861) 2021-06-10 20:07:20 -04:00
Makefile Remove the option of disabling the windows-specific part of the .NET build. (#11971) 2021-06-17 19:55:55 +02:00
NOTICE.txt Add NOTICE.txt and cgmanifest tool (#8843) 2020-06-12 14:30:21 -05:00
NuGet.config [tests] Add a performance test using BenchmarkDotNet. (#11298) 2021-04-23 13:29:06 +02:00
README.md Update the README with download links for d16-8 and d16-9 packages. (#11529) 2021-05-13 18:37:12 +02: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 Bump to Xcode 13 beta 1. (#11861) 2021-06-10 20:07:20 -04:00
Versions-mac.plist.in Bump to Xcode 13 beta 1. (#11861) 2021-06-10 20:07:20 -04: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 [tests] Make the mtouch test project reference the actual mtouch project. (#11400) 2021-05-04 14:10:03 +02:00
banner.png [README] Add Xamarin.iOS + Xamarin.Mac banner (#1665) 2017-02-08 17:42:48 -05:00
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 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 [Build] Add a rule to execute the first run of Xcode. Why copy paste a command? (#11180) 2021-04-09 21:41:29 -04:00
versions-check.csharp [versions-check.csharp] Improve this script a bit (#10323) 2021-01-11 10:47:57 +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.

Version Xamarin.iOS Xamarin.Mac
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.