-
Notifications
You must be signed in to change notification settings - Fork 546
Closed
Labels
dotnetAn issue or pull request related to .NET (6)An issue or pull request related to .NET (6)
Milestone
Description
Steps to Reproduce
dotnet new maui
dotnet publish -c Release -f net6.0-ios -r ios-arm64
Expected Behavior
The app should publish successfully.
Actual Behavior
/Users/eerhardt/git/maui/bin/dotnet/packs/Microsoft.MacCatalyst.Sdk/15.2.300-preview.13.1/targets/Xamarin.Shared.Sdk.targets(1538,3): The RuntimeIdentifier 'ios-arm64' is invalid. [/Users/eerhardt/DotNetTest/MauiTest/NoHosting/NoHosting.csproj]
From looking at the binlog, it appears that the _GenerateRestoreGraph
target is running for each TargetFramework
listed in TargetFrameworks
. The default dotnet new maui
.csproj has:
<TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
And when the target is running for net6.0-maccatalyst
, it is failing here:
Environment
% dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.200-preview.22063.5
Commit: 2d72e717b3
Runtime Environment:
OS Name: Mac OS X
OS Version: 12.2
OS Platform: Darwin
RID: osx.12-x64
Base Path: /Users/eerhardt/git/maui/bin/dotnet/sdk/6.0.200-preview.22063.5/
Host (useful for support):
Version: 6.0.1
Commit: 3a25a7f1cc
.NET SDKs installed:
6.0.200-preview.22063.5 [/Users/eerhardt/git/maui/bin/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.1 [/Users/eerhardt/git/maui/bin/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.1 [/Users/eerhardt/git/maui/bin/dotnet/shared/Microsoft.NETCore.App]
Build Logs
Available on request. Shoot me an email.
cc @rolfbjarne
Metadata
Metadata
Assignees
Labels
dotnetAn issue or pull request related to .NET (6)An issue or pull request related to .NET (6)