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

Add macOS Arm64 support to the CLI tool #708

Open
rjrjensen opened this issue Mar 2, 2023 · 4 comments
Open

Add macOS Arm64 support to the CLI tool #708

rjrjensen opened this issue Mar 2, 2023 · 4 comments

Comments

@rjrjensen
Copy link

Is your feature request related to a problem? Please describe.

I am trying to run the libman CLI tool on my Mac mini M2 Pro after installing the recommended Arm64 versions of the .NET SDK, but it fails and says that it can't find a .NET Runtime.

Describe the solution you'd like

Correct me if I'm wrong, but I think the problem could be solved if osx-arm64 was added to the PackAsToolShimRuntimeIdentifiers tag in

<PackAsToolShimRuntimeIdentifiers>win-x64;win-x86;osx-x64</PackAsToolShimRuntimeIdentifiers>

I saw a lot of macOS RIDs here and none of them were specifically "osx-arm64", but they do have "osx.13-arm64", so you'd think they'd have a non-version-specific one.

Describe alternatives you've considered

I solved the issue momentarily by installing the x64 version of the Runtime, but I read that running that version uses an Intel emulator and I'm wondering if there's overhead there.

@dvtkrlbs
Copy link

+1 for this. I tried forking the project and adding osx-arm64. However it started complaining about not being able to find the app host for osx-arm64 even though my dotnet tool is arm64 version. I could try to add build configuration for this with some guidance.

@AustinWise
Copy link

This will also requiring update this project from targeting .NET Core 2.1 to at least .NET 5. That is the first version of .NET that support ARM64 macOS.

@dvtkrlbs
Copy link

dvtkrlbs commented Sep 7, 2023

That should be ok IMHO since .NET Core 2.1 has been out of support since August of 2021. .NET Core 5 is also out of support as a lowest common denominator I think it is a good version to bump to.

@jimmylewis
Copy link
Contributor

@phil-allen-msft can someone look at validating support for osx-arm64 now that the CLI tool has been updated to .NET 8?

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

No branches or pull requests

4 participants