I am currently trying to incorporate an .ane into my iOS application. The .ane is provided by a 3rd party and I do not have source for it.
I have linked the accompanying .swc into my project (external linkage as recommended by both Adobe and the 3rd party) and built the .swf successfully. My problem begins when using adt to build an .ipa for deployment. Below is the mocked up adt command I am using. You can assume that all <>'d things are filled out correctly as I have exhaustively checked them all, and the build runs for quite a while. There may be some sweet nuggets of goodness I'm missing though...
adt -package -target ipa-ad-hoc -provisioning-profile <the-file> -storetype <the-store-type> -storepass <the-password> -keystore <the-certificate> ./../myapp.ipa MyApp-app.xml MyApp.swf -extdir <path-to-ane-files>
Everything marches along pretty well until I receive the following error, and we come to a screeching halt:
ld: library not found for -lsqlite3
What this tells me is that the 3rd party .ane is, either by specifying through a -platformoptions xml file or otherwise, trying to link against the sqlite3 library, and at the point in the adt process that the underlying Xcode project is to be built, that library can't be found.
My setup is as follows:
Mac OSX Lion
Adobe Flash Builder 4.5 w/PHP
Xcode 4.4.1
Flex 4.6.0 (AIR 3.3) SDK
Now, sqlite3 is sitting in /usr/lib so I know it's there, and really it could be any library. Since this is a command line AIR utility I don't have access to the underlying Xcode project (as far as I know) to just tell it where the library is, so I'm kind of stuck and out of ideas for the moment.
I should probably also note that I am not experiencing this issue with any other (home grown or otherwise) extensions, but that is most likely because they have few if any dependencies.
Thanks!