Граф коммитов

17039 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 8b888f0375
[dotnet] Rename packs to contain target framework. (#19765)
This is the first step towards [multi-targeting support][1]. In order to
support multi-targeting, it must be possible to install several versions of
our packs simultaneously, and that also means that it becomes a lot easier to
visualize and work with the version we want to support if the packs were named
in a helpful way.

In particular, this PR changes the sdk, ref and runtime pack names to contain
the target framework + target platform version.

This will be the new names:

* iOS

    * Microsoft.iOS.Sdk.net8.0_17.2
    * Microsoft.iOS.Ref.net8.0_17.2
    * Microsoft.iOS.Runtime.ios-arm64.net8.0_17.2
    * Microsoft.iOS.Runtime.iossimulator-arm64.net8.0_17.2
    * Microsoft.iOS.Runtime.iossimulator-x64.net8.0_17.2

* tvOS

    * Microsoft.tvOS.Sdk.net8.0_17.2
    * Microsoft.tvOS.Ref.net8.0_17.2
    * Microsoft.tvOS.Runtime.ios-arm64.net8.0_17.2
    * Microsoft.tvOS.Runtime.iossimulator-arm64.net8.0_17.2
    * Microsoft.tvOS.Runtime.iossimulator-x64.net8.0_17.2

* Mac Catalyst

    * Microsoft.MacCatalyst.Sdk.net8.0_17.2
    * Microsoft.MacCatalyst.Ref.net8.0_17.2
    * Microsoft.MacCatalyst.Runtime.maccatalyst-x64.net8.0_17.2
    * Microsoft.MacCatalyst.Runtime.maccatalyst-arm64.net8.0_17.2

* macOS

    * Microsoft.macOS.Sdk.net8.0_14.2
    * Microsoft.macOS.Ref.net8.0_14.2
    * Microsoft.macOS.Runtime.osx-x64.net8.0_14.2
    * Microsoft.macOS.Runtime.osx-arm64.net8.0_14.2

There are two main benefits to renaming the packs:

* It becomes a lot easier to understand which versions we support when we
  support multi-targeting. For example, say we want to support:

	* net8.0-ios17.0
	* net8.0-ios17.2
	* net9.0-ios18.0

    In this case we'd ship packs for `Microsoft.iOS.Sdk.net8.0_17.0`,
    `Microsoft.iOS.Sdk.net8.0_17.2`, `Microsoft.iOS.Sdk.net9.0_18.0` (the
    exact version number for each pack wouldn't be important).

    If we didn't change the pack names, we'd need to track the exact versions
    of the Microsoft.iOS.Sdk pack, mapping them to the correct target
    framework + target platform version we want to support.

* It'll be possible to add maestro subscriptions between versions. Given the
  previous example:

	* net8.0-ios17.0
	* net8.0-ios17.2
	* net9.0-ios18.0

	The branch producing `net9.0-ios8.0` could have a maestro subscription on
	the branches producing `net7.0-ios17.0` and `net7.0-ios17.2`,
	automatically bumping the versions whenever those branches have any
	changes.

	This would be rather annoying to keep track of and bump manually.

[1]: https://github.com/xamarin/xamarin-macios/blob/main/docs/multi-target-framework.md
2024-02-19 13:14:20 +01:00
dotnet-maestro[bot] 8c59da0611
[main] Update dependencies from dotnet/installer (#20121)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer

- **Subscription**: 80cb9ffd-f92f-4fc8-9f8b-08dbca46abfb
- **Build**: 20240215.2
- **Date Produced**: February 15, 2024 4:23:16 PM UTC
- **Commit**: 124c9f84352a3f8950f69e0661c4983ec55be350
- **Branch**: refs/heads/release/8.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 8.0.103-servicing.24112.7 to 8.0.103-servicing.24115.2][10]
  - **Microsoft.NET.ILLink.Tasks**: [from 8.0.1 to 8.0.2][11]
  - **Microsoft.AspNetCore.App.Ref**: [from 8.0.1 to 8.0.2][12]
  - **Microsoft.NETCore.App.Ref**: [from 8.0.1 to 8.0.2][11]
  - **Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100**: [from 8.0.1 to 8.0.2][13]
  - **Microsoft.NETCore.App.Ref**: [from 8.0.1 to 8.0.2][11]

[10]: 43e7082a34...124c9f8435
[11]: https://dev.azure.com/dnceng/internal/_git/dotnet-runtime/branches?baseVersion=GCbf5e279d9239bfef5bb1b8d6212f1b971c434606&targetVersion=GC1381d5ebd2ab1f292848d5b19b80cf71ac332508&_a=files
[12]: https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore/branches?baseVersion=GC8e941eb42f819adb116b881195158b3887a70a1c&targetVersion=GCda7e9894ce22ef8cc02e5acc56e95a6f8cf8f644&_a=files
[13]: 201f4dae9d...2fc2ffd960

## Coherency Updates

The following updates ensure that dependencies with a *CoherentParentDependency*
attribute were produced in a build used as input to the parent dependency's build.
See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)

- **Coherency Updates**:
  - **Microsoft.NET.ILLink.Tasks**: from 8.0.1 to 8.0.2 (parent: Microsoft.Dotnet.Sdk.Internal)
  - **Microsoft.AspNetCore.App.Ref**: from 8.0.1 to 8.0.2 (parent: Microsoft.Dotnet.Sdk.Internal)
  - **Microsoft.NETCore.App.Ref**: from 8.0.1 to 8.0.2 (parent: Microsoft.Dotnet.Sdk.Internal)
  - **Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100**: from 8.0.1 to 8.0.2 (parent: Microsoft.NETCore.App.Ref)
  - **Microsoft.NETCore.App.Ref**: from 8.0.1 to 8.0.2 (parent: Microsoft.Dotnet.Sdk.Internal)
2024-02-19 08:52:49 +01:00
Manuel de la Pena af6a63949a
[Tests] Fix trim warnings tests (#20132)
Two changes:

1. Fix the tests by not using the Configuration.SourceRoot property. There is a bug in that code that returns diff paths in some bots.
2. Use Assert.Multiple for better error formatting.

---------

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2024-02-18 10:05:31 -05:00
Rolf Bjarne Kvinge da2525b7fb
[tests] Add test to keep track of trimmer warnings. (#20125)
Add test to keep track of trimmer warnings and to make sure we don't accidentally
introduce new ones.

Ref: https://github.com/xamarin/xamarin-macios/issues/10405
2024-02-16 16:53:12 +01:00
Rolf Bjarne Kvinge f392bbd3b2
[Accessibility] Make P/Invokes have blittable signatures. (#20124)
Contributes towards #15684.

---------

Co-authored-by: Alex Soto <alex@alexsoto.me>
2024-02-16 16:52:39 +01:00
dotnet-maestro[bot] 41a816e7ea
[main] Update dependencies from xamarin/xamarin-macios (#20094)
This pull request updates the following dependencies

## From https://github.com/xamarin/xamarin-macios

- **Subscription**: 3ba82e10-e94b-4c1c-df8b-08dc11e0730b
- **Build**: 20240212.13
- **Date Produced**: February 12, 2024 6:06:49 PM UTC
- **Commit**: 82bf12c9d7
- **Branch**: refs/heads/release/7.0.3xx

- **Updates**:
  - **Microsoft.MacCatalyst.Sdk**: [from 16.4.7134 to 16.4.7135][8]

[8]: 89166ac077...82bf12c9d7
2024-02-16 16:51:51 +01:00
Manuel de la Pena ee4ce5802a
[CI] Provide the real platform version to APIScan. (#20109)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2024-02-16 08:17:59 -05:00
Rolf Bjarne Kvinge 4cb499e256
[MediaAccessibility] Make P/Invokes have blittable signatures. (#20120)
Contributes towards #15684.
2024-02-16 13:26:05 +01:00
Rolf Bjarne Kvinge 217d0d7da2
[devops] Split the re-enabling of the macOS bot for Windows tests to its own job. (#20115)
Split the re-enabling of the macOS bot for the Windows tests to its own job,
so that we can stop running the tests job even if the reservation job failed.

---------

Co-authored-by: Alex Soto <alex@alexsoto.me>
2024-02-16 10:45:00 +01:00
Rolf Bjarne Kvinge f7f53b741b
[tests] Verify that we have a remote connection in tests that require a remote connection. (#20114)
By default, the build will just continue if a remote connection couldn't be
established. For tests that require a remote connection, this often results in
weird errors later on in the build, so improve this by immediately verifying
that we were able to establish a remote connection and telling the developer
where to look for more information.

---------

Co-authored-by: Alex Soto <alex@alexsoto.me>
2024-02-16 10:41:52 +01:00
Manuel de la Pena a58ed221e0
[CI] Allow to do a retry to run the windows integration tests. (#20110)
Sometimes we have some failures that are solved with a retry. They are
not common and tests are fast so we can retry.
2024-02-15 18:00:32 -05:00
Manuel de la Pena 2ec4d76900
[CI] Retry running the mac tests on CI if they fail. (#20108)
This tests are fast, they usually do not fail, but if they do is due to
networking.
2024-02-15 17:59:53 -05:00
Manuel de la Pena fb8d583fd9
[CI] Fix the job that publishes the test results. (#20111)
The two removed parameters are never used, pass the yaml vars to the env.
2024-02-15 14:22:46 -05:00
Filip Navara d89b6390f1
Update AOTCompile task to handle cycles in up-to-date check (#20103)
#### Background

While cyclic assembly references are unusual they are supported by the runtime and encountered in practice. In our project we use a version of Xamarin.Forms retargeted for a modern .NET (as a stopgap solution before an update to full MAUI stack). Xamarin.Forms historically come with such an assembly cycle: `Xamarin.Forms.Core.dll` -> `Xamarin.Forms.Platform.dll` -> `Xamarin.Forms.Platform.iOS.dll` -> `Xamarin.Forms.Core.dll`. This is produced by first compiling `Xamarin.Forms.Core.dll` against a dummy `Xamarin.Forms.Platform.dll` (`netstandard2.0` assembly). Then the Platform assemblies are built, and finally forwarder versions of `Xamarin.Forms.Platform.dll` are created for each platform. This is all packaged into NuGets in such a way that each TFM gets the same `Xamarin.Forms.Core.dll` but a different set of `Xamarin.Forms.Platform.dll` and `Xamarin.Forms.Platform.<platform>.dll` assemblies.

#### Problem

With current workloads each incremental rebuild fails with:

```
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7125/targets/Xamarin.Shared.Sdk.targets(1047,3): error : Encountered an assembly reference cycle related to the assembly obj/Debug/net7.0-ios/iossimulator-arm64/linked/Xamarin.Forms.Core.dll
```

#### Solution

The PR updates the algorithm in `AOTCompile` to detect cycles using [Tarjan's algorithm](https://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm) for finding [strongly connected components](https://en.wikipedia.org/wiki/Strongly_connected_component) in a graph. When a cycle is detect any assembly in the cycle is considered up-to-date only if all the assemblies in the cycle are up-to-date.

With this change the project does incremental rebuilds correctly. I verified in the build output that the assembly cycle is considered up-to-date, and that any changes to the application assemblies still return `false` from the up-to-date check and get rebuilt.

---------

Co-authored-by: Filip Navara <filip.navara@gmail.com>
2024-02-15 17:29:18 +01:00
Rolf Bjarne Kvinge 282d107a02
[msbuild] Enable nullability in WriteItemsToFile and fix any issues. (#20099) 2024-02-14 19:25:52 +01:00
Manuel de la Pena d437e9c3a1
[CI] Create governance stage to run APIScan in parallel. (#20065) 2024-02-14 11:07:56 -05:00
Manuel de la Pena 8b2fde3179
[CI] Retry tests if on CI. (#20104)
Sometimes we have flaky tests, now that we have the tests splitted,
doing a rerun is not expensive and will allow our CI builds to be
greener.

The template now checks if we are on CI and add the new rerun paramter
(this was added in 2021).
2024-02-14 10:10:04 -05:00
Rolf Bjarne Kvinge dc90060cfa
[devops] Split monotouch-test by platform as well. (#19988) 2024-02-14 09:26:34 +01:00
dotnet-maestro[bot] d57769c563
[main] Update dependencies from dotnet/installer (#20101)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer

- **Subscription**: 80cb9ffd-f92f-4fc8-9f8b-08dbca46abfb
- **Build**: 20240212.7
- **Date Produced**: February 12, 2024 7:15:38 PM UTC
- **Commit**: 43e7082a34d849cc77e5e3f760b0aca82e281639
- **Branch**: refs/heads/release/8.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 8.0.103-servicing.24108.7 to 8.0.103-servicing.24112.7][1]

[1]: 34ceb5eeb4...43e7082a34
2024-02-14 09:12:49 +01:00
Rolf Bjarne Kvinge 10f2681abd
[msbuild] Use MetadataLoadContext in the UnpackLibraryResources task. (#20017)
This avoids the Mono.Cecil dependency, and also MetadataLoadContext is both
faster and better maintained.

A temporary downside is that all the reference assemblies will have to be
copied to the remote Mac for remote builds, but this will be fixed in a future
change where we'll execute this task mostly locally on Windows, and we'll
only copy the unpacked resources to the Mac.
2024-02-13 16:40:58 +01:00
Rolf Bjarne Kvinge 72afc648c3
[UIKit] Remove presnippet for UITextView.TypingAttributes. Fixes #12709. (#20089)
Apparently, in earlier versions of iOS, returning an empty dictionary from
UITextView.TypingAttributes would crash, so we added a workaround where we'd
return null instead of an empty dictionary.

However, I can't reproduce any such crashes anymore, and this workaround is
causing other problems, so remove it.

But do this in a backwards compatible way (just in case the removal ends up
crashing apps after all):

* Add a new TypingAttributes2 binding with the behavior we want (a better name
  wouldn't be unwelcome!)
* Mark the existing TypingAttributes as obsolete, pointing to
  TypingAttributes2.
* Make the TypingAttributes property behave as we want in XAMCORE_5_0, and at
  that point  mark TypingAttributes2 as obsolete and point back to
  TypingAttributes.
* Remove TypingAttributes2 in XAMCORE_6_0.

Note: the presnippet attribute to avoid the crash was introduced in 2013:
5adb7c8608,
and our current minimum iOS version (iOS 11), was launched in 2017, so most
likely (aka hopefully) the crash was fixed in an iOS version earlier than the
earliest we support.

Fixes https://github.com/xamarin/xamarin-macios/issues/12709.
2024-02-13 08:28:11 +01:00
dotnet-maestro[bot] 661a513621
[main] Update dependencies from dotnet/xharness (#20092)
This pull request updates the following dependencies

## From https://github.com/dotnet/xharness

- **Subscription**: 601bc5e1-1cae-44b5-cf5f-08db9342aa2f
- **Build**: 20240212.1
- **Date Produced**: February 12, 2024 11:45:46 AM UTC
- **Commit**: 2f3f51a1adec18475563c8a49fd9b668ae9f2f31
- **Branch**: refs/heads/main

- **Updates**:
  - **Microsoft.DotNet.XHarness.iOS.Shared**: [from 9.0.0-prerelease.24105.1 to 9.0.0-prerelease.24112.1][1]

[1]: 18d9997c99...2f3f51a1ad
2024-02-13 08:18:12 +01:00
Rolf Bjarne Kvinge b9fdd9ed7d
[msbuild] Several updates to the ScnTool task. (#19976)
* Enable nullability and fix the resulting issues.
* Convert to XamarinTask (instead of XaxmarinToolTask): this allows us to run multiple
  'scntool' invocations in parallel.
* Use 'xcrun' to call 'scntool' instead of computing the path [1].
* Fix bug in the Cancel method: it shouldn't call base.Execute.
* Change the targets logic to match the pattern of other resource-related targets.
    * This makes it easier to understand the code, since understanding one resource-related target works for the other ones too.
    * Not using the CollectBundleResources task means computing LogicalName in the ScnTool task directly.

[1]: https://github.com/xamarin/xamarin-macios/issues/11172#issuecomment-816324118
2024-02-12 14:17:16 +01:00
Rolf Bjarne Kvinge 4100f6058e
[devops] Remove the Whitesource task. (#20088)
Ref:
https://github.com/opensource-microsoft/docs/blob/main/docs/tools/cg/announcements.md#mend-aka-whitesource-retirement-as-a-vulnerability-provider
2024-02-12 14:08:19 +01:00
dotnet-maestro[bot] 28f9ae897a
[main] Update dependencies from dotnet/installer (#20077)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer

- **Subscription**: 80cb9ffd-f92f-4fc8-9f8b-08dbca46abfb
- **Build**: 20240208.7
- **Date Produced**: February 8, 2024 8:26:23 PM UTC
- **Commit**: 34ceb5eeb4c8cf1cb42ed943798fd92c643ab7c4
- **Branch**: refs/heads/release/8.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 8.0.103-servicing.24107.12 to 8.0.103-servicing.24108.7][3]

[3]: 3b81b46723...34ceb5eeb4
2024-02-12 09:58:49 +01:00
Haritha Mohan b0c3ae5fec
[ADR] Fix verbosity (#20055)
Reduce noise during build..
2024-02-09 09:47:27 -08:00
Rolf Bjarne Kvinge 496f884c0f
[actions] Give pull-requests:write permissions to the changelog editor/creator. (#20076)
Hopefully fixes a permission error:

    response: {
Error: Unhandled error: HttpError: Resource not accessible by
integration
url:
'https://api.github.com/repos/xamarin/xamarin-macios/issues/20075/comments',
2024-02-09 16:59:33 +01:00
Rolf Bjarne Kvinge b2baa975b8
[actions] Fix permissions for the global.json action after default credential change. (#20074) 2024-02-09 16:43:00 +01:00
Rolf Bjarne Kvinge 27e7d1f94c
[actions] Fix permissions for the changelog action after default permissions change. (#20073) 2024-02-09 16:42:53 +01:00
Manuel de la Pena ff03838bfc
[MSBuild] Fix nullability that broke main. (#20067)
---------

Co-authored by: Manuel de la Pena <mandel@microsoft.com>
2024-02-09 12:14:30 +01:00
dotnet-maestro[bot] bda19f6e1f
[main] Update dependencies from dotnet/installer (#20063)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer

- **Subscription**: 80cb9ffd-f92f-4fc8-9f8b-08dbca46abfb
- **Build**: 20240207.12
- **Date Produced**: February 7, 2024 9:28:00 PM UTC
- **Commit**: 3b81b4672358d3a5375cff3bed3db0ea5b8bc803
- **Branch**: refs/heads/release/8.0.1xx

- **Updates**:
  - **Microsoft.Dotnet.Sdk.Internal**: [from 8.0.102-servicing.24102.2 to 8.0.103-servicing.24107.12][1]

[1]: 7732f41b2e...3b81b46723
2024-02-09 11:16:27 +01:00
Manuel de la Pena d3a78db30a
[CoreText] Add NotNullWhen to help MAUI with null errors. (#20050)
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2024-02-08 13:44:07 -05:00
Rolf Bjarne Kvinge 652487bb2d
[msbuild] Enable nullability for ArTool and AcTool. (#20010) 2024-02-08 17:33:57 +01:00
Rolf Bjarne Kvinge 5d6dc16270
[CoreFoundation] Make P/Invokes in CFBundle and CFDictionary have blittable signatures. (#20060)
Contributes towards #15684.
2024-02-08 17:04:28 +01:00
Alex Soto 205492fa6d
[CI] Update bots to use macOS 14 Sonoma (#19855) 2024-02-08 10:32:05 -05:00
Rolf Bjarne Kvinge e45ffd5fd7
[msbuild] Enable nullability and improve error reporting in the PackLibraryResources task. (#19998)
* Enable nullability and fix any issues.
* Improve error reporting by:
	* Not bailing out when the first error is encountered, keep processing in
	  case we can be produce and find more problems to report.
	* Show a better error message by including the path of the problematic
	  file in the error message.

Due to indentation changes, this PR migth be easier to review by [hiding
whitespace changes](https://github.com/xamarin/xamarin-macios/pull/19998/files?w=1).
2024-02-07 17:36:55 +01:00
Rolf Bjarne Kvinge 748c7ebf16
[msbuild] Enable nullability in the CollectBundleResources task. (#19992)
Due to indentation changes, it may be easier review if whitespace is ignored.
2024-02-07 15:36:11 +01:00
Rolf Bjarne Kvinge 9d9e5a0ca7
[dotnet] Don't build library projects multiple times for universal apps. (#19990)
Currently for universal apps we build the project once for each RuntimeIdentifier,
and each time we end up building any referenced projects as well.

It's not necessary to build referenced (library) projects on a per-RID basis, because
the RID isn't taken into account.

So optimize this:

1. Build project references in the containing build, before the RID-specific build.
   This is accomplished by adding a dependency on the ResolveReferences target (which
   also needs the BuildOnlySettings target to run first in order to actually build
   any referenced projects).

2. Set "BuildProjectReferences=false" when running the RID-specific build, so
   that any project references aren't built.

3. Also change how we override the BuildDependsOn property: we now have special
   logic for library projects, where we don't do any kind of app-building stuff,
   we only deal with resources.

4. This required adding another target dependency for _UnpackLibraryResources:
   it now depends on the BuildOnlySettings target as well (for the same reason as
   in point 1).
2024-02-07 11:05:33 +01:00
Rolf Bjarne Kvinge 3e02da94b7
[msbuild] Fix item name confusion - the texture atlas item group is called AtlasTexture, not TextureAtlas. (#19994) 2024-02-07 10:45:50 +01:00
Rolf Bjarne Kvinge 3ece7830a3
[devops] Pass our NuGet.config to XVS. (#20007)
This makes sure the remote build on macOS sees all the feeds we need.
2024-02-07 10:44:46 +01:00
Rolf Bjarne Kvinge 7704587ceb
[msbuild] Pass /p:RestoreConfigFile to 'dotnet build' in addition to 'dotnet restore'. (#20008)
Because apparently some packages are restored during the build, and not during restore.

Sample log:

```
FindAotCompiler
        Assembly = d:\AzDO\_work\3\s\xamarin-macios\tests\dotnet\Windows\bin\dotnet\packs\Microsoft.iOS.Sdk\17.2.9127-ci.pr.gh19944\\tools\msbuild\iOS\Xamarin.iOS.Tasks.dll
        Parameters
            RuntimeIdentifier = ios-arm64
            SessionId = 78de2a6cda9c8daebf9e6faac5b3b7dd8c8a555b6dafc35bd89e85458a078e87
            TargetFrameworkMoniker = .NETCoreApp,Version=v9.0,Profile=ios
        [... xma log output ...]
        Tool /Users/builder/Library/Caches/Xamarin/XMA/SDKs/dotnet/dotnet execution started with arguments: restore /p:RestoreConfigFile=/Users/builder/Library/Caches/Xamarin/XMA/SDKs/dotnet/NuGet.config /bl:/var/folders/cv/nscnn1lx1x5793d6mqhnh6480000gn/T/tmp50e7b53.tmp/ComputeAotCompilerPath.binlog /var/folders/cv/nscnn1lx1x5793d6mqhnh6480000gn/T/tmp50e7b53.tmp/ComputeAotCompilerPath.csproj

        Tool /Users/builder/Library/Caches/Xamarin/XMA/SDKs/dotnet/dotnet execution finished (exit code = 0).

Checking the state of installed workloads...
[... workload install log output ...]
  Determining projects to restore...
  Restored /var/folders/cv/nscnn1lx1x5793d6mqhnh6480000gn/T/tmp50e7b53.tmp/ComputeAotCompilerPath.csproj (in 2.12 sec).

        Tool /Users/builder/Library/Caches/Xamarin/XMA/SDKs/dotnet/dotnet execution started with arguments: build /p:OutputFilePath=/var/folders/cv/nscnn1lx1x5793d6mqhnh6480000gn/T/tmp50e7b53.tmp/Output.txt /p:RuntimeIdentifier=ios-arm64 /t:ComputeAotCompilerPath /bl:/var/folders/cv/nscnn1lx1x5793d6mqhnh6480000gn/T/tmp50e7b53.tmp/ComputeAotCompilerPath.binlog /var/folders/cv/nscnn1lx1x5793d6mqhnh6480000gn/T/tmp50e7b53.tmp/ComputeAotCompilerPath.csproj

        Tool /Users/builder/Library/Caches/Xamarin/XMA/SDKs/dotnet/dotnet execution finished (exit code = 1).

        MSBuild version 17.10.0-preview-24076-01+e7a44d757 for .NET
  Determining projects to restore...
/var/folders/cv/nscnn1lx1x5793d6mqhnh6480000gn/T/tmp50e7b53.tmp/ComputeAotCompilerPath.csproj : error NU1102: Unable to find package Microsoft.NET.ILLink.Tasks with version (>= 9.0.0-preview.2.24076.4)
/var/folders/cv/nscnn1lx1x5793d6mqhnh6480000gn/T/tmp50e7b53.tmp/ComputeAotCompilerPath.csproj : error NU1102:   - Found 15 version(s) in nuget.org [ Nearest version: 8.0.100-1.23067.1 ]
  Failed to restore /var/folders/cv/nscnn1lx1x5793d6mqhnh6480000gn/T/tmp50e7b53.tmp/ComputeAotCompilerPath.csproj (in 608 ms).

Build FAILED.
```
2024-02-07 10:41:43 +01:00
Rolf Bjarne Kvinge 159eca3628
[msbuild] Rename numerous files to match their task name. (#20013) 2024-02-07 09:50:48 +01:00
Rolf Bjarne Kvinge dc466a45df
[msbuild] Use exact version of XVS' packages. (#20043)
There are testing versions of the XVS' packages in some feeds with version
99.**, but we don't want to reference those by accident, so make sure we
reference the exact version of the XVS NuGet packages.

This has caused bugs multiple times in the past, the reference below is just
the latest one.

Ref: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1950696/?view=edit
2024-02-07 09:48:29 +01:00
Rolf Bjarne Kvinge 02947b2a6d
Revert "[CI] Create the initial stage to start running APIScan. (#19828)" (#20056)
This reverts commit b7f4bef5cc.
2024-02-07 09:03:09 +01:00
dotnet-maestro[bot] 5cd497a335
[main] Update dependencies from xamarin/xamarin-macios (#20041)
This pull request updates the following dependencies

## From https://github.com/xamarin/xamarin-macios

- **Subscription**: 3ba82e10-e94b-4c1c-df8b-08dc11e0730b
- **Build**: 20240206.3
- **Date Produced**: February 6, 2024 5:31:31 AM UTC
- **Commit**: 89166ac077
- **Branch**: refs/heads/release/7.0.3xx

- **Updates**:
  - **Microsoft.macOS.Sdk**: [from 13.3.7133 to 13.3.7134][4]

[4]: 89b5748139...89166ac077
2024-02-07 08:48:56 +01:00
Manuel de la Pena b7f4bef5cc
[CI] Create the initial stage to start running APIScan. (#19828)
APIScan is slow (as per their own documentation). To ensure that the
extra check does not slow our CI we create a matrix that will run
APIScan in each of the platforms to later be uploaded to TSA via a
funnel job.
2024-02-06 16:46:08 -05:00
Alex Soto 4dffdceef1
[tests] Update configuration mac_14_m1 -> mac_14_x64 (#20040)
We do not have M1 bots in the untrusted pool
2024-02-06 09:56:24 -05:00
Rolf Bjarne Kvinge d28223499c
[MobileCoreServices] Make P/Invokes have blittable signatures. (#20015)
Contributes towards #15684
2024-02-06 15:27:39 +01:00
Rolf Bjarne Kvinge cd45f9b8f4
[tests] Add a test case for not modifying app after it's been signed. (#20035)
This is a test case for https://github.com/xamarin/xamarin-macios/issues/19278.

Ref: https://github.com/xamarin/xamarin-macios/issues/19926.
2024-02-06 15:27:11 +01:00
Rolf Bjarne Kvinge d97004ac35
[msbuild] Remove SimpleAssemblyResolver - it's not used. (#20016) 2024-02-06 15:08:09 +01:00