1 |
Run the project in the “Release” mode.
|
2 |
When using Syncfusion.XlsIO.Portable library in iOS application, the following settings must be done to execute in iOS devices.
Visual Studio: In Visual Studio, we can only execute in release mode for iOS device by setting the link behavior field to Link SDK assemblies only. Xamarin Studio (Recommended): Link behavior: Link SDK assemblies only (otherwise classes you need in Syncfusion.XlsIO.Portable.dll are linked away).
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 version in the following link.
ReadMe for Xamarin Studio (older version):
http://www.syncfusion.com/downloads/support/directtrac/general/ReadMe1200983097.zip |
3 |
From the Xamarin forum https://forums.xamarin.com/discussion/59267/system-executionengineexception-sigill
There is a solution to skip this issue by setting one of the following registrar options to the additional mtouch arguments in the project's iOS Build options:
· --registrar:static : default for device builds
· --registrar:dynamic : default for simulator builds
· --registrar:legacystatic : default for device builds until Xamarin.iOS 7.2.1
· --registrar:legacydynamic : default for simulator builds until Xamarin.iOS 7.2.1 |
1 |
Xamarin version?
iPhone 5 iOS version?
iPhone 6 iOS version? |
2 |
Code snippet used in the program. |
3 |
Confirm us if you can run Syncfusion’s sample browser (Xamarin). If the sample browser runs proper and deploy the samples in devices, then there is no issue with the library. You may need to revisit your project to resolve this. |