Skip to content

Consider default $(RuntimeIdentifier) for MacCatalyst apps? #15620

Description

@jonathanpeppers

Steps to Reproduce

  1. dotnet new maccatalyst
  2. dotnet build or dotnet build -c Release

Even on an M1, I get a maccatalyst-x64 app.

Expected Behavior

I'm thinking it should do:

  1. Debug - pick the RID on the machine you're building with. So an M1 gets a maccatalyst-arm64 and Intel gets maccatalyst-x64, and this would help the developer loop? No Rosetta when your app launches for debugging/development?
  2. Release - defaults to RuntimeIdentifiers=maccatalyst-x64;maccatalyst-arm64 so Release builds get an app that supports both by default.

Users can override these defaults in their .csproj.

Actual Behavior

It seems like it just defaults to maccatalyst-x64? Always?

Environment

I was testing with the latest .NET 6 builds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dotnetAn issue or pull request related to .NETenhancementThe issue or pull request is an enhancement

    Type

    No type

    Projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions