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

18194 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 260b12a99d
[AppKit] Remove the NS[Open|Save]Panel constructors in XAMCORE_5_0. Fixes #6474. (#21346)
These constructors haven't worked since macOS 10.14 (see #6474), so just
remove them (when we can make breaking changes).

Fixes https://github.com/xamarin/xamarin-macios/issues/6474.
2024-10-03 11:13:43 +02:00
Rolf Bjarne Kvinge 07256bf177 [tests] Update list of expected native libraries we link with for .NET 9. 2024-10-03 10:45:58 +02:00
Rolf Bjarne Kvinge 13d6013d9c Merge remote-tracking branch 'origin/main' into dev/rolf/merge-net9.0-into-main 2024-10-02 20:02:22 +02:00
Rolf Bjarne Kvinge f6501e922f
[dotnet] Don't link with BrowserEngineKit. Fixes #21324. (#21337)
Fixes https://github.com/xamarin/xamarin-macios/issues/21324.
2024-10-02 19:54:47 +02:00
Rolf Bjarne Kvinge 3317327c23
[tests] Fix building the custom-type-assembly assembly from inside a project file. (#21347)
Building the custom-type-assembly assembly doesn't work quite right if the
RuntimeIdentifier(s) variables are set in the environment from the project
file, so don't forward those to the sub-make we execute to build the assembly.

This fixes an issue where building monotouch-test would fail locally, because
building the custom-type-assembly assembly would fail.

Also remove legacy Xamarin logic.
2024-10-02 19:53:47 +02:00
Rolf Bjarne Kvinge f1fbfc07f6
Merge branch 'main' into dev/rolf/merge-net9.0-into-main 2024-10-02 19:52:40 +02:00
Rolf Bjarne Kvinge abcec04b75
Revert "[msbuild/tests] Use 'dotnet test' for the MSBuild tests. (#21263)" (#21356)
This reverts commit 15c1e7527e.

It breaks the Windows tests.
2024-10-02 19:51:31 +02:00
Manuel de la Pena 5a0d412c87
[CI] Use the full path for triggering resources. (#21338)
VSTS recommends this in their docs. We are going to do it to make it
simpler to track what triggers what.
2024-10-01 15:42:37 -04:00
Rolf Bjarne Kvinge fd1323c562 Merge remote-tracking branch 'origin/net9.0' into merge-net9.0-into-main 2024-10-01 18:37:41 +02:00
Rolf Bjarne Kvinge 503e51d21e
[net9.0] [build] Remove duplicate variable definition. (#21332)
The variable TRACKING_DOTNET_RUNTIME_SEPARATELYis already defined further
above in this file, so just remove the second definition.

I believe this happened due to an incorrect merge conflict resolution at some
point.
2024-10-01 18:37:09 +02:00
Rolf Bjarne Kvinge 15c1e7527e
[msbuild/tests] Use 'dotnet test' for the MSBuild tests. (#21263)
This is another step towards removing Mono.

This required a few changes:

* Nullability updates in test code.
* Explicitly sorted list of strings in a warning message, to make the warning text stable.
* Stopped merging system assemblies in the merged tasks assembly. This was necessary for to solve a problem with duplicate types:
    * The netstandard2.0 version of `System.Reflection.Metadata.dll` contains
      the `UnconditionalSuppressMessageAttribute` type (internally).
    * Since we ILMerge the tasks assembly, this type ends up in
      Xamarin.iOS.Tasks.dll (internally).
    * The test assembly can't be a net472 assembly, because that means using
      the netfx/desktop versions of the Microsoft.Build.* assemblies, which
      don't work on .NET (they check for Mono, but .NET isn't Mono, so the
      check fails and a PlatformNotSupportedException is thrown).
    * So I bumped the test assembly to be a net8.0 assembly, but then there's
      a conflict between the `UnconditionalSuppressMessageAttribute` shipped
      in .NET vs the one in `Xamarin.iOS.Tasks.dll` (because the test assembly
      can see the internals of `Xamarin.iOS.Tasks.dll`).
    * The fix that seems to work is to *not* merge system assemblies in the
      `Xamarin.iOS.Tasks.dll` assembly. `Xamarin.iOS.Tasks.Windows.dll`
      already does this, so hopefully there are no problems on Windows, and on
      macOS our tests doesn't reveal any problems.
2024-10-01 17:54:27 +02:00
Rolf Bjarne Kvinge 9647b45ce4 Merge remote-tracking branch 'origin/net9.0' into merge-net9.0-into-main 2024-10-01 17:03:30 +02:00
Rolf Bjarne Kvinge 00444d1507
[msbuild] Don't try to look for library resources to unpack from BCL assemblies. Fixes #19511. (#21305)
We know BCL won't have library resources to unpack, so there's no need to
spend any time looking at them.

This also required porting the UnpackLibraryResources task to use
System.Reflection.Metadata, because MetadataLoadContext requires the reference
assemblies to be available to resolve assembly dependencies (and the idea is
to not have to pass any reference assemblies to the task).

Fixes https://github.com/xamarin/xamarin-macios/issues/19511.
Fixes https://github.com/xamarin/xamarin-macios/issues/15030.
2024-10-01 16:20:23 +02:00
Rolf Bjarne Kvinge 88310119fd
[devops] Rework how we hide GitHub comments. (#21320)
* Whenever we add a GitHub comment, also provide a comment id.
* When adding a GitHub comment, use that comment id to hide any previous comments with the same id.

It turns out this simplifies the code a lot, and additionally we now correctly
hide every comment we report whenever a step or stage is re-executed.
2024-10-01 14:44:09 +02:00
Rolf Bjarne Kvinge 6b2e93651a
[UIKit] Improve code for UISegmentedControl. Fixes #21289. (#21299)
1. Enable nullability.
2. Move Get|SetTitleTextAttributes to generated code.
3. Remove dead code (pre-.NET code paths).

Point 2. fixes #21289, so add tests for this scenario.

Fixes https://github.com/xamarin/xamarin-macios/issues/21289.
2024-10-01 12:24:56 +02:00
Rolf Bjarne Kvinge 89195184c8
[actions] There's no reason to keep testing a .NET-only configuration. (#21330)
Because there's nothing but .NET now.
2024-10-01 11:44:21 +02:00
Rolf Bjarne Kvinge c4a5627f03
[PassKit] Finish implementation of PKPayLaterValidateAmount. Fixes #19271. (#21339)
Fixes https://github.com/xamarin/xamarin-macios/issues/19271.
2024-10-01 11:32:43 +02:00
Rolf Bjarne Kvinge 3db59cc8d5
[tests] Fix inclusion of Directory.Build.props up the directory hierarchy. (#21341)
The first Directory.Build.props should be imported, so do that.
2024-10-01 10:36:22 +02:00
Rolf Bjarne Kvinge 76b6538845
[tests] Ignore a few tests that fail on Mac Catalyst/arm64. (#21322)
Also remove some outdated watchOS ignores.

Ref: https://github.com/xamarin/xamarin-macios/issues/19781
2024-10-01 01:27:22 +02:00
Rolf Bjarne Kvinge b81fc7375c
[tests] Rework StringAttributesTests.SimpleAttributesTest. Fixes #18656. (#21336)
* CTLine crashes with certain NSAttributedStrings, so don't do that. This fixes #18656.
* Implement this test for macOS.
* Misc other fixes.

Fixes https://github.com/xamarin/xamarin-macios/issues/18656.
2024-10-01 01:22:36 +02:00
Rolf Bjarne Kvinge b327bcc493
[tests] Remove mono-native logic. (#21312)
It's only for legacy Xamarin.
2024-10-01 01:03:06 +02:00
Rolf Bjarne Kvinge f657ca9fca
[AppKit] Implement NSToolbarItemVisibilityPriority. Fixes #21298. (#21304)
Fixes https://github.com/xamarin/xamarin-macios/issues/21298.
2024-10-01 00:23:38 +02:00
Rolf Bjarne Kvinge 54701328f1
[build] Shutdown/kill any build servers at the end of the build. (#21315)
This is a log from our bots, note the 14 minute gap just before printing the timing results:

```
[...]
2024-09-27T07:34:00.3958920Z Making install in dotnet
2024-09-27T07:34:01.7633820Z Validated file permissions for Xamarin.Mac.
2024-09-27T07:34:01.7800150Z Validated file permissions for Xamarin.iOS.
2024-09-27T07:34:01.7825300Z
2024-09-27T07:34:01.7872490Z 	Xamarin.iOS has not been installed into your system by 'make install'
2024-09-27T07:34:01.7918570Z 	In order to set the currently built Xamarin.iOS as your system version,
2024-09-27T07:34:01.7965090Z 	execute 'make install-system'.
2024-09-27T07:34:01.7987920Z
2024-09-27T07:34:01.8034290Z 	Xamarin.Mac has not been installed into your system by 'make install'
2024-09-27T07:34:01.8080260Z 	In order to set the currently built Xamarin.Mac as your system version,
2024-09-27T07:34:01.8126200Z 	execute 'make install-system'.
2024-09-27T07:34:01.8148530Z
2024-09-27T07:48:22.3100850Z
2024-09-27T07:48:22.3102130Z real	15m26.160s
2024-09-27T07:48:22.3102800Z user	1m4.044s
2024-09-27T07:48:22.3103270Z sys	0m18.379s
```

What happens is this:
*   We're using parallel make, and parallel make will start a jobserver, managed by file descriptors, where these file descriptors must be closed in all subprocesses for make to realize it's done.
*   Any 'dotnet build' might start a build server
*   The build server does not close any file descriptors it may have inherited when daemonizing itself.
*   Thus the build server (which will still be alive after we're done building here) might have a file descriptor open which make is waiting for.
*   The proper fix is to fix the build server to close its file descriptors.
*   The intermediate working is to shut down the build server instead.

This will save 10-15 minutes at the end of every build in the bots.
2024-10-01 00:23:02 +02:00
Rolf Bjarne Kvinge 2cc9af4c01
Bump maccore. (#21319)
New commits in xamarin/maccore:

* xamarin/maccore@c1a17a2f80 [mlaunch] Install and launch apps without
using the AMDevice API for devices that devicectl supports.

Diff: ad4af9cde4..c1a17a2f80

Fixes https://github.com/xamarin/xamarin-macios/issues/21274.
2024-09-30 23:55:33 +02:00
dotnet-maestro[bot] ac21d087ad
[main] Update dependencies from dotnet/xharness (#21329)
This pull request updates the following dependencies

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

- **Subscription**: 601bc5e1-1cae-44b5-cf5f-08db9342aa2f
- **Build**: 20240926.1
- **Date Produced**: September 26, 2024 1:44:39 PM UTC
- **Commit**: 7d5c32dbda0c6c8b9dc20cde4e1261b191896138
- **Branch**: refs/heads/main

- **Updates**:
  - **Microsoft.DotNet.XHarness.iOS.Shared**: [from 10.0.0-prerelease.24467.4 to 10.0.0-prerelease.24476.1][1]

[1]: 3cfb1a3d86...7d5c32dbda
2024-09-30 20:08:43 +02:00
Alex Soto 60a7ae157c
[net9.0] Bring back missing change from #20790 to SignList (#21323)
This change is missing from the last revert
25509d7917
that happened on https://github.com/xamarin/xamarin-macios/pull/21264
2024-09-27 16:52:04 -04:00
Rolf Bjarne Kvinge ee66d47443
[net9.0] Merge main into net9.0. (#21295) 2024-09-27 21:47:10 +02:00
Rolf Bjarne Kvinge fc9d73b761
[devops] Unify and simplify provisionator provisioning. (#21268)
This should speed up getting bots ready, since now we only run the
provisionator once for each bot, and we also don't try to provision the
same thing multiple times.
2024-09-27 18:19:03 +02:00
Rolf Bjarne Kvinge 3790cbda5a
[devops] Add a bit more info when showing the enviroment. (#21311)
Also show:

* The network configuration
* The load on the system / cpu usage (top)
2024-09-27 17:17:32 +02:00
Rolf Bjarne Kvinge 1dfff82b85 [devops] Don't do anything on macOS 11 anymore.
Our min macOS version is 12.0.
2024-09-27 11:19:55 +02:00
Rolf Bjarne Kvinge 852496d5de
[devops] Only fetch the exact remote branches we need to undo the GitHub merge. (#21266)
This will typically save between 1 and 2 minutes for every test run.

But potentially much more if GitHub happens to be slow:

```
[...]
Working on a PR, Undoing the github merge with main.
##[error]The task has timed out.
[...]
```
2024-09-27 10:16:56 +02:00
dotnet-maestro[bot] 57371ed10e
[net9.0] Update dependencies from dotnet/sdk (#21313)
This pull request updates the following dependencies

## 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 9.0.0-rtm.24473.2 to 9.0.0-rtm.24475.3 (parent: Microsoft.NET.Sdk)
  - **Microsoft.AspNetCore.App.Ref**: from 9.0.0-rtm.24473.16 to 9.0.0-rtm.24474.6 (parent: Microsoft.NET.Sdk)
  - **Microsoft.NETCore.App.Ref**: from 9.0.0-rtm.24473.2 to 9.0.0-rtm.24475.3 (parent: Microsoft.NET.Sdk)
  - **Microsoft.NETCore.App.Ref**: from 9.0.0-rtm.24473.2 to 9.0.0-rtm.24475.3 (parent: Microsoft.NET.Sdk)

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

- **Subscription**: 3727984b-7a79-4ba3-37dd-08dbe6bddf31
- **Build**: 20240925.4
- **Date Produced**: September 26, 2024 6:31:53 AM UTC
- **Commit**: f59e9ca09cb4d5b903b276c0d3d7825b6ddbc3a0
- **Branch**: refs/heads/release/9.0.1xx

- **Updates**:
  - **Microsoft.NET.Sdk**: [from 9.0.100-rc.2.24474.4 to 9.0.100-rc.2.24475.4][1]
  - **Microsoft.NET.ILLink.Tasks**: [from 9.0.0-rtm.24473.2 to 9.0.0-rtm.24475.3][2]
  - **Microsoft.AspNetCore.App.Ref**: [from 9.0.0-rtm.24473.16 to 9.0.0-rtm.24474.6][3]
  - **Microsoft.NETCore.App.Ref**: [from 9.0.0-rtm.24473.2 to 9.0.0-rtm.24475.3][2]
  - **Microsoft.NETCore.App.Ref**: [from 9.0.0-rtm.24473.2 to 9.0.0-rtm.24475.3][2]

[1]: 42b2349ec2...f59e9ca09c
[2]: 3d9da91a97...2c4266c134
[3]: 91ef755ae0...afe2857bff
2024-09-27 10:14:17 +02:00
Manuel de la Pena fbe8fe395c
Merge branch 'main' into dev/rolf/bump-main-in-net9.0-2024-09-24 2024-09-26 16:28:33 -04:00
Alex Soto ee6a01668e
Merge branch 'net9.0' into dev/rolf/bump-main-in-net9.0-2024-09-24 2024-09-26 16:26:17 -04:00
Manuel de la Pena 6df33a86bb
[CI] Fix the pipeline that runs the macOS tests.
Fixed several issues with te yaml:

* Missing config stage.
* Missing parameters,
* Hitting the same bug as Uno here: https://github.com/unoplatform/uno/pull/18243 related to https://github.com/microsoft/azure-pipelines-tasks/issues/17207



Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2024-09-26 16:19:07 -04:00
Manuel de la Pena ca9419af81
[CI] Add missing configuration stage for the macos tests pipeline. (#21303) 2024-09-25 20:46:22 -04:00
Rolf Bjarne Kvinge 515f110699 [net9.0] Bump to rtm. 2024-09-25 20:46:03 +02:00
Rolf Bjarne Kvinge 1850ef907c [monotouch-test] Update usage of X509 API obsoleted in .NET 9. 2024-09-25 19:02:38 +02:00
Rolf Bjarne Kvinge ec50934897
[src] Turn warnings into errors when compiling API definitions. (#21296)
Also fix a couple of compiler warnings:

    passkit.cs(2797,15): warning CS0109: The member 'PKShareablePassMetadataPreview.PassThumbnailImage' does not hide an accessible member. The new keyword is not required.
    passkit.cs(2800,14): warning CS0109: The member 'PKShareablePassMetadataPreview.LocalizedDescription' does not hide an accessible member. The new keyword is not required.
2024-09-25 17:52:20 +02:00
Rolf Bjarne Kvinge 28114fc5ed
[Foundation] NSCoding and NS[Mutable]Copying shouldn't be models. (#21257)
It doesn't make sense for NSCoding and NS[Mutable]Copying to be models,
so remove those attributes for XAMCORE_5_0.
2024-09-25 17:51:40 +02:00
Rolf Bjarne Kvinge cabb3e5e5e
[tests/devops] Remove logic to build samples. (#21267)
It's old, hasn't been executed in years and quite bitrotten by now (it only
builds legacy Xamarin samples for instance).

We could port it to .NET, but first we'd need sample apps, and there
aren't many of those yet.
2024-09-25 17:51:24 +02:00
Rolf Bjarne Kvinge d588d3d2cd
[devops] Remove some dead code. (#21269) 2024-09-25 17:50:59 +02:00
Manuel de la Pena c925668f68
Revert "Revert "[CI] Split the sim tests and the macOS tests. (#21215)"" (#21301)
Reverts xamarin/xamarin-macios#21247 

This is a revert of a revert that was not needed.
2024-09-25 11:40:20 -04:00
Rolf Bjarne Kvinge 458ca8bc01 [monotouch-test] Update usage of X509 API obsoleted in .NET 9. 2024-09-25 13:34:07 +02:00
Rolf Bjarne Kvinge cf761e7fa1 Merge remote-tracking branch 'origin/net9.0' into dev/rolf/bump-main-in-net9.0-2024-09-24 2024-09-25 11:40:23 +02:00
dotnet-maestro[bot] af91c250c7
[net9.0] Update dependencies from dotnet/sdk (#21292)
This pull request updates the following dependencies

## 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 9.0.0-rc.2.24463.7 to 9.0.0-rtm.24473.2 (parent: Microsoft.NET.Sdk)
  - **Microsoft.AspNetCore.App.Ref**: from 9.0.0-rtm.24466.12 to 9.0.0-rtm.24473.16 (parent: Microsoft.NET.Sdk)
  - **Microsoft.NETCore.App.Ref**: from 9.0.0-rc.2.24463.7 to 9.0.0-rtm.24473.2 (parent: Microsoft.NET.Sdk)
  - **Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport**: from 9.0.0-rc.2.24455.1 to 9.0.0-rtm.24469.1 (parent: Microsoft.NETCore.App.Ref)
  - **Microsoft.NETCore.App.Ref**: from 9.0.0-rc.2.24463.7 to 9.0.0-rtm.24473.2 (parent: Microsoft.NET.Sdk)
  - **Microsoft.DotNet.Cecil**: from 0.11.5-alpha.24419.1 to 0.11.5-alpha.24467.1 (parent: Microsoft.NETCore.App.Ref)

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

- **Subscription**: 3727984b-7a79-4ba3-37dd-08dbe6bddf31
- **Build**: 20240924.4
- **Date Produced**: September 24, 2024 11:33:53 AM UTC
- **Commit**: 42b2349ec272dbb8bbc5d8df29adb7b77e3450cd
- **Branch**: refs/heads/release/9.0.1xx

- **Updates**:
  - **Microsoft.NET.Sdk**: [from 9.0.100-rc.2.24468.2 to 9.0.100-rc.2.24474.4][1]
  - **Microsoft.NET.ILLink.Tasks**: [from 9.0.0-rc.2.24463.7 to 9.0.0-rtm.24473.2][2]
  - **Microsoft.AspNetCore.App.Ref**: [from 9.0.0-rtm.24466.12 to 9.0.0-rtm.24473.16][3]
  - **Microsoft.NETCore.App.Ref**: [from 9.0.0-rc.2.24463.7 to 9.0.0-rtm.24473.2][2]
  - **Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport**: [from 9.0.0-rc.2.24455.1 to 9.0.0-rtm.24469.1][4]
  - **Microsoft.NETCore.App.Ref**: [from 9.0.0-rc.2.24463.7 to 9.0.0-rtm.24473.2][2]
  - **Microsoft.DotNet.Cecil**: [from 0.11.5-alpha.24419.1 to 0.11.5-alpha.24467.1][5]

[1]: c204043de1...42b2349ec2
[2]: 46cfb747b4...3d9da91a97
[3]: 0d72ad5e4c...91ef755ae0
[4]: 6e079c23ae...8e660ff41e
[5]: c667bfea9c...526b22d829
2024-09-25 00:04:03 +02:00
Rolf Bjarne Kvinge 1a4f376b74 [net9.0] Merge main into net9.0. 2024-09-24 23:57:47 +02:00
Peter Collins 448999982c
[msbuild] Add @(XcodeProject) action (#21232)
Context: https://github.com/CommunityToolkit/Maui.NativeLibraryInterop

Introduces a `@(XcodeProject)` build action which can be used to build
and consume the outputs of Xcode framework projects.

The following metadata are supported on this item:

```xml
  <XcodeProject Include="path/to/myproject.xcodeproj" >
    <Configuration>Release</Configuration>
    <CreateNativeReference>true</CreateNativeReference>
    <ForceLoad></ForceLoad>
    <Frameworks></Frameworks>
    <Kind>Framework</Kind>
    <OutputPath></OutputPath>
    <SchemeName></SchemeName>
    <SmartLink></SmartLink>
    <Visible></Visible>
  </XcodeProject>
```

 * `%(SchemeName)`: The name of the build scheme or target that should
    be used to build the project.

 * `%(Configuration)`: The name of the configuration to use to build the
    project. The default value is `Release`.

 * `%(CreateNativeReference)`: Output XCFRAMEWORK files will be added as
    a `@(NativeReference)` to the project. Metadata supported by
    `@(NativeReference)` like `%(Kind)`, `%(Frameworks)`, or `%(SmartLink)`
    will be forwarded if set. The default value is `true`.

 * `%(OutputPath)`: Can be set to override the XCARCHIVE and XCFRAMEWORK
    output path of the Xcode project. The default value is
    `$(IntermediateOutputPath)xcode/{SchemeName}-{Hash}`.

A new `_BuildXcodeProjects` target will attempt to build XCARCHIVE and
XCFRAMEWORK files for each `@(XcodeProject)` item. These outputs will be
created for the platform specified in the target framework. If multiple
target frameworks are specified, the project will be built for each
platform during each inner build.

A new `$(MaciOSPrepareForBuildDependsOn)` build extension point has been
added to allow customer projects to more easily hook into the beginning
of the build process.

---------

Co-authored-by: Peter Collins <pecolli@microsoft.com>
Co-authored-by: Alex Soto <alex@soto.dev>
2024-09-24 23:47:09 +02:00
Rolf Bjarne Kvinge eabf3ab371
[Foundation] NSUrlSessionHandler: Adds support for X509 client certificates (#21284)
Addresses #13856

This was originally created by @dotMorten in #20434.

Also make SecIdentity.Import use an in-memory keychain on macOS 15+, so that
SecIdentity.Import works like all othe other platforms (i.e. not requiring
access to the default keychain, which, among other things, is not ideal on
bots).

---------

Co-authored-by: Morten Nielsen <mort5161@esri.com>
Co-authored-by: dotMorten <mn@iter.dk>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2024-09-24 23:44:02 +02:00
Ivan Povazan 103c82a3f4
NativeAOT: Exclude pdbs from NativeAOT app bundles (#21291)
### Description

Previously we were including .pdbs in NativeAOT debug bundles, which was causing issues with debug builds of universal apps (during app bundle merging). This does not seem to be required, as in debug builds NativeAOT compiler uses information from pdbs to provide more data about the managed code during native debugging (like line numbers in stack traces, etc), embedding it into the native image, and does not require presence of said files during runtime.

### Changes

- This PR excludes pdbs from NativeAOT app bundles by removing them from `ResolvedFileToPublish` item group.
- The relevant unit tests are reenabled.

---
Fixes https://github.com/xamarin/xamarin-macios/issues/20903
2024-09-24 19:21:55 +02:00