dotnet / cli-lab

A guided tool will be provided to enable the controlled clean up of a system such that only the desired versions of the Runtime and SDKs remain.
MIT License
620 stars 56 forks source link

Create a macOS universal binary #313

Open baronfel opened 1 week ago

baronfel commented 1 week ago

Adds a target that

Things we need to think about:

cc @joeloff / @marcpopMSFT

baronfel commented 6 days ago

Tested this on a m2 machine and it works as expected:

% file dotnet-core-uninstall 
dotnet-core-uninstall: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64]
dotnet-core-uninstall (for architecture x86_64):    Mach-O 64-bit executable x86_64
dotnet-core-uninstall (for architecture arm64): Mach-O 64-bit executable arm64
joeloff commented 6 days ago

Don't think we do notarization for this.