For .NET 6 hot reload to work, and for other scenarios, we need to be able to run apps using the interpreter on the simulator.
Currently calling the following code from AppDelegate.FinishedLaunching returns "JIT"
using System.Runtime.CompilerServices;
public string GetExecutionMode()
{
if (!RuntimeFeature.IsDynamicCodeSupported)
return "AOT";
if (RutnimeFeature.IsDynamicCodeCompiled)
return "JIT";
return "Interpreter";
}
For .NET 6 hot reload to work, and for other scenarios, we need to be able to run apps using the interpreter on the simulator.
Currently calling the following code from
AppDelegate.FinishedLaunchingreturns "JIT"