Note that there are some explanatory texts on larger screens.

plurals
  1. POFlex ANE, iOS and ARC
    primarykey
    data
    text
    <p>Good day</p> <p>I have created a static library with Xcode. Then I compiled my ANE using adobe's ADT tool. Thereafter I've included the ANE in my FlashBuilder project. However, when attempting to package my project, I get the following error:</p> <blockquote> <p>"Error occurred while packaging the application:</p> <p>Undefined Symbols: "_obj_storeStrong", referenced from ... .</p> <p>"_obj_release", referenced from ... . "</p> </blockquote> <p>My guess is that ARC is probably not supported for ANE's. I'm guessing that this is probably due to the fact that FlashBuilder is recompiling the entire AIR + the native libs into one iOS application, probably using their own compiler or something (which is why Air apps for iOS can be compiled on windows platforms as well), and this compiler is probably not 4.3 ready yet?</p> <p>I have attempted adding the flag <code>-fobjc-arc</code> to my <code>ios-platformoptions.xml</code> as well (where this file is the parameter to the <code>-platformoptions</code> flag of adt), but still no joy. It results once again in an error when packaging. Perhaps any other flag I can try to use here? </p> <p>Any corrections, suggestions, alternative ideas or comments will be most welcome. I am very new to Xcode, Objective C and ANE, so please excuse any incorrect statements or assumptions, and please correct me on these.</p> <p>I would be glad if somebody can please confirm weather I am correct with my assumption that I cannot use ARC at this stage on ANE's.</p> <p>Thanks Christo</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload