Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

An alternative to BTProgressHUD.ShowToast? Currently results in JIT error (debug mode)

$
0
0

The full error is the following, which was not particularly helpful in helping to track down that it was the invocation of BTProgressHud.ShowToast as the root cause.

Assertion at interp.c condition is_ok (error) not met function:do_jit_call, Attempting to JIT compile method wrapper other void object gsharedvt_out_sig while running in aot-only mode

See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.  assembly:<unknown assembly> type:<unknown type> member:(null)

I've seen similar reports online with JIT and iOS saying that this can be caused by running in debug mode, so for now I've got a #if DEBUG to display a normal dialog in debug mode, but attempt to call BTProgressHud.ShowToast in release mode, but I'd like to understand why this is suddenly happening all of a sudden.

I had the issue with XF 4.5.0.530 so I updated to the latest Xamarin.Forms 4.6.0.616-pre4, I also update all the .NET / App Center libraries etc, but the problem persists.

Q1 - What changed that causes this library that has been stable to no longer work?

Q2 - Is there a good library for toast / popup messages that fade away after x seconds?

Screenshot of iOS build settings...

Screenshot of iOS build settings


Viewing all articles
Browse latest Browse all 91519

Trending Articles