This is a migrated thread and some comments may be shown as answers.

Custom Plugin won't link under iOS

2 Answers 36 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brian
Top achievements
Rank 1
Brian asked on 09 Jul 2013, 10:08 PM
The plugin is working on Android, however, I am unable to get the AdMob library for iOS to link successfully as I'm getting a duplicate symbol error.

Everything that I have read on this issue points to linker flags, however, I know we don't have access to all the linker flags for the build process.  The one that I'm not sure if it exists is -all_load which is known to prevent the latest admob library from linking properly.  

Is the -all_load flag set on the build server for iOS?

Other details on the project:
Cordova 2.7.0
Kendo 2013.1.619

Thanks

2 Answers, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 10 Jul 2013, 07:22 AM
Not sure why it posted twice, it told me invalid message but I guess it took it.  Please delete my previous post and use this one.

Thanks.
0
Yavor Georgiev
Telerik team
answered on 10 Jul 2013, 12:32 PM
Hi Brian,

 CordovaLib has the all_load linker flag. They've fixed this in 2.9 by switching to the force_load flag, which doesn't have the same adverse effects.

Regards,
Yavor Georgiev
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
Tags
Apache Cordova
Asked by
Brian
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Yavor Georgiev
Telerik team
Share this question
or