I created that simple xamarin forms app (with just iOS). It does nothing but referencing that signalr nuget package.
When I build Debug | iPhone
from Visual Studio on my pc (connected to my mac), it builds fine and especially does AOT compilation for Microsoft.AspNetCore.Sockets.Abstractions.dll
(as well as all other dlls).
However, when I build the same solution on Visual Studio for Mac, also on Debug | iPhone
, I get the following error:
Could not AOT the assembly '/Users/francois/AotTests/AotTests/AotTests.iOS/obj/iPhone/Debug/mtouch-cache/Build/Microsoft.AspNetCore.Sockets.Abstractions.dll' (MT3001) (AotTests.iOS)}