Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[.NET10] removal of generator generated code in Additions/ #1058

Draft
wants to merge 55 commits into
base: main
Choose a base branch
from

Conversation

moljac
Copy link
Contributor

@moljac moljac commented Dec 10, 2024

Context: due to the changes in generator.exe output old generator code that was used must be removed or regenerated.

Initial investigation - files:

Highest priority for MAUI (needs deeper investigation, because of transitive dependencies):

./source/androidx.activity/activity/Additions/ActivityResultContracts.cs
./source/androidx.appcompat/appcompat/Additions/ActionMenuView.cs
./source/androidx.appcompat/appcompat/Additions/Additions.cs
./source/androidx.preference/preference/Additions/Additions.cs
./source/androidx.recyclerview/recyclerview-selection/Additions/Additions.cs
./source/androidx.recyclerview/recyclerview-selection/Additions/AndroidX.RecyclerView.Selection.SelectionTracker.cs
./source/androidx.swiperefreshlayout/swiperefreshlayout/Additions/Additions.cs
./source/androidx.transition/transition/Additions/Additions.cs

./source/com.google.android.material/material/Additions/Additions.cs
./source/com.google.android.material/material/Additions/Google.Android.Material.Navigation.NavigationBarItemView.cs
./source/com.google.android.material/material/Additions/Google.Android.Material.Snackbar.Snackbar.cs
./source/com.google.android.material/material/Additions/Google.Android.Material.Tabs.AppCompat.App.AppCompatActivity.cs
./source/com.google.crypto.tink/tink-android/Additions/Xamarin.Google.Crypto.Tink.Shaded.Protobuf.Internal.cs
./source/com.google.crypto.tink/tink-android/Additions/Xamarin.Google.Crypto.Tink.Shaded.Protobuf.LazyStringArrayList.cs
./source/com.google.crypto.tink/tink-android/Additions/Xamarin.Google.Crypto.Tink.Shaded.Protobuf.MapFieldLite.cs
./source/com.google.crypto.tink/tink-android/Additions/Xamarin.Google.Crypto.Tink.Shaded.Protobuf.UnmodifiableLazyStringList.cs


./source/com.google.android.gms/play-services-base/Additions/Additions.cs
./source/com.google.android.gms/play-services-base/Additions/BitmapTeleporter.cs
./source/com.google.android.gms/play-services-base/Additions/GoogleSignInAccount.cs
./source/com.google.android.gms/play-services-base/Additions/GoogleSignInOptions.cs
./source/com.google.android.gms/play-services-base/Additions/Statuses.cs
./source/com.google.android.gms/play-services-maps/Additions/Additions.cs

./source/com.google.protobuf/protobuf-javalite/Additions/Additions.cs
./source/com.google.protobuf/protobuf-lite/Additions/LazyStringArrayList.cs
./source/com.google.protobuf/protobuf-lite/Additions/MapFieldLite.cs

Full list:

./source/androidx.activity/activity/Additions/ActivityResultContracts.cs
./source/androidx.appcompat/appcompat/Additions/ActionMenuView.cs
./source/androidx.appcompat/appcompat/Additions/Additions.cs
./source/androidx.car/car/Additions/Additions.cs
./source/androidx.compose.animation/animation-core/Additions/AndroidX.Compose.Animation.Core.IAnimationSpec.cs
./source/androidx.compose.animation/animation-core/Additions/AndroidX.Compose.Animation.Core.IDecayAnimationSpec.cs
./source/androidx.compose.animation/animation-core/Additions/AndroidX.Compose.Animation.Core.IFiniteAnimationSpec.cs
./source/androidx.compose.animation/animation-core/Additions/AndroidX.Compose.Animation.Core.InfiniteRepeatableSpec.cs
./source/androidx.compose.animation/animation-core/Additions/AndroidX.Compose.Animation.Core.RepeatableSpec.cs
./source/androidx.compose.animation/animation-core/Additions/AndroidX.Compose.Animation.Core.SnapSpec.cs
./source/androidx.compose.runtime/runtime-android/Additions/AndroidX.Compose.Runtime.Snapshots.SnapshotStateMap.cs
./source/androidx.dynamicanimation/dynamicanimation/Additions/Additions.cs
./source/androidx.emoji/emoji/Additions/Additions.cs
./source/androidx.leanback/leanback/Additions/Additions.cs
./source/androidx.leanback/leanback/Additions/ConstantState.cs
./source/androidx.leanback/leanback/Additions/StreamingTextView.cs
./source/androidx.legacy/legacy-support-core-ui/Additions/Additions.cs
./source/androidx.media3/media3-exoplayer-hls/Additions/AndroidX.Media3.ExoPlayer.Hls.Playlist.HlsPlaylist.cs
./source/androidx.media3/media3-ui/Additions/DefaultTimeBar.cs
./source/androidx.preference/preference/Additions/Additions.cs
./source/androidx.recyclerview/recyclerview-selection/Additions/Additions.cs
./source/androidx.recyclerview/recyclerview-selection/Additions/AndroidX.RecyclerView.Selection.SelectionTracker.cs
./source/androidx.swiperefreshlayout/swiperefreshlayout/Additions/Additions.cs
./source/androidx.transition/transition/Additions/Additions.cs
./source/androidx.wear.watchface/watchface-style/Additions/AndroidX.Wear.Watchface.Style.UserStyle.cs
./source/com.google.android.gms/play-services-ads-lite/Additions/Additions.cs
./source/com.google.android.gms/play-services-base/Additions/Additions.cs
./source/com.google.android.gms/play-services-base/Additions/BitmapTeleporter.cs
./source/com.google.android.gms/play-services-base/Additions/GoogleSignInAccount.cs
./source/com.google.android.gms/play-services-base/Additions/GoogleSignInOptions.cs
./source/com.google.android.gms/play-services-base/Additions/Statuses.cs
./source/com.google.android.gms/play-services-fido/Additions/TaskExtensions.cs
./source/com.google.android.gms/play-services-fitness/Additions/IPendingResultExtensions.cs
./source/com.google.android.gms/play-services-fitness/Additions/TaskExtensions.cs
./source/com.google.android.gms/play-services-games/Additions/Android.Gms.Games.GamesClass.cs
./source/com.google.android.gms/play-services-maps/Additions/Additions.cs
./source/com.google.android.gms/play-services-mlkit-barcode-scanning/Additions/Additions.cs
./source/com.google.android.gms/play-services-mlkit-text-recognition-common/Additions/Additions.cs
./source/com.google.android.gms/play-services-nearby/Additions/IPendingResultExtensions.cs
./source/com.google.android.gms/play-services-nearby/Additions/TaskAdditions.cs
./source/com.google.android.gms/play-services-vision/Additions/Additions.cs
./source/com.google.android.gms/play-services-wearable/Additions/TaskExtensions.cs
./source/com.google.android.material/material/Additions/Additions.cs
./source/com.google.android.material/material/Additions/Google.Android.Material.Navigation.NavigationBarItemView.cs
./source/com.google.android.material/material/Additions/Google.Android.Material.Snackbar.Snackbar.cs
./source/com.google.android.material/material/Additions/Google.Android.Material.Tabs.AppCompat.App.AppCompatActivity.cs
./source/com.google.crypto.tink/tink-android/Additions/Xamarin.Google.Crypto.Tink.Shaded.Protobuf.Internal.cs
./source/com.google.crypto.tink/tink-android/Additions/Xamarin.Google.Crypto.Tink.Shaded.Protobuf.LazyStringArrayList.cs
./source/com.google.crypto.tink/tink-android/Additions/Xamarin.Google.Crypto.Tink.Shaded.Protobuf.MapFieldLite.cs
./source/com.google.crypto.tink/tink-android/Additions/Xamarin.Google.Crypto.Tink.Shaded.Protobuf.UnmodifiableLazyStringList.cs
./source/com.google.firebase/firebase-appcheck/Additions/Firebase.AppCheck.FirebaseAppCheck.cs
./source/com.google.firebase/firebase-appcheck/Additions/Firebase.AppCheck.Internal.DefaultFirebaseAppCheck.cs
./source/com.google.firebase/firebase-appindexing/Additions/Additions.cs
./source/com.google.firebase/firebase-firestore/Additions/Additions.cs
./source/com.google.firebase/firebase-storage/Additions/Additions.cs
./source/com.google.mlkit/common/Additions/Additions.cs
./source/com.google.mlkit/common/Additions/Xamarin.Google.MLKit.Common.SDKInternal.OptionalModuleUtils.cs
./source/com.google.mlkit/image-labeling-automl/Additions/AutoMLImageLabelerOptions.cs
./source/com.google.mlkit/object-detection-custom/Additions/Xamarin.Google.MLKit.Vision.Objects.Custom.Internal.CustomObjectsRegistrar.cs
./source/com.google.mlkit/object-detection/Additions/Xamarin.Google.MLKit.Vision.Objects.Defaults.Internal.DefaultObjectsRegistrar.cs
./source/com.google.mlkit/vision-common/Additions/Additions.cs
./source/com.google.protobuf/protobuf-javalite/Additions/Additions.cs
./source/com.google.protobuf/protobuf-lite/Additions/LazyStringArrayList.cs
./source/com.google.protobuf/protobuf-lite/Additions/MapFieldLite.cs
./source/io.grpc/grpc-api/Additions/Xamarin.Grpc.CodecGzip.cs
./source/org.tensorflow/tensorflow-lite-support-api/Additions/Xamarin.TensorFlow.Lite.Support.Common.TensorProcessor.cs
./source/org.tensorflow/tensorflow-lite-support-api/Additions/Xamarin.TensorFlow.Lite.Support.Image.ImageProcessor.cs

Details

Some bugs (generics arity) or missing features in generator were solved by using remove-node with previously copied generator code which was added to Additions/ and manually modified.

@moljac moljac marked this pull request as draft December 10, 2024 15:14
@jpobst
Copy link
Contributor

jpobst commented Dec 10, 2024

Honestly that list isn't as bad as I feared.

I guess for each manual code we have 3 options:

  1. If generator has fixed the bug, remove the addition and the <remove-node> and let generator do its thing.
  2. Remove the addition, which will break API compatibility.
  3. Commit both a NET8_0/NET9_0 manual version and a NET10_0_OR_GREATER manual version.

I suspect we'll have to do option (3) for most of these.

@moljac
Copy link
Contributor Author

moljac commented Dec 11, 2024

Honestly that list isn't as bad as I feared.

I was pretty scared when JonP told me, but after I searched and gathered some info. It does not look bad.

I guess for each manual code we have 3 options:

  1. If generator has fixed the bug, remove the addition and the <remove-node> and let generator do its thing.
  2. Remove the addition, which will break API compatibility.
  3. Commit both a NET8_0/NET9_0 manual version and a NET10_0_OR_GREATER manual version.

I suspect we'll have to do option (3) for most of these.

This is what I intended - early discussion and those points were in my plan too.

Maybe additionally

  1. Fix the generator along the way based on research (only if it is not too complex)

Bugs/problems will be in comments. 1st one coming in today.

@moljac
Copy link
Contributor Author

moljac commented Dec 11, 2024

20241211 Problem

<!--
Problem!!!
./generated/androidx.activity.activity/obj/Debug/net8.0-android/generated/src/AndroidX.Activity.Result.Contract.ActivityResultContracts.cs(526,24): error CS0534: 'ActivityResultContracts.OpenDocument' does not implement inherited abstract member 'ActivityResultContract.CreateIntent(Context, Object?)' [./generated/androidx.activity.activity/androidx.activity.activity.csproj::TargetFramework=net8.0-android]
./generated/androidx.activity.activity/obj/Debug/net8.0-android/generated/src/AndroidX.Activity.Result.Contract.ActivityResultContracts.cs(776,24): error CS0534: 'ActivityResultContracts.OpenMultipleDocuments' does not implement inherited abstract member 'ActivityResultContract.CreateIntent(Context, Object?)' [./generated/androidx.activity.activity/androidx.activity.activity.csproj::TargetFramework=net8.0-android]
./generated/androidx.activity.activity/obj/Debug/net8.0-android/generated/src/AndroidX.Activity.Result.Contract.ActivityResultContracts.cs(1638,31): error CS0534: 'ActivityResultContracts.RequestMultiplePermissions' does not implement inherited abstract member 'ActivityResultContract.CreateIntent(Context, Object?)' [./generated/androidx.activity.activity/androidx.activity.activity.csproj::TargetFramework=net8.0-android]
-->

For errors like:

error CS0534: 'ActivityResultContracts.OpenDocument' does not implement inherited abstract member 'ActivityResultContract.CreateIntent(Context, Object?)'

Fix is to change parameter managedType (Variant A) like

<attr
path="/api/package[@name='androidx.activity.result.contract']/class[@name='ActivityResultContracts.CreateDocument']/method[@name='createIntent' and count(parameter)=2 and parameter[1][@type='android.content.Context'] and parameter[2][@type='java.lang.String']]/parameter[2]"
name="managedType"
>
Java.Lang.Object
</attr>

but in some cases this does not work:

 error CS0266: Cannot implicitly convert type 'System.Collections.Generic.IList<Android.Net.Uri>' to 'Java.Lang.Object'. An explicit conversion exists (are you missing a cast?)

Less optional alternative (Variant B) would be to change native Java typewhich leads to similar errors:

Variant B - change `type`
./generated/androidx.activity.activity/obj/Debug/net8.0-android/generated/src/AndroidX.Activity.Result.Contract.ActivityResultContracts.cs(883,13): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.IList<Android.Net.Uri>' to 'Java.Lang.Object'. An explicit conversion exists (are you missing a cast?) [./generated/androidx.activity.activity/androidx.activity.activity.csproj::TargetFramework=net8.0-android]
./generated/androidx.activity.activity/obj/Debug/net8.0-android/generated/src/AndroidX.Activity.Result.Contract.ActivityResultContracts.cs(1104,13): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.IList<Android.Net.Uri>' to 'Java.Lang.Object'. An explicit conversion exists (are you missing a cast?) [./generated/androidx.activity.activity/androidx.activity.activity.csproj::TargetFramework=net8.0-android]
./generated/androidx.activity.activity/obj/Debug/net8.0-android/generated/src/AndroidX.Activity.Result.Contract.ActivityResultContracts.cs(1784,13): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.IDictionary<string, Java.Lang.Boolean>' to 'Java.Lang.Object'. An explicit conversion exists (are you missing a cast?) [./generated/androidx.activity.activity/androidx.activity.activity.csproj::TargetFramework=net8.0-android]
<attr
path="/api/package[@name='androidx.activity.result.contract']/class[@name='ActivityResultContracts.OpenDocument']/method[@name='createIntent' and count(parameter)=2 and parameter[1][@type='android.content.Context'] and parameter[2][@type='java.lang.String[]']]/parameter[2]"
name="type"
>
java.lang.Object
</attr>
<attr
path="/api/package[@name='androidx.activity.result.contract']/class[@name='ActivityResultContracts.OpenMultipleDocuments']/method[@name='createIntent' and count(parameter)=2 and parameter[1][@type='android.content.Context'] and parameter[2][@type='java.lang.String[]']]/parameter[2]"
name="type"
>
java.lang.Object
</attr>
<attr
path="/api/package[@name='androidx.activity.result.contract']/class[@name='ActivityResultContracts.RequestMultiplePermissions']/method[@name='createIntent' and count(parameter)=2 and parameter[1][@type='android.content.Context'] and parameter[2][@type='java.lang.String[]']]/parameter[2]"
name="type"
>
java.lang.Object
</attr>

@moljac
Copy link
Contributor Author

moljac commented Dec 19, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@moljac
Copy link
Contributor Author

moljac commented Jan 2, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@moljac
Copy link
Contributor Author

moljac commented Jan 5, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@moljac
Copy link
Contributor Author

moljac commented Jan 9, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@moljac
Copy link
Contributor Author

moljac commented Jan 11, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jonathanpeppers
Copy link
Member

Is this "done"? Is it green?

@moljac
Copy link
Contributor Author

moljac commented Jan 16, 2025

Is this "done"? Is it green?

It is green, but there are still few cases which will ned more love.

@moljac
Copy link
Contributor Author

moljac commented Jan 17, 2025

Test errors for investigaton

========================================
all-packages-tests
========================================
Restore complete (1,3s)
  AllPackagesTests net8.0 succeeded (0,3s) → tests/allpackages/bin/Debug/net8.0/AllPackagesTests.dll
NUnit Adapter 3.17.0.0: Test execution started
Running all tests in /Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/tests/allpackages/bin/Debug/net8.0/AllPackagesTests.dll
   NUnit3TestExecutor discovered 4 of 4 NUnit test cases
NUnit Adapter 3.17.0.0: Test execution complete
  AllPackagesTests test net8.0 failed with 2 error(s) (325,0s)
    /Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/tests/allpackages/TestAllIndividualPackages.cs(296): error TESTERROR: 
      TestMauiAllGPSPackages (1m 21s): Error Message: Command 'build -c Release -bl' failed with exit code 1.
      Errors:
      IL7000: An error occurred while executing the custom linker steps. Please review the build log for more information. [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPacka
      gesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCDisplay' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayExcludingApplications) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst
       SDK (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramewor
      k=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCRunningApplication[]' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayExcludingApplications) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newe
      r MacCatalyst SDK (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::T
      argetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCWindow[]' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayExcludingApplications) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalys
      t SDK (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramewo
      rk=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCDisplay' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayExcludingWindows) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK 
      (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net
      9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCWindow[]' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayExcludingWindows) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK
       (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=ne
      t9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCDisplay' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayIncludingApplications) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst
       SDK (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramewor
      k=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCRunningApplication[]' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayIncludingApplications) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newe
      r MacCatalyst SDK (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::T
      argetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCWindow[]' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayIncludingApplications) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalys
      t SDK (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramewo
      rk=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCDisplay' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayIncludingWindows) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK 
      (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net
      9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCWindow[]' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayIncludingWindows) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK
       (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=ne
      t9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCWindow' (used as a parameter in ScreenCaptureKit.SCContentFilter..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by using the m
      ost recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.ISCContentSharingPickerObserver' (used as a parameter in ScreenCaptureKit.SCContentSharingPicker.AddObserver) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatal
      yst SDK (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFrame
      work=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCShareableContentStyle' (used as a parameter in ScreenCaptureKit.SCContentSharingPicker.Present) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usu
      ally done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-
      maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCStream' (used as a parameter in ScreenCaptureKit.SCContentSharingPicker.Present) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by us
      ing the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCStream' (used as a parameter in ScreenCaptureKit.SCContentSharingPicker.Present) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by us
      ing the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCShareableContentStyle' (used as a parameter in ScreenCaptureKit.SCContentSharingPicker.Present) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usu
      ally done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-
      maccatalyst]
      MT4162: The type 'ScreenCaptureKit.ISCContentSharingPickerObserver' (used as a parameter in ScreenCaptureKit.SCContentSharingPicker.RemoveObserver) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCa
      talyst SDK (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFr
      amework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCContentSharingPickerConfiguration' (used as a parameter in ScreenCaptureKit.SCContentSharingPicker.SetConfiguration) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer
       MacCatalyst SDK (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::Ta
      rgetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCStream' (used as a parameter in ScreenCaptureKit.SCContentSharingPicker.SetConfiguration) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually d
      one by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccat
      alyst]
      MT4162: The type 'ScreenCaptureKit.SCRecordingOutputConfiguration' (used as a parameter in ScreenCaptureKit.SCRecordingOutput..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usu
      ally done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-
      maccatalyst]
      MT4162: The type 'ScreenCaptureKit.ISCRecordingOutputDelegate' (used as a parameter in ScreenCaptureKit.SCRecordingOutput..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually
       done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-macc
      atalyst]
      MT4162: The type 'UIKit.UIWritingToolsCoordinatorTextUpdateReason' (used as a parameter in UIKit.UIWritingToolsCoordinator.UpdateRange) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (
      usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9
      .0-maccatalyst]
      MT4162: The type 'UIKit.IUIWritingToolsCoordinatorDelegate' (used as a parameter in UIKit.UIWritingToolsCoordinator..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done 
      by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalys
      t]
      MT4162: The type 'Accessibility.AXMathExpression[]' (used as a parameter in Accessibility.AXMathExpressionFenced..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by 
      using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpression' (used as a parameter in Accessibility.AXMathExpressionFraction..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by 
      using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpression' (used as a parameter in Accessibility.AXMathExpressionFraction..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by 
      using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpression' (used as a parameter in Accessibility.AXMathExpressionMultiscript..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done 
      by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalys
      t]
      MT4162: The type 'Accessibility.AXMathExpressionSubSuperscript[]' (used as a parameter in Accessibility.AXMathExpressionMultiscript..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SD
      K (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=n
      et9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpressionSubSuperscript[]' (used as a parameter in Accessibility.AXMathExpressionMultiscript..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SD
      K (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=n
      et9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpression[]' (used as a parameter in Accessibility.AXMathExpressionRoot..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by us
      ing the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpression' (used as a parameter in Accessibility.AXMathExpressionRoot..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by usin
      g the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpression[]' (used as a parameter in Accessibility.AXMathExpressionRow..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by usi
      ng the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpression[]' (used as a parameter in Accessibility.AXMathExpressionSubSuperscript..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually 
      done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-macca
      talyst]
      MT4162: The type 'Accessibility.AXMathExpression[]' (used as a parameter in Accessibility.AXMathExpressionSubSuperscript..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually 
      done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-macca
      talyst]
      MT4162: The type 'Accessibility.AXMathExpression[]' (used as a parameter in Accessibility.AXMathExpressionSubSuperscript..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually 
      done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-macca
      talyst]
      MT4162: The type 'Accessibility.AXMathExpression[]' (used as a parameter in Accessibility.AXMathExpressionTable..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by u
      sing the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpression[]' (used as a parameter in Accessibility.AXMathExpressionTableCell..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done 
      by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalys
      t]
      MT4162: The type 'Accessibility.AXMathExpression[]' (used as a parameter in Accessibility.AXMathExpressionTableRow..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done b
      y using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst
      ]
      MT4162: The type 'Accessibility.AXMathExpression' (used as a parameter in Accessibility.AXMathExpressionUnderOver..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by
       using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpression' (used as a parameter in Accessibility.AXMathExpressionUnderOver..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by
       using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'Accessibility.AXMathExpression' (used as a parameter in Accessibility.AXMathExpressionUnderOver..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by
       using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCRecordingOutput' (used as a parameter in ScreenCaptureKit.SCStream.AddRecordingOutput) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done
       by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccataly
      st]
      MT4162: The type 'ScreenCaptureKit.ISCStreamOutput' (used as a parameter in ScreenCaptureKit.SCStream.AddStreamOutput) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by u
      sing the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCStreamOutputType' (used as a parameter in ScreenCaptureKit.SCStream.AddStreamOutput) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done b
      y using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst
      ]
      MT4162: The type 'ScreenCaptureKit.SCRecordingOutput' (used as a parameter in ScreenCaptureKit.SCStream.RemoveRecordingOutput) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually d
      one by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccat
      alyst]
      MT4162: The type 'ScreenCaptureKit.ISCStreamOutput' (used as a parameter in ScreenCaptureKit.SCStream.RemoveStreamOutput) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done b
      y using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst
      ]
      MT4162: The type 'ScreenCaptureKit.SCStreamOutputType' (used as a parameter in ScreenCaptureKit.SCStream.RemoveStreamOutput) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually don
      e by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatal
      yst]
      MT4162: The type 'ScreenCaptureKit.SCStreamConfiguration' (used as a parameter in ScreenCaptureKit.SCStream.UpdateConfiguration) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually
       done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-macc
      atalyst]
      MT4162: The type 'ScreenCaptureKit.SCContentFilter' (used as a parameter in ScreenCaptureKit.SCStream.UpdateContentFilter) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done 
      by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalys
      t]
      MT4162: The type 'ScreenCaptureKit.SCContentFilter' (used as a parameter in ScreenCaptureKit.SCStream..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by using the m
      ost recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.SCStreamConfiguration' (used as a parameter in ScreenCaptureKit.SCStream..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by using
       the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT4162: The type 'ScreenCaptureKit.ISCStreamDelegate' (used as a parameter in ScreenCaptureKit.SCStream..ctor) is not available in MacCatalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by using the
       most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT2431: The linker step 'ManagedRegistrar' failed during processing: One or more errors occurred. (The type 'ScreenCaptureKit.SCDisplay' (used as a parameter in ScreenCaptureKit.SCContentFilter._InitWithDisplayExcludingApplications) is not available in MacC
      atalyst 18.1 (it was introduced in MacCatalyst 18.2). Please build with a newer MacCatalyst SDK (usually done by using the most recent version of Xcode). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/o
      utput/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      NETSDK1144: Optimizing assemblies for size failed. [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-mac
      catalyst]
      IL7000: An error occurred while executing the custom linker steps. Please review the build log for more information. [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPacka
      gesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-ios]
      MT0180: This version of Microsoft.iOS requires the iOS 18.2 SDK (shipped with Xcode 16.2). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only in your project's iOS Build Options > Linker Beh
      avior (to try to avoid the new APIs). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-ios]
      MT2301: The linker step 'Setup' failed during processing: This version of Microsoft.iOS requires the iOS 18.2 SDK (shipped with Xcode 16.2). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Onl
      y in your project's iOS Build Options > Linker Behavior (to try to avoid the new APIs). [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-G
      PS.csproj::TargetFramework=net9.0-ios]
      NETSDK1144: Optimizing assemblies for size failed. [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-ios
      ]
      Warnings:
      MT0079: The recommended Xcode version for Microsoft.MacCatalyst 18.2.9170 is Xcode 16.2 or later. The current Xcode version (found in /Applications/Xcode.app/Contents/Developer) is 16.1. [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-r
      emoval-of-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-maccatalyst]
      MT0079: The recommended Xcode version for Microsoft.iOS 18.2.9170 is Xcode 16.2 or later. The current Xcode version (found in /Applications/Xcode.app/Contents/Developer) is 16.1. [/Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-o
      f-generator-workarounds/output/tests/allpackages/maui/AllPackagesTest-GPS/AllPackagesTest-GPS.csproj::TargetFramework=net9.0-ios]
      
      Stack Trace:
         at AllPackagesTests.TestAllIndividualPackages.RunAndAssertSuccess(String arguments, String workingDir, Boolean isMSBuild) in /Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/tests/allpackages/TestAllInd
      ividualPackages.cs:line 296
         at AllPackagesTests.TestAllIndividualPackages.TestAllPackages(String template, Boolean isGps) in /Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/tests/allpackages/TestAllIndividualPackages.cs:line 176
         at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
         at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
         at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
         at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
         at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
         at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
         at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)
    /Users/Shared/Projects/d/dotnet/android-libraries/mu-20241209-net10-removal-of-generator-workarounds/tests/allpackages/TestAllIndividualPackages.cs(296): error TESTERROR: 
      TestMauiAllPackages (5s 203ms): Error Message: Command 'build -c Release -bl' failed with exit code 1.
      Errors:
      NU1202: Package Xamarin.AndroidX.Activity 1.9.3.1 is not compatible with net9.0-ios18.2 (.NETCoreApp,Version=v9.0). Package Xamarin.AndroidX.Activity 1.9.3.1 supports: net9.0-android35.0 (.NETCoreApp,Version=v9.0)
      NU1202: Package Xamarin.AndroidX.Activity.Compose 1.9.3.1 is not compatible with net9.0-ios18.2 (.NETCoreApp,Version=v9.0). Package Xamarin.AndroidX.Activity.Compose 1.9.3.1 supports: net9.0-android35.0 (.NETCoreApp,Version=v9.0)
      NU1202: Package Xamarin.AndroidX.Activity.Ktx 1.9.3.1 is not compatible with net9.0-ios18.2 (.NETCoreApp,Version=v9.0). Package Xamarin.AndroidX.Activity.Ktx 1.9.3.1 supports: net9.0-android35.0 (.NETCoreApp,Version=v9.0)
      NU1202: Package Xamarin.AndroidX.Ads.Identifier 1.0.0.29-alpha05 is not compatible with net9.0-ios18.2 (.NETCoreApp,Version=v9.0). Package Xamarin.AndroidX.Ads.Identifier 1.0.0.29-alpha05 supports: net9.0-android35.0 (.NETCoreApp,Version=v9.0)
      NU1202: Package Xamarin.AndroidX.Ads.IdentifierCommon 1.0.0.29-alpha05 is not compatible with net9.0-ios18.2 (.NETCoreApp,Version=v9.0). Package Xamarin.AndroidX.Ads.IdentifierCommon 1.0.0.29-alpha05 supports: net9.0-android35.0 (.NETCoreApp,Version=v9.0)
      NU1202: Package Xamarin.AndroidX.Ads.IdentifierProvider 1.0.0.29-alpha05 is not compatible with net9.0-ios18.2 (.NETCoreApp,Version=v9.0). Package Xamarin.AndroidX.Ads.IdentifierProvider 1.0.0.29-alpha05 supports: net9.0-android35.0 (.NETCoreApp,Version=v9.
      0) 

@moljac
Copy link
Contributor Author

moljac commented Jan 17, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@moljac
Copy link
Contributor Author

moljac commented Jan 17, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants