the application Crashed (close) when data is archived for publication

good evening,

i am developing an application with syncfusion components, when the application is running in the simulator, everything is fine. but when the file is generated to publish and i install it on a mobile device the application closes. see the test video.

1. previously i have cleared cache

2. i have installed the latest versions

3. the codes are well implemented

I don't know what to do ....


any ideas?


https://youtu.be/-OhRP9ZUO-Q


5 Replies

DD Devakumar Dhanapoosanam Syncfusion Team October 6, 2021 07:57 AM UTC

Hi Gerson Rodriguez, 
 
Greetings from Syncfusion. 
 
We have analyzed your query and we suspect that you may have installed both Syncfusion.Xamarin.SfChart and Syncfusion.Xamarin.SfChart.IOS packages in your project. Please remove Syncfusion.Xamarin.SfChart package from your project and let us know whether issue resolves or not.

For more details, please refer the below UG link. 
 
To clear NuGet cache please refer below link. 
 
If the above solution doesn’t work, could you please share us the stack trace report for the crash which will be helpful to providing you better solution at the earliest?

 
Regards,
Devakumar D 



GR Gerson Rodriguez October 6, 2021 10:22 AM UTC

thank you very much for the answer, however it is a multiplatform app. in android it works very well, in IOS it crashes when the file is generated to publish (release), if I compile in the simulator or use the cell phone to compile (debug) everything works very well.  


i mean i don't know how to generate a stack trace report in that case



GR Gerson Rodriguez replied to Devakumar Dhanapoosanam October 6, 2021 10:54 AM UTC

thank you very much for the answer, however it is a multiplatform app. in android it works very well, in IOS it crashes when the file is generated to publish (release), if I compile in the simulator or use the cell phone to compile (debug) everything works very well.  


i mean i don't know how to generate a stack trace report in that case



GR Gerson Rodriguez October 7, 2021 02:35 AM UTC

I solved the problem.

if you are sure that your implementation is correct, check the data source.


in my case I had numbers with the format XX.XXXX for example 33.9878


I had to change it to a format, XX.XX as 33.98



DD Devakumar Dhanapoosanam Syncfusion Team October 7, 2021 01:24 PM UTC

Hi Gerson Rodriguez, 
 
We are glad to know that you have resolved the reported issue at your end.

 
Query: if you are sure that your implementation is correct, check the data source. in my case I had numbers with the format XX.XXXX for example 33.9878 
 
With the provided details we were unable to reproduce the reported issue at our end. 

Can you please share the chart code snippet and device specification details for us with replication steps in detail, which will be helpful us to figure out the issue at our end and fix it in source.  
 
Regards,
Devakumar D 


Loader.
Up arrow icon