azure-functions-core-tools icon indicating copy to clipboard operation
azure-functions-core-tools copied to clipboard

osx-arm64 missing from azure-functions runtimes

Open NathanChannon opened this issue 1 year ago • 10 comments

Afer installing, via Homebrew, the core-tools@4, function apps, of the stripe .net6 won't run on Apple Silicon because of the following error: (this is when trying to debug a functions app using Rider (latest)):

Grpc.Core: Error loading native library. Not found in any of the possible locations: /Users/x/Repos/x/Functions/bin/Debug/net6.0/.azurefunctions/libgrpc_csharp_ext.arm64.dylib
/Users/x/Repos/x/Functions/bin/Debug/net6.0/.azurefunctions/runtimes/osx-arm64/native/libgrpc_csharp_ext.arm64.dylib
/Users/x/Repos/x/Functions/bin/Debug/net6.0/.azurefunctions/../../runtimes/osx-arm64/native/libgrpc_csharp_ext.arm64.dylib.

I can see it's in the repo releases here: https://github.com/Azure/azure-functions-core-tools/releases - but is not included in the install, and therefore whenever building a functions app, it can't find the runtime - why is that?

Does this mean that it's not truly native - am I forced to target x86 and run Rosetta?

The strange things is, I think this was working as of .net5 and version3 - but now isn't!?

The runtimes that are being included when the app is built for debug are:

  • linux-arm64
  • linux-x64
  • osx-x64
  • win
  • win-x64
  • win-x86

Why is osx-arm64 missing?!

NathanChannon avatar Apr 20 '23 14:04 NathanChannon

I face the same problem,

@NathanChannon did you find a solution / Workaround?

sebhaub avatar May 08 '23 19:05 sebhaub

@sebhaub - I didn't; I had to wait until I could get back on my Windows machine at home... Seeing the number of issues in here, this might be quite low on the list considering most dotnet things do work in fairness.

NathanChannon avatar May 09 '23 07:05 NathanChannon

I face the same problem too....are there any news about? did you find a workaround? Thank you

manuraf avatar Jul 17 '23 12:07 manuraf

Sorry @manuraf - no fix that I'm aware of yet... I'm still using Windows

NathanChannon avatar Jul 19 '23 14:07 NathanChannon

another +1, seems related to osx-arm64 missing.

andrw avatar Jan 19 '24 00:01 andrw

+1

ez2rabo avatar Mar 22 '24 15:03 ez2rabo