Can't find lib when packing for iOS

You can see the same thing about StackOverflow here:

http://StackOverflow.com/questions/11547515/cannot-find-lib-when-packaging-for-iOS

Hello

I develop a Native Extension of Air (ANE) in order to use ads burstly (1) on mobile devices.

As for my setup, I use FlashDevelop and Adobe Air 3.3 4.0.4(2) (3). I use Flex SDK 4.6.0. The project is configured on Windows7.

In order to work on iOS devices, Burstly requires a number of frameworks and librares (4)

I managed to write and compile the library .a for iOS. I also have the (actionscript code) interface that is shared for Android and iOS compiled into a SWC and a librairy.swf. All this is correctly packaged in a .ane which is included in my project.

When compiling a library .a on MacOS, the framework and the library used seems be packaged in the ".at". That's why I had to use Air 3.3, for the option (5) - platformsdk.

As I work on Windows, I followed the instructions in this post for the iOS SDK (6).

Suite (4) and (5), I did a file platformConfig.xml like this, which is packaged in the .ane

" < platform xmlns =" http://ns.Adobe.com/air/extension/3.1 ">

< > 4.2 sdkVersion < / sdkVersion >

< linkerOptions >

<! - to use the setting AssetsLibrary - >

< option > - framework AssetsLibrary < / option >

< option > - frame AudioToolbox < / option >

< option > - framework AddressBook < / option >

< option > - frame AVFoundation < / option >

< option > - framework CFNetwork < / option >

< option > - framework CoreLocation < / option >

< option > - frame MapKit < / option >

< option > - frame MediaPlayer < / option >

< option > - framework MessageUI < / option >

< option > - OpenAL framework < / option >

< option > - frame OpenGLES < / option >

< option > - QuartzCore framework < / option >

< option > - frame StoreKit < / option >

< option > - framework SystemConfiguration < / option >

< option > - framework Foundation < / option >

< option > - frame CoreGraphics < / option >

< option > - libsqlite3 < / option >

< option > - libxml2 < / option >

< option > - libz < / option >

< / linkerOptions >

< / platform >

and he comes to the line to compile the actual .ane

Call "% FLEX_SDK%\bin\adt" - package - target ane... /Release/burstlyadsextension.ane extension.xml CFC - burstlyAds.swc - platform iPhone-ARM library.swf libBurstlyAds.a platformoptions - platformConfig.xml

Problem when I try to the iOS with ADT application package:

Call adt-package - target % TYPE % TARGET %%d OPTIONS %%d %-extdir SIGNING_OPTIONS lib, "OUTPUT % ' % '% APP_XML %' % FILE_OR_DIR / external/platformsdk... /Libraries/iPhoneOS5.0.Sdk/

in this case:

"ld: library not found for--libsqlite3.

"Compilation failed during execution: ld64.

management seems to be added very well, but the dylib aren't. I tried to add the line:

< option >-L usr/lib / < / option >

before including the lib, but I got this error instead:

"" ld: WARNING: directory not found for option '-Lusr/lib / ".

LD: library not found for--libsqlite3

"Compilation failed during execution: ld64.

I tried to use the full path, another relative path, but any way I put in the option, I still have a "warning: directory not found for the option. Even "< option > - L... / < / option >" give me this warning. The only thing that seems to work is "< option >-L /... / < / option >", but my obviousle .dylib aren't there.

So my questions are: what I've done wrong? Any idead what else I could try? Even an explanation as to why it does not work would be useful!

Links:

#1: http://support.burstly.com/

#2: http://www.FlashDevelop.org/

#3: http://get.Adobe.com/air/ / / Sorry, my OS is in french

#4: http://support.burstly.com/kb/iOS/required-compiler-flags-frameworks

#5: http://blogs.adobe.com/rajorshi/2011/11/16/ios5-support-for-airusing-external-sdks-to-pack age-apps /

#6: http://blogs.Adobe.com/airodynamics/2012/05/18/using-platformsdk-for-iOS-on-Windows/

Hi John,.

The warning, you can ignore, or add the option to remove it as follows:

As far as the errors are concerned, they are not related to your library, but DONKEY. Recompile your DONKEY for armv7 only (i.e. Remove armv6 in your settings in XCode), as the AIR takes only supported armv7, as does iOS5.1 +.

I guess that to recompile your static library and the renovation of the DONKEY with the new .a will solve your problem.

Neha-

Tags: Adobe AIR

Similar Questions

  • Where can I find a Firefox app for iOS 5.1?

    I have an old iOS iPad running 1 5.1.1.1. where can I get the firefox compatible with it?

    MeDad3 said

    I have an old iOS iPad running 1 5.1.1.1. where can I get the firefox compatible with it?

    The shell Firefox for iOS devices requires at least iOS 8.2 minimum. For the feature you need iOS 9.0 of private and most recent navigation.

    Mozilla is making use of modern API that is available on the new versions of iOS.

  • Portege M200: Can't find the right driver for the TouchPad

    Hello

    I have a problem with my Portege M200.

    Can't find the right driver for the TouchPad or a pencil,
    I read that it must be a Wacom Touchpad, but no driver I've tried has worked.

    I hope someone can give me a list of all the drivers that I need to use my pen on the screen!

    Thanks in advance.

    Chris

    Hello

    All the drivers are located on the European driver Toshiba page.
    Please check again.

    The touchpad needs an Alps Electric touchpad driver. It s is available on the page.
    In addition, you should the Tablet Pack (on the page too)
    This tablet PackMicrosoft Pack Microsoft Office XP for Tablet PC (Tablet Pack) allows you to write directly with your stylus in the documents of Office XP on your Tablet PC.

    By the way; You must use the pencil that was equipped with the Portege M200

    Welcome them

  • How can I find and download illustrations for albums I bought?

    I can't find all the instructions for the download of work 'help '.

    Any help would be appreciated.

    -Joe Aldrich

    I've usually right-click on the song and select "get album artwork" in the list. If you have purchased songs from iTunes when it should download when you select get album artwork.

  • Can't find Script engine "VBScript" for Script alongwith the path of the file

    Original title: Vb Script engine

    Dear all.

    I downloaded the update to Android 2.2 Froyo on motorola Web site. When I run the exe, I get a message, can't find Script engine "VBScript" for Script alongwith the path of the file. Once I click Ok, the exe execution is aborted. Please suggest a solution for this problem. I have Windows Home Premium 64 bit OS

    Rgds,

    Sachin.

    Hello

    1 did you change on your computer before this problem?

    2 are you able to install any other software on your computer?

    This occurs if the filevbscript.dll runtime script is not properly registered in the system, I would say you follow these steps and see if it works very well.

    Method 1

    Try to install the program in high mode.

    (a) right click the program.

    (b) select run as administrator.

    Method 2
    a. click the Start button, type cmd. In the result of the research with the right button on cmd and select run as administrator.
    b. type cd %windir%\system 32 (Note: there is a space between the system and 32) and press ENTER.
    c. type regsvr32 vbscript.dll in the command prompt, and then press ENTER.
    d. type regsvr32 jscript.dll in command prompt, and then press ENTER.

    If the registration was successful, you should now see the following message is displayed:
    DllRegisterServer in vbscript.dll successful.
    e. now right-click on the Setup file of windows cleanup utility and select run as administrator.

    Method 2

    If the problem persists, you can run the System File Checker and see if it works fine.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Check whether the problem is resolved.

  • Can't find the right drivers for AMD processor or ACPI driver

    I have Windows 7 Home Premium 64-bit. Motherboard ASUS A85XM-A.

    The drivers are all wrong.

    This ACPI Driver Microsoft 6.1.7600.16385 driver is causing critical startup errors.

    Dual core AMD Trinity A4-5300 processor also has this driver.

    Display-AMD Radeon HD 7480d amd 12.105.00 driver this driver works fine.

    Realtek HD Audio Driver 6.0.1.7071 ASUS. This driver works fine.

    I can't find the right driver for the AMD processor or the right driver ACPI. I was on the ASUS sites several times,

    and do not know what I do.

    The keyboard and mouse are also Microsoft Drivers.

    The ACPI driver may be the most recent version, but it is not the cause of the slow boot.  If you want to know what the cause is to run a windows performance monitoring and use the boot configuration

    In order to diagnose your problem, we need run Windows performance toolkit, the instructions that are in this wiki

    If you have any questions do not hesitate to ask

    Please run the trace when you encounter the problem
  • Can I get a configuration of single language somewhere? How can I find the license key for my installation.

    Original title: single language of windows 8

    I had 8 single language on dell inspiron 15-3521 pre-installed windows. I did repartitioning disks and windows recovery options 8 as 'reset your pc' and "Refresh your pc" has stopped working, saying that the not found recovery partition, but it was intact. I have no recovery disk.

    Can I get a configuration of single language somewhere? How can I find the license key for my installation.

    Hi Mohammed'metwally,.

    Please answer this question to get more clarity on this issue.

    • The application or program that you use the partition of the drive?

    This problem may occur if the partition table is damaged or altered. As a result, the recovery partition does not work. I'm sorry to know that you are facing this problem.

    You will not get the unique language anywhere to download setting. You have an OEM computer that comes with the product key integrated into the BIOS. The product key of Windows 8 on new machines is now integrated in the machine. It uses the Secure Boot technology. When you perform a new installation of Windows 8, the installation program ask a product key and will be automatically get it from your system and proceed with the installation.

    As Windows 8 came pre-installed, you must contact the manufacturer of the computer with this problem for more help.

    http://en.Community.Dell.com/?~CK_=_mn

    Dell technical support: http://www.dell.com/support/contents/us/en/04/category/Contact-Information/Technical-Support?c=us&l=en&s=bsd&cs=04

    Thank you.

  • I can't find my serial number for my CS 5.5

    I can't find my serial number for my CS5.5, I need to upgrade to creative cloud. It seems that I didn't record and the reception is somewhere lost to my former employer. Adobe can't seem to find the programs when parsing when trying to buy CC is not there a way to find in the actual programs? Grateful for any help or insight in this area.

    For more information on the location or the registration of serial numbers please visit this link: find a serial number.

    Guinot

  • How can I find the serial number for any of our subscription products?

    One of our subscription products does not appear in our online account page.  How can we find the serial number for this product?

    There is no serial number for CC products. They are simply listed under your plans and your subscriptions when it is active.

    Mylenium

  • When packing for a file in indesign - error message - unable to copy necessary files related or

    When packing for a file in indesign - error message - unable to copy necessary files related or

    Usually caused by an 'illegal' character as a slash or an asterisk in a file name or folder, but can also be caused by paths very long for the links.

  • Where can I find a video tutorial for 5.5?

    Where can I find a video tutorial for 5.5?

    I am a user of Soudbooth in CS4. When I upgraded to the master suite 5.5 soundbooth was not in the package, but hearing was.

    There is a new webinar that is coming soon (2012-01-18) by Larry Jordan: http://www.larryjordan.biz/webinars/#0118

    We have several on Adobe TV: http://tv.adobe.com/product/audition/

    There are a few tutorials on Lynda.com, although they are for older versions of the hearing, they must remain for the most part there is: http://www.lynda.com/Audition-training-tutorials/159-0.html

  • Where can I find detailed, systematic support for the advanced Thunderbird related topics?

    In moving from XP to Windows 7, I opted for Thunderbird as a mail client in order to circumvent hyper intrusive Windows Live Mail to Microsoft (I used Outlook Express for years).

    I have a very complicated E-mail structure, and it took me weeks (seriously) to learn how to reproduce it in TBird. Now, I try to customize TBird more, but none of the TBird articles/forum Q & A / searches on Google to ask my questions.

    There is no support direct tech TBird, and I'm almost ready to leave for good. However - a last effort: where can I find detailed, systematic support for the advanced Thunderbird related topics?

    Thank you.

    https://www.flossmanuals.NET/Thunderbird/

  • Where can I find Keynote v6.5, for Macbook Pro?

    Where can I find Keynote v6.5, for Macbook Pro?

    The Mac App Store has only the latest version of any application. The only way to install an earlier version of Mac App Store apps is so if you have a backup on the Mac, another Mac or a separate disk file.

  • Satellite L300 - 19N PSLB8E - can't find the right drivers for Vista 32 bit

    Hello

    After you have reinstalled vista 32 bit, I can't find the right drivers for: Satellite L300 - 19N PSLB8E-00V011DU

    -VGA adapter
    -Realtek RTL8101Family PCI fast ethernet
    -videocontroller
    -Controller SM

    Everyone?

    Thank you already!
    .

    Hello

    Go to the page European driver Toshiba because it is European model:
    http://EU.computers.Toshiba-Europe.com/-> support download &-> download drivers

    You will find all the drivers!

    Display VGA adapter driver
    Realtek RTL8101Family PCI fast Ethernet LAN card driver
    SM controller might be chipset driver or driver card reader

  • Where can I find all the drivers for Tecra 8200

    Where can I find all the drivers for a Toshiba tecra 8200 PIII750/20/14 t/D/LM/W - I searched for drivers (all drivers) this Labtop can enyone please help me :)

    Got Windows XP:

    Post edited by: Rullings

    Hello

    Have you checked the European driver Toshiba page?
    This site contains all the necessary drivers for Win95, Win98, Win98SE, Win XP, ME, W2k.

    Only Vista drivers are not available for this oldie

    Check it!

Maybe you are looking for