Microcharts icon indicating copy to clipboard operation
Microcharts copied to clipboard

Microcharts breaks on iOS 13.3.1

Open hunterbrodie opened this issue 5 years ago • 14 comments

After updating to iOS 13.3.1, microcharts on my application stopped showing. I tested this with another phone as well, and the iOS update broke it on that phone too.

hunterbrodie avatar Feb 03 '20 17:02 hunterbrodie

I'm running it inside of iOS 13.3. This is my first time to use the library but the basic example works for me. Is it still not working for you?

sethom avatar Feb 19 '20 19:02 sethom

I have updated to iOS 13.3.1, since then I have performed the same issue the charts are not showing.

yesmeco avatar Feb 28 '20 14:02 yesmeco

Sethom it works in 13.3, but not 13.3.1 for me

hunterbrodie avatar Feb 28 '20 14:02 hunterbrodie

did you get any solution? I am facing the same problem.

dammanjit avatar Feb 29 '20 19:02 dammanjit

I have not found any solution

hunterbrodie avatar Feb 29 '20 21:02 hunterbrodie

I'm experiencing weird behaviour because the chart is showing properly in simulator (iOS 14.0) but it doesn't show anything on my device (iOS 13.3), maybe it is the same issue. I'll try to update to 14.1 on my device and maybe it will work, I will add the result later

triskacik avatar Apr 12 '20 19:04 triskacik

So it apparently works after the update to iOS 13.4.1.

triskacik avatar Apr 12 '20 19:04 triskacik

@hunterbrodie @triskacik @yesmeco @sethom

I believe the issues you guys are experiencing are likely linked to the "device specific builds" setting, see my bug report here: https://github.com/dotnet-ad/Microcharts/issues/217

I couldn't get the charts to render on iOS, unless I disabled the "device specific builds" setting. I also made sure to enable "Link Framework SDKs Only" for all configurations (not sure it's needed, but I think enabling this setting makes sure 3rd party frameworks like Microcharts are integrated into the project).

wolf81 avatar Sep 01 '20 15:09 wolf81

I've tried what @wolf81 suggested but no success. The application crashes when start with this message in Visual Studio: 2021-06-11 16:56:09.320 Xamarin.PreBuilt.iOS[11880:738685] Xamarin.Forms AppDelegate name: AppDelegate

================================================================= Native Crash Reporting

Got a segv while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application.

================================================================= Native stacktrace:

0x104410120 - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : mono_dump_native_crash_info
0x104406cbc - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : mono_handle_native_crash

0x104413a60 - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : mono_sigsegv_signal_handler_debug
0x1ddde829c - /usr/lib/system/libsystem_platform.dylib : <redacted>
0x19238c5ec - /usr/lib/system/libdyld.dylib : <redacted>
0x19237c008 - /usr/lib/system/libdyld.dylib : <redacted>
0x19238c418 - /usr/lib/system/libdyld.dylib : <redacted>
0x19237c948 - /usr/lib/system/libdyld.dylib : <redacted>
0x19238cf30 - /usr/lib/system/libdyld.dylib : <redacted>
0x19238c9c0 - /usr/lib/system/libdyld.dylib : <redacted>
0x19238e928 - /usr/lib/system/libdyld.dylib : <redacted>
0x19237fecc - /usr/lib/system/libdyld.dylib : <redacted>
0x1045bc970 - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : do_icall

0x1045bb010 - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : do_icall_wrapper
0x1045b1a8c - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : interp_exec_method_full

0x1045afeb0 - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : interp_runtime_invoke
0x104416d3c - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : mono_jit_runtime_invoke
0x1044c52c0 - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : mono_runtime_invoke_checked
0x1044ca564 - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : mono_runtime_exec_main_checked
0x1043fb8f4 - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : mono_jit_exec
0x1045ad984 - /private/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : xamarin_main
0x1043c3c34 - /privat

e/var/containers/Bundle/Application/DFE6208E-FDDF-4113-92EA-8BF3DDED3841/Test.NiceCharts.iOS.app/Xamarin.PreBuilt.iOS : main 0x19237acf8 - /usr/lib/system/libdyld.dylib :

================================================================= Basic Fault Address Reporting

Memory around native instruction pointer (0x10e59b11c):0x10e59b10c c3 bc 00 94 e0 03 13 aa 5f 00 03 94 20 00 20 d4 ........_... . . 0x10e59b11c f4 4f be a9 fd 7b 01 a9 fd 43 00 91 73 09 00 b0 .O... {...C..s... 0x10e59b12c 73 82 2b 91 61 08 00 b0 21 38 2f 91 e0 03 13 aa s.+.a...!8 /..... 0x10e59b13c 02 00 ae 52 63 bc 00 94 60 82 01 91 ce bc 00 94 ...Rc...`.......

================================================================= Managed Stacktrace:

  at <unknown> <0xffffffff>
  at ObjCRuntime.Dlfcn:_dlopen <0x00026>
  at ObjCRuntime.Dlfcn:dlopen <0x00010>
  at Xamarin.PreBuilt.iOS.Applications:LoadFrameworks <0x0009e>
  at Xamarin.PreBuilt.iOS.Applications:Main <0x00202>
  at <Module>:runtime_invoke_direct_void_string[] <0x00092>

=================================================================

Thread started: <Thread Pool> 4 Thread started: <Thread Pool> 5 Thread started: <Thread Pool> 6 Thread started: <Thread Pool> 7 The app has been terminated.

Rabosa616 avatar Jun 11 '21 15:06 Rabosa616

Are you sure it's the library? Have you removed it?

eman1986 avatar Jun 11 '21 16:06 eman1986

Yes by removing the library I do not have any problems at all

Rabosa616 avatar Jun 14 '21 05:06 Rabosa616

Any update or workarounds for this? Android emulator runs fine but on IOS the app does not start. I get the same error as Rabosa616.

Thwar avatar Jul 24 '21 16:07 Thwar

if I had a good test case brought to me someone could try to reproduce it.

eman1986 avatar Jul 25 '21 18:07 eman1986

I believe it has something to do with the latest IOS version (14.6) or device?. I created a brand new shell project and just implemented the chart example.

Running on Iphone 7 with IOS 14.3 I had no issues. Chart was showing flawless. However running on an Iphone 11 pro max with IOS 14.6 and IOS 14.7.1 (updated recently), the app gets stuck on the splash screen and crashes.

Using Microcharts.Forms 0.9.5.9

Thwar avatar Jul 28 '21 00:07 Thwar