Cysharp / YetAnotherHttpHandler

YetAnotherHttpHandler brings the power of HTTP/2 (and gRPC) to Unity and .NET Standard.
MIT License
376 stars 33 forks source link

DllNotFoundException on macOS Universal Builds #98

Open emretokerler-pk opened 1 month ago

emretokerler-pk commented 1 month ago

I'm having DllNotFoundException when trying to trigger a grpc call on macOS universal builds:

Error: Grpc.Core.RpcException: Status(StatusCode="Internal", Detail="Error starting gRPC call. DllNotFoundException: Unable to load DLL 'Cysharp.Net.Http.YetAnotherHttpHandler.Native'. Tried the load the following dynamic libraries: Unable to load dynamic library 'Cysharp.Net.Http.YetAnotherHttpHandler.Native'

In seperate builds for silicon and intel, both are working fine. At this point, I noticed there are two prebuilt libraries (one for intel, one for silicon) as shown:

Screenshot 2024-10-24 at 17 07 59 Screenshot 2024-10-24 at 17 08 15

But there's no library included to be used for universal builds marked as "CPU=Any CPU"

How to solve this?