CommunityToolkit / Maui

The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier
https://learn.microsoft.com/dotnet/communitytoolkit/maui
MIT License
2.27k stars 399 forks source link

[BUG] 'Microsoft.NET.Sdk.iOS.Manifest-7.0.100 16.4.7125' has incompatible package type. #1502

Closed alaskanrogue closed 1 year ago

alaskanrogue commented 1 year ago

Is there an existing issue for this?

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

Beginning this afternoon, the error message "Process cannot be executed on XMA server. Could not find Microsoft.iOS in /Users/marcgeorge/Library/Caches/Xamarin/XMA/SDKs/dotnet/packs/Microsoft.iOS.Sdk/16.4.7125" is received during build.

When attempting to install the package, which was published today, 11/7/2023, the package required by my application, the error message "NU1213: The package Microsoft.NET.Sdk.iOS.Manifest-7.0.100 16.4.7125 has a package type DotnetPlatform that is incompatible with this project." is received.

All packages in the project are up to date, however, include pre-releases.

Builds have been attempted on both Windows and Mac with the latest versions of VS Pr e with same results.

Expected Behavior

Successful build.

Steps To Reproduce

Build a MAUI iOS project with the necessary packages from those noted below.

Link to public reproduction project repository

NA

Environment

VS 17.8.0 Preview 7.0

.NET 7.0.96
ios 16.4.8968-net8-rc2/8.0.100-rc.2

"CommunityToolkit.Maui" Version="6.1.0" />
"CommunityToolkit.Maui.Core" Version="6.1.0" />
"CommunityToolkit.Maui.MediaElement" Version="2.0.0" />
"Geolocator.Plugin" Version="1.0.2" />
"Microsoft.Azure.NotificationHubs" Version="4.1.0" />
"Microsoft.CognitiveServices.Speech" Version="1.33.0" />
"Microsoft.Data.Edm" Version="5.8.5" />
"Microsoft.Data.OData" Version="5.8.5" />
"Microsoft.Data.Services.Client" Version="5.8.5" />
"Microsoft.Extensions.ApiDescription.Client" Version="8.0.0-rc.2.23480.2">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
"Microsoft.Extensions.Features" Version="8.0.0-rc.2.23480.2" />
"Microsoft.Extensions.Primitives" Version="8.0.0-rc.2.23479.6" />
"Newtonsoft.Json" Version="13.0.3" />
"NSwag.ApiDescription.Client" Version="14.0.0-preview009">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
"Plugin.Maui.Audio" Version="2.0.0" />
"System.ServiceModel.Duplex" Version="6.0.0" />
"System.ServiceModel.Federation" Version="6.1.0" />
"System.ServiceModel.Http" Version="6.1.0" />
"System.ServiceModel.NetTcp" Version="6.1.0" />
"System.ServiceModel.Primitives" Version="6.1.0" />
"System.ServiceModel.Security" Version="6.0.0" />
"System.Spatial" Version="5.8.5" />
"Xamarin.Essentials" Version="1.8.0" />

Anything else?

No response

brminnick commented 1 year ago

The description does not indicate a bug in the .NET MAUI Community Toolkit.

Please isolate your bug and confirm it is being caused by the .NET MAUI Community Toolkit.

ghost commented 1 year ago

Hi @alaskanrogue. We have added the "needs reproduction" label to this issue, which indicates that we cannot take further action. This issue will be closed automatically in 5 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

alaskanrogue commented 1 year ago

Transferred to https://github.com/dotnet/maui/issues/18604