Bridges the worlds of .NET with the native APIs of macOS, iOS, tvOS, and watchOS.
Перейти к файлу
Rolf Bjarne Kvinge c8e3b94f06
[msbuild] Fix detecting already signed executables. (#3743)
The MSBuild tasks will codesign an executable if the executable's timestamp is
later than `_CodeSignature/CodeResources`'s timestamp (or if
`_CodeSignature/CodeResources` doesn't exist).

Unfortunately, the codesign executable modifies both of those files, and the
executable last. This means that even just after running codesign, the
executable's timestamp might be later than `_CodeSignature/CodeResources`'s
timestamp (due to HFS+'s one-second timestamp resolution, this might happen
all within the same second, which means that this is a random issue: the
problem only occurs if the executable was modified at least a second later
than `_CodeSignature/CodeResources`.)

So make sure to touch `_CodeSignature/CodeResources` after running codesign,
so that the next time a build occurs (with no modifications), we don't resign
needlessly.

Fixes this (random) test failure when running the MSBuild tests:

    1) Test Failure : Xamarin.iOS.Tasks.TargetTests.RebuildExecutable_NoModifications
         #1: ../MySingleView/bin/iPhoneSimulator/Debug/MySingleView.app/MySingleView
      Expected: 2017-11-30 10:04:20.000
      But was:  2017-11-30 10:04:22.000

Fixes https://github.com/xamarin/maccore/issues/592.
2018-03-19 15:34:24 +01:00
builds Remove the tvos cross compiler, use the normal ios cross compiler instead, they are the same. (#3492) 2018-02-16 10:45:22 +01:00
docs [msbuild] Use a response file in 'MTouchTaskBase' (#3635) 2018-03-05 11:59:53 -05:00
external Bump mono to get fix for mono/mono#7302. (#3729) 2018-03-13 08:12:17 -05:00
fsharp [builds] Don't install symlinks to iOS/Classic assemblies in the iOS/Unified profile. (#844) 2016-09-16 20:02:25 +02:00
jenkins [jenkins] Clean keystore on bots before running tests (#3754) 2018-03-15 12:25:53 -05:00
mk Fix maccore bump hash. (#3699) 2018-03-08 17:30:19 +01:00
mono/4.5 [build] Add .NET Core open source key 2017-03-14 11:47:06 +01:00
msbuild [msbuild] Fix detecting already signed executables. (#3743) 2018-03-19 15:34:24 +01:00
opentk PMCS Removal (#3197) 2018-02-05 10:26:29 -05:00
runtime Fix download path for mono (#3681) 2018-03-07 14:46:59 +01:00
src [foundation] Remove duplicated code from UnmanagedMemoryStreamWithRef (#3769) 2018-03-19 08:51:10 -05:00
tests [link sdk] Tweak test to work when running as an extension. (#3764) 2018-03-16 23:03:35 +01:00
tools [generator/registrar] Add support for blocks in static protocol members. Fixes #41226. (#3763) 2018-03-16 23:01:56 +01:00
.gitignore Update .gitignore with directory newer versions of VSfM creates. (#3225) 2018-01-15 18:54:02 +01:00
.gitmodules Bump mono to head of 2017-12 (#3493) 2018-02-15 13:43:52 -05:00
CODEOWNERS Update CODEOWNERS files (#3455) 2018-02-12 08:13:44 -05:00
ISSUE_TEMPLATE.md Add initial github issue template (#3080) 2017-12-06 15:03:12 -05:00
LICENSE Adjust license to match requested format 2016-04-25 16:38:57 -04:00
Make.config Build with CSC instead of MCS (#3393) 2018-02-22 11:07:33 -06:00
Makefile Include the mono version in Versions.plist. (#3003) 2017-11-14 19:40:11 +01:00
NuGet.config Add a 'repositorypath' to our NuGet.Config and update paths everywhere accordingly. (#1110) 2016-11-04 09:13:33 +01:00
README.md Update README.md (#3587) 2018-02-26 14:31:49 -05:00
Versions-ios.plist.in [mtouch/mmp] Give users more control over optimizations, and share more code between mtouch and mmp. (#3242) 2018-01-23 11:33:48 +01:00
Versions-mac.plist.in [mtouch/mmp] Give users more control over optimizations, and share more code between mtouch and mmp. (#3242) 2018-01-23 11:33:48 +01:00
Xamarin.Mac.sln [linker] Update VS files (solution and .csproj) to build properly with the new linker sources location (#2740) 2017-09-21 16:40:40 -04:00
Xamarin.iOS.sln Fix solution after some test projects moved. (#3416) 2018-02-07 22:06:26 +01:00
banner.png [README] Add Xamarin.iOS + Xamarin.Mac banner (#1665) 2017-02-08 17:42:48 -05:00
configure Emit configure arguments into configure.inc to make it easier to re-run it. 2016-05-27 15:37:21 -04:00
product.snk Add our mono runtimes to the build. 2016-04-24 14:47:24 -04:00
system-dependencies.sh [system-dependencies] simplify mono version check (#3596) 2018-02-26 14:45:26 +01: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

Status
master xamarin-macios-builds-master

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:

Feedback

Gitter

License

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