Comet
Comet copied to clipboard
Don't find the runtime package for ios
the building of the project work on a regular maui application. If i try
dotnet build -t:run -f net6.0-ios
the followin errors shown:
error NETSDK1112: The runtime package for "Microsoft.Maui.Core.Runtime.ios" was not downloaded. Perform a NuGet recovery with RuntimeIdentifier "ios".
I'm getting the same error when trying to run Comet Maui: Build FAILED.
/usr/local/share/dotnet/sdk/6.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(430,5): error NETSDK1112: The runtime pack for Microsoft.Maui.Core.Runtime.ios was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'ios'.
/usr/local/share/dotnet/sdk/6.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(430,5): error NETSDK1112: The runtime pack for Microsoft.Maui.Controls.Runtime.ios was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'ios'.
/usr/local/share/dotnet/sdk/6.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(430,5): error NETSDK1112: The runtime pack for Microsoft.Maui.Essentials.Runtime.ios was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'ios'.
I've tried adding the Nuget packages (Microsoft.Maui.Essentials.Runtime/Controls.Runtime/Core.Runtime) in Visual Studio for Mac but then I'm getting an error saying that the package isn't compatible with "dotnetplatform".
#272 this PR will fix this. Update .net6 workload to 6.0.541. remove obj and bin folder and rebuild the project should work