Forum Xamarin.iOS


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

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.



Sign In or Register to comment.