AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

Don't Cross Compile for macOS ARM64 CICD

Open MRayermannMSFT opened this issue 1 year ago • 1 comments

https://dev.azure.com/mseng/AzureDevOps/_wiki/wikis/AzureDevOps.wiki/40632/macos-13-arm64-migration-to-macos-latest-internal

MRayermannMSFT avatar May 17 '24 18:05 MRayermannMSFT

Hmmmm seems like we are blocked by a signing related issue.

Signing uses a DevDiv created .dll (ddsignfiles.dll). This .dll requires .NET Core 3.1. However, a macOS ARM64 versio of .NET Core 3.1 doesn't exist. This is an issue because the UseDotNet task doesn't let us specify the arch of .NET it installs, only version. So it tries to find 3.1 for macOS ARM64 and fails. 😔

I was able to try an un-signed build, which successfully finished, but macOS said the .app is damaged when trying to open it. I'm going to choose not to investigate that for now given the blocking issue with signing.

In short, to get unblocked with signed builds either:

  • UseDotNet let us specify arch
  • DevDiv signing .dll's for macOS need to support macOS ARM64 (likely by targeting something like .NET 8)

MRayermannMSFT avatar Jun 14 '24 18:06 MRayermannMSFT