Xamarin frorm build iOS app has issues on device but runs fine on simulator . Erorr message: xamarin_timezone_get_data

bằng nguyễn văn 1 Reputation point
2021-04-17T08:43:07.647+00:00

Location: vietnam
Device: ios 12.4.2

88739-anh-chup-man-hinh-2021-04-17-luc-153746.png

at System.TimeZoneInfo.GetMonoTouchData (System.String name, System.Boolean throw_on_error) [0x00002] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/corlib/System/TimeZoneInfo.MonoTouch.cs:98
at System.TimeZoneInfo.CreateLocal () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/corlib/System/TimeZoneInfo.MonoTouch.cs:52
at System.TimeZoneInfo.get_Local () [0x00009] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/corlib/System/TimeZoneInfo.cs:76
at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (System.DateTime time, System.Boolean& isAmbiguousLocalDst) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/corlib/System/TimeZoneInfo.cs:522
at System.DateTime.get_Now () [0x00008] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/external/corefx/src/Common/src/CoreLib/System/DateTime.cs:1007
at Xamarin.CommunityToolkit.Effects.TouchEffect..ctor () [0x00021] in <ed56dc24dfeb4b7cbd0f7272b792096c>:0
at Xamarin.CommunityToolkit.Effects.TouchEffect.TryGenerateEffect (Xamarin.Forms.BindableObject bindable, System.Object oldValue, System.Object newValue) [0x00023] in <ed56dc24dfeb4b7cbd0f7272b792096c>:0
at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) [0x00120] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:512
at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) [0x00173] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:446
at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value, System.Boolean fromStyle, System.Boolean checkAccess) [0x0004d] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:374
at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:349
at ProjectQrcode.Views.Pages.HomePage.InitializeComponent () [0x00166] in /Users/vietmy/Duan/ProjectQrcode/ProjectQrcode/obj/Debug/netstandard2.0/Views/Pages/HomePage.xaml.g.cs:102
at ProjectQrcode.Views.Pages.HomePage..ctor () [0x00013] in /Users/vietmy/Duan/ProjectQrcode/ProjectQrcode/Views/Pages/HomePage.xaml.cs:23
at ProjectQrcode.App..ctor () [0x0001b] in /Users/vietmy/Duan/ProjectQrcode/ProjectQrcode/App.xaml.cs:44

Developer technologies | .NET | Xamarin
{count} votes

1 answer

Sort by: Most helpful
  1. bằng nguyễn văn 1 Reputation point
    2021-04-19T09:41:08.14+00:00

    My problem was solved by removing Visual and reinstalling it.
    89020-anh-chup-man-hinh-2021-04-19-luc-163138.png

    If I update it immediately cause More Errors, it looks like an Error is appearing from this update..


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.