Could not AOT the assembly System.Runtime.CompilerServices.Unsafe.dll

I get this error only when on an iPhone. The build works fine for the simulator.

MTOUCH : error MT3001: Could not AOT the assembly '.../obj/iPhone/Debug/device-builds/iphone9.4-11.2.1/mtouch-cache/Build/System.Runtime.CompilerServices.Unsafe.dll'

I tried to add this assembly using nuget without any luck.

help me please.

Tagged:

Answers

Sign In or Register to comment.