Issue
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); }
}
Solution
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:
Answered By - JamesMontemagno
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.