'Where to get libgrpc_csharp_ext.arm64.dylib?

When I try to run app with Google.Ads.GoogleAds nuget package on MacOS with M1 silicon I get the following error :

Unhandled exception. System.IO.FileNotFoundException: Error loading native library. Not found in any of the possible locations: .../libgrpc_csharp_ext.arm64.dylib

Cannot really find where to obtain libgrpc_csharp_ext.arm64.dylib or where can I find source for it and how to compile.



Solution 1:[1]

You can try to use prebuilt version of the native .dylib for Apple M1 CPUs:

https://github.com/einari/Grpc.Core.M1

https://www.nuget.org/packages/Contrib.Grpc.Core.M1/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 daniil_