Wednesday, 15 June 2011

xcode - Add a static library in an ANE for iOS -



xcode - Add a static library in an ANE for iOS -

i'm building ane ios platform, , need utilize static library: libbarcodescanner.a.

i know when utilize framework or library isn't on list of frameworks air links in default, should include this:

<platform xmlns="http://ns.adobe.com/air/extension/3.1"> <sdkversion>5.1</sdkversion> <linkeroptions> <!-- utilize coremotion framework --> <option>-framework coremotion<option> <!-- link libiconv.dylib --> <option>-liconv</option> </linkeroptions> </platform>

however, previous code xxx.framework, , xxx.dylib.

how should include xxx.a?

i've tried -libbarcodescanner, when in flash builder export release build app using ane says don't find libbarcodescanner

thanks in advance.

ios xcode air-native-extension

No comments:

Post a Comment