- Home
- Forum
- Xamarin.Forms
- Native linking failed when building iOS on device
Native linking failed when building iOS on device
Hello,
I am struggling to build the iOS version of my Xamarin Forms app.
I am guessing is related with excel export I am using with Syncfusion XlsIO.
Building on iPhone simulator works fine. But when I try to build on a physical device it fails. Themost important I get the same error when trying to build in release mode for App store:
Error Native linking error: don't know how to convert instruction ec86074f referencing _mono_create_corlib_exception_1.island.2 to thumb in 'Syncfusion_Calculate_CalcEngine_ParseSimple_string_char___char___bool_' from /Users/admin/Library/Caches/Xamarin/mtbs/builds/JJpublic.iOS/a0e4256d11443d52100890d52eeed131/obj/iPhone/Release/mtouch-cache/armv7/Syncfusion.XlsIO.Portable.dll.o for architecture armv7 jjpublic.iOS#
I have tried all suggestions related to this article with no luck.
https://www.syncfusion.com/forums/120970/getting-link-error-when-trying-to-build-on-debug-iphone
I tried all possible scenarios, tried building with:
NoLink
Link framework SDK's only
Link All
everything fails.
Right now I 'm stuck and I can't publish my App on App store.
Please help, I am getting desperate
Thank you
SIGN IN To post a reply.
7 Replies
MC
Mohan Chandran
Syncfusion Team
October 23, 2017 09:31 AM UTC
Hi Jonathan,
As ARMv7 architecture has some file size restrictions, the native linking error occurs on this architecture when the debugging option is enabled. To resolve the native linker error we request you to set the Architecture to ARMv64 or above and set the linking behavior option to Link framework SDKs Only.
However, we have created the feature to resolve the native linking error and it will be implemented in any of our upcoming releases.
Please let us know if you need any other assistance on this.
Regards,
Mohan Chandran.
JP
Jonathan Pappas
October 23, 2017 10:00 AM UTC
Mohan thank you for the answer.
For the moment I have removed the excel & pdf exporting in order to build my project. I will wait for the next release as you said and hopefully we will resolve it.
Thank you and best regards,
Jonathan
MC
Mohan Chandran
Syncfusion Team
October 24, 2017 01:03 PM UTC
Hi Jonathan,
Currently, we don’t have any immediate plans to implement this feature as it is more complex and requires architecture level changes. So, we request you to set the Architecture to ARMv64 and set the linking behavior option to Link framework SDKs Only to resolve the native linking error.
Regards,
Mohan Chandran.
LE
LEO
August 16, 2018 09:45 AM UTC
Hi Jonathan !
I'm having the same issue...removing PDF and Excel exporting right now...
Did you found a solution ?
JP
Jonathan Pappas
August 16, 2018 10:07 AM UTC
Hi Leo,
I am sorry to say that I have found no solution.
Hi Leo,I am sorry to say that I have found no solution.
Hi Jonathan,
Thank's for the reply...what are you using for PDF & XLS ?
PK
Prakash Kumar D
Syncfusion Team
August 16, 2018 11:40 AM UTC
Hi Leo,
Native linking error issue has been fixed in our release v16.1.0.24. So, we request you to update to the latest v16.2.0.46.
Kindly try this and let us know whether the issue is resolved or not.
Regards,
Prakash Kumar
SIGN IN To post a reply.
- 7 Replies
- 4 Participants
-
JP Jonathan Pappas
- Oct 21, 2017 03:56 PM UTC
- Aug 16, 2018 11:40 AM UTC