Duplicate symbol in iOS native extension


i'm trying add objective c class existing native extension have ios. code builds fine in xcode, , ane process still seems work fine. when try package application debugging on iphone error:

error occurred while packaging application:

 

 

ld: duplicate symbol _objc_metaclass_$_emailviewdelegate in c:\users\jmiller\appdata\local\temp\18faba99-de69-437b-8fed-c983e5ce2882/libtspnativeext. a(emailviewdelegate.o) , c:\users\jmiller\appdata\local\temp\18faba99-de69-437b-8fed-c983e5ce2882/libnet.theservic epro.a(emailviewdelegate.o) architecture armv7

compilation failed while executing : ld64

 

emailviewdelegate name of class i'm trying add. libtspnativeext.a library i'm building in xcode. have no idea libnet.theservicepro.a coming based on id extension.xml (which net.theservicepro). i've inspected ane winrar , although see libtspnativeext.a in ios folder, not see other library anywhere.

 

the fix i'm seeing use hideanelibsymbols=yes in launch parameters. however, when error while packaging:

error occurred while packaging application:

 

 

compilation failed while executing : ld64

 

most people running problem 2 native extensions conflict. in flow seems duplicating code within single ane. suggestions?

and took typing out question answer hit me. i'm going share here incase else runs same problem.

 

the problem in platform_options.xml file ios. previous coder had set this:

 

<packageddependencies>

    <packageddependency>libtspnativeext.a</packageddependency>

    <packageddependency>bmsprinterkit_us.framework</packageddependency>

</packageddependencies>

 

so behind scenes, adt putting these dependancies libextensionid.a library means telling import our library second time. i'm amazed worked before!



More discussions in Using Flash Builder


adobe

Comments

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?