Custom Plugin won't link under iOS

3 posts, 0 answers
  1. Brian
    Brian avatar
    2 posts
    Member since:
    Mar 2013

    Posted 09 Jul 2013 Link to this post

    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. Brian
    Brian avatar
    2 posts
    Member since:
    Mar 2013

    Posted 10 Jul 2013 Link to this post

    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.
  3. Yavor Georgiev
    Admin
    Yavor Georgiev avatar
    982 posts

    Posted 10 Jul 2013 Link to this post

    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.
Back to Top