How to resolve linking error when debugging an iOS application using XlsIO in Xamarin.iOS application?
When using Syncfusion.XlsIO.Portable class library in an iOS application, the following settings must be configured to execute properly on iOS devices.
Xamarin Studio or Visual Studio (Recommended):
1. Link behavior: Link SDK assemblies only (otherwise classes you need in Syncfusion.XlsIO.Portable.dll are linked away).
2. Enable debugging: Unchecked (this is to create a smaller binary, since adding debug information makes it somewhat bigger).
Applying these settings will execute the application properly in iOS device.
You might face the following issues, if the above mentioned build options are missed out.
· You might get "Native linking error" while compiling.
· You might face runtime Exception ("System.TypeInitializationException").
You can also refer to the ReadMe file for older Xamarin Studio versions at the following link:
ReadMe for Xamarin Studio (older version):
https://www.syncfusion.com/downloads/support/directtrac/general/ReadMe1200983097.zip
This issue has been rectified in the sixth generation devices.
Take a moment to peruse the documentation where you can find basic Excel document processing options along with the features like import and export data, chart, formulas, conditional formatting, data validation, tables, pivot tables and protect the Excel documents, and most importantly, the PDF, CSV and Image conversions with code examples.
Conclusion
I hope you enjoyed learning about how to resolve linking error when debugging an iOS application using XlsIO in Xamarin.iOS application.
You can refer to our XIsIO’s feature tour page to learn about its other groundbreaking features. Explore our UG documentation and online demos to understand how to manipulate data in Excel documents.
If you are an existing user, you can access our latest components from the License and Downloads page. For new users, you can try our 30-day free trial to check out XlsIO and other Syncfusion® components.
If you have any queries or require clarification, please let us know in the comments below or contact us through our support forums, Support Tickets, or feedback portal. We are always happy to assist you!