Reputation: 68800
Suddenly my app is chucking these errors on a NuGet package that was recently updated to 64 bit support.
Attempting to JIT compile method
Refractored.Xam.Settings.Settings:GetValueOrDefault<bool> (string,bool)
while running with--aot-only
. See http://docs.xamarin.com/ios/about/limitations for more information.
Its stymied me.
It's called here:
public static bool RememberMeSwitch
{
get { return AppSettings.GetValueOrDefault(CacheKeys.RememberMeSwitch, false); }
set { AppSettings.AddOrUpdateValue(CacheKeys.RememberMeSwitch, value); }
}
Upvotes: 2
Views: 3840
Reputation: 39
I newer versions the setting to enable Reflection capabilities is called "Enable the Mono interpreter":
Upvotes: 1
Reputation: 3792
I figured it out. You must enable generic type sharing in the settings. It is on by default. I did not document this and I will add it to the readme:
Upvotes: 4