Failed to package iOS AIR app with Air 3.6 beta

Hi
I was hoping I could get help with those error messages
Configuration to package for an iOS device
Here is the adt command
c:\program files (x86)\jetbrains\intellij idea 12.0\jre\jre\bin\java.exe -Dapplication.home=D:\flex_sdk_4.6 -Xmx384m -Dsun.io.useCanonCaches=false -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -jar D:\flex_sdk_4.6\lib\adt.jar -package -target ipa-test-interpreter -storetype PKCS12 -keystore D:\Headr\trunk\headr-app\headr-mobile\app\ios_profiles\certificate.p12 -storepass xxxxx -provisioning-profile D:\Headr\trunk\headr-app\headr-mobile\app\ios_profiles\development.mobileprovision D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug\iOS_device.ipa D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug\HeadrApplication-app.xml -extdir D:\Headr\trunk\headr-app\headr-mobile\app\ane -C D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug iOS_device.swf -C D:\Headr\trunk\headr-app\headr-mobile\app\src data -C D:\Headr\trunk\headr-app\headr-mobile\app\src icons -C D:\Headr\trunk\headr-app\headr-mobile\app\src [email protected] -C D:\Headr\trunk\headr-app\headr-mobile\app\src Default.png
And error
Failed to package AIR application iOS_device.ipa:
         D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug\HeadrApplication-app.xml: error 302: Root content HeadrApplication.swf is missing from package
Configuration for the emulator
Here is the adt command
c:\program files (x86)\jetbrains\intellij idea 12.0\jre\jre\bin\java.exe -Dapplication.home=D:\flex_sdk_4.6 -Xmx384m -Dsun.io.useCanonCaches=false -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -jar D:\flex_sdk_4.6\lib\adt.jar -package -target ipa-test-interpreter -storetype PKCS12 -keystore D:\Headr\trunk\headr-app\headr-mobile\app\ios_profiles\certificate.p12 -storepass xxxxxx -provisioning-profile D:\Headr\trunk\headr-app\headr-mobile\app\ios_profiles\development.mobileprovision D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug\HeadrApplication.ipa D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug\HeadrApplication-app.xml -extdir D:\Headr\trunk\headr-app\headr-mobile\app\ane -C D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug HeadrApplication.swf -C D:\Headr\trunk\headr-app\headr-mobile\app\src data -C D:\Headr\trunk\headr-app\headr-mobile\app\src icons -C D:\Headr\trunk\headr-app\headr-mobile\app\src [email protected] -C D:\Headr\trunk\headr-app\headr-mobile\app\src Default.png
And error 
Failed to package AIR application HeadrApplication.ipa:
         unexpected failure: null
         java.lang.NullPointerException
         at com.adobe.air.ipa.IPAPackager.processExtensions(IPAPackager.java:314)
         at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:65)
         at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:257)
         at com.adobe.air.ADT.parseArgsAndGo(ADT.java:572)
         at com.adobe.air.ADT.run(ADT.java:419)
         at com.adobe.air.ADT.main(ADT.java:469)

Hi Pahup
My application.xml does say 3.6 at the moment.
First couple of lines from application.xml
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://ns.adobe.com/air/application/3.6">
But I am using 2 ANEs (one is ours but one is a third party that 'm afraid I can't change)
Their extension.xml look like below
My ANE
<extension xmlns="http://ns.adobe.com/air/extension/3.1">
          <id>com.headr.HeadrNativeExtensions</id>
          <versionNumber>1</versionNumber>
          <platforms>
                    <platform name="iPhone-ARM">
                              <applicationDeployment>
                                        <nativeLibrary>libHeadrNativeExtensionsIOS.a</nativeLibrary>
                                        <initializer>ExtInitializer</initializer>
                                        <finalizer>ExtFinalizer</finalizer>
                              </applicationDeployment>
                    </platform>
                    <platform name="default">
            <applicationDeployment/>
        </platform>
          </platforms>
</extension>
Third party ANE
<extension xmlns="http://ns.adobe.com/air/extension/3.5">
            <id>com.milkmangames.extensions.GoViral</id>
            <versionNumber>2</versionNumber>
            <platforms>
          <platform name="iPhone-ARM">
                  <applicationDeployment>
                    <nativeLibrary>libGoViralAPI.a</nativeLibrary>
                    <initializer>MmgGoViralApiExtInitializer</initializer>
                    <finalizer>MmgGoViralApiExtFinalizer</finalizer>
                  </applicationDeployment>
                </platform>
                    <platform name="Android-ARM">
                <applicationDeployment>
                 <nativeLibrary>GoViralExtensionAPI.jar</nativeLibrary>
                  <initializer>com.milkmangames.extensions.android.GoViralExtension</initializer>
                  <finalizer>com.milkmangames.extensions.android.GoViralExtension</finalizer>
                </applicationDeployment>
              </platform>
                    <platform name="default">
                <applicationDeployment>
                </applicationDeployment>
                    </platform>
            </platforms>
          </extension>
Please let me know if there is any other workaround or if you see anything else that might be wrong in my above files.
Melissa

Similar Messages

  • Package command line app with AIR app

    Forgive me if I seem completely dense, but I've been googling and forum finding and hair pulling all day on this.
    I wrote a command line application and I call it from my air application.  It all works just fine, but right now the location of the command line application is hard coded.  I want to know:
    1) What is the actionscript that allows me to refer my nativeProcess call to a an application that is packaged with the air app when I export?
    2) Where do I place the command line application in the file system of flash builder to bundle it with everything when I export?
    I realize it'll be different for mac and windows, but I need to do both.  I'm starting with the mac.  Right now as far as I know I can put the command line app in the source folder and that all ends up in the .app/contents/resources folder, but I'm not exactly sure how to reference that in actionscript or if I can or if I should?  I don't know.  Clue me in?

    Can you not use File.applicationDirectory.url as a base?

  • Publishing air apps with native extension with Flash CS6 on Windows

    Hi all,
    is there any trick to publish air apps with Flash CS6 on Windows?
    I tried all native extensions from devnet, but nothing work to me.
    I read on Mac is possibility to specify the iOS SDK folder in publish
    settings, but on Windows it´s missing. 
    Is there anybody who has some experiences with publishing apps
    with native extensions for iOS and Android with windows Flash CS6?
    Thanks for all advices.

    I sympathize. I recently found a native alert for iOS and Android that's working with Flash CS6 on Windows with AIR 3.2.0.2070 but not AIR 3.2.0.2060. You can get the ANE here:
    http://www.jampot.ie/ane/
    Haven't tried the other ones. Let us know if you decide to try them.
    The sample code they have on the page doesn't work with the native alert. Here's the code I created - it's a document class for a .fla that has one dynamic TextField and one Button component on the stage :
    http://pastebin.com/DsxR9nJ4

  • HTML based AIR app with transparent background (PNG)

    Hi guys,
    I have been developing a VERY simple HTML / JavaScript AIR app with Dreamweaver CS3 and Photoshop CS3.
    I have skinned the app with a simple transparent PNG file (Photoshop > Save for Web and Devices). I have set the PNG as the <body> background-image via CSS and the body background-color is undefined. I have also set the app to:
        <systemChrome>none</systemChrome>
        <transparent>true</transparent>
    My problem is that I get a white opaque background showing through behind / around the PNG.
    Q: Is it possible for HTML / JavaScript AIR apps to have transparent backgrounds (I have seen lots of info about how to do this in Flash / Flex but not HTML)?
    Q: What do I need to change or do to make it work?
    Many, many thanks,
    B

    Oops, sorry.
    I was using the BluePrint CSS Framework and it turns out that that was setting a background color.
    Please ignore this thread!

  • Air apps with outside elements

    Hello,
    First of all i'm a newbie to air.
    my question is : is it possible to create an desktop Air apps
    with the "core components" of the apps (in my case .air file and
    swf, xml) and as the full application will use flv give the
    possibility to download those flv to folder (inside the
    installation folder) or to use them from a server online.
    The final purpose of my question is that i'd like that my
    apps could look if there's updated flv available.
    Hope that my question is clear enough bcause of my poor
    english ;)
    Thanks

    Hi,
    AIR has APIs that let you download files from the internet
    and store it on your local filesystem (though not in the
    application installation directory, but a different location: the
    application storage directory). You should be able to play those
    flv's from your AIR app.
    Using the same API's you can also download a file that lets
    your app know if there is an updated flv available.

  • Building ios Newsstand App with AS3 for iPad?

    Hi,
    How do I build an IOS newsstand App with AS3 for iPad? I will not need any updates for this app. It will be just a pdf magazine inside, same contents forever.
    I cant find any tutorials/introduction on how to build this.
    I get the idea on how to create normal ios App, but creating Newsstand App really confussed me.
    Hope I can get a good start here
    Help is appreciated!

    Sorry I've been busy.
    Have a look at this newsstand app tutorial that's in 2 parts. This is for native iOS however the packaging is the most important.
    http://www.viggiosoft.com/blog/blog/2011/10/17/ios-newsstand-tutorial/
    http://www.viggiosoft.com/blog/blog/2011/10/29/at-newsstand-and-subscriptions/
    The in-app subscription is something you're going to have to tackle. Are you selling this magazine on a subscription basis? If you are selling it, things can get tricky or possible. I'm not fluent on the latest in-app purchase integration or if there is any planned integration. A look on the ANE download page (http://www.adobe.com/devnet/air/native-extensions-for-air.html) doesn't show any ANE support for it. You could google around for an ANE that supports in-app subscriptions of course.
    Hope that helps.
    Please be sure to read the entire 2 articles listed above. I realize they do not strictly have to do with Adobe but they do outline the process of getting an app on newsstand and it's just up to us as developers to translate tutorials like that into our world.

  • Error creating files. Compilation failed... when publishing iOS app with AIR 3.1 and Flash 11.5.1

    Hello, I'm running Windows 7. I'm using Flash 11.5.1 (that's CS5.5 updated once) and AIR 3.1 to make an iPhone app.
    I can export the app perfectly fine with either Ctrl+Enter or F12.
    I added all the required things with AIR for iOS settings, such as a p12 certificate and icon files.
    I then hit publish. After I hit publish, I got this error:
    Error creating files.
    Compilation failed...
    I tried dragging the window to see if there was anything hidden behind the elipses. What can I do to fix this problem?

    note sure if I'm much help other than to CONFIRM it is working for me by using the sdk WITHOUT the compiler. Check out adobe's little note: "Note : Flex users will need to download the original AIR SDK without the new compiler."
    I am using FB 4.7 with AIR 3.6 and seems to compile correctly for iOS.
    Maybe try reinstalling flash builder?
    I honestly don't know if the JRE has anything to do with it... I'm using 1.7 ....to see what JRE you're using, open the Java Control Panel (I right click my java orange icon and hit properties), select the Java tab, then hit "View..."

  • Problem packaging AIR app with NativeProcess support!?

    My AIR packaged AIR app doent work with NativeProcess
    when I package it like
    <supportedProfiles>extendedDesktop desktop<supportedProfiles>
    or
    <supportedProfiles>desktop extendedDesktop<supportedProfiles>
    But when I use just <supportedProfiles>extendedDesktop<supportedProfiles>
    Packager complains with Error 306!!
    What is that suppose to mean?
    Help please
    I'm using FB4,SDK 4.1

    Are you packaging your application as a native application (.exe or .dmg)? I believe applications with extendedDesktop support (and nativeprocesses) can only be packaged as native applications.

  • Is there a way to generate air apps with hidden or "insided" swf?

    The swf file is very very easy to be decompiled after installed...
    Why adobe air doesn't include swf into the executable file?
    I have to protect it.

    but it will be complicated for Android and iOS
    You don't need any setup mangers for this. Adobe Air for iOS use embedded runtime into package (captive) and you can't build it separately. For Android there two options. Make it built-in (captive) or shared. So don't worry about mobile devices. Just use captive for Android.
    and there is another problem with the Air Security Certificate and Digital signature.
    I don't understand your issue. When you developing and publish app for iOS/Android - you must use Developer certificate that you must buy from Apple or Android/Azamon. iOS don't allow packaging without certificates. Android allow with self-signed.
    , just after the manifest document (xml) was extracted or with personal package.
    Adobe Air very flexible. You can use different techniques. For example I use visualization software to create from Adobe Air bunch of files just single one executable file. It's like packaging you app with all external files inside another app.

  • Viewing online images in native phone apps with AIR?

    Gidday guys
    What's the standard way of loading an online image into a native phone app? An image that can't be packaged with the app as it may have been changed by the user eg a profile picture, or their logo?
    Cheers

    Yes - I do this with my desktop AIR app.
    What I'm wondering though is it OK to do this for phone apps, or is there some advantage to emedding the images and putting them in your project's assets folder? eg phones being able to cache images from assets, but not if the images are built into the swf.

  • Packaging AIRHelp .air file with AIR Application

    Hi,
    Has anyone had any experience packaging an AIRHelp project (generated by RoboHelp) with an AIR Application?  I want installation for our app to be simple as possible for the end user, and requiring them to install the help separately from the real AIR application seems to be complicated and error prone.  (In addition, ProductManager launch function cannot determine whether or not help has been installed, so there could be problems there.)
    Currently we are using a native installer for the AIR app. 
    Thanks in advance,
    -Tom

    Another thing I learned is that you might have the icon file embeded in the application somewhere and that removes it from the include in AIR package screen.That shows the same 303 error. See more detalis here : http://spy6.blogspot.com/2009/10/error-creating-air-file-303error-some.html

  • Can I update my Android AIR app with a non-AIR app?

    A few years ago I published an Android app using Adobe AIR. Now I've created a new version of the app with a different technology (HaxeFlixel / OpenFL) which uses native C++ code.
    The certificate I used for the AIR version is in "p12" format, and it seems that I need to use "jks" format. I tried using a p12 to jks converter I found online, which seemed to work, but when I try to submit the app I get an error saying that the certificates don't match.
    Any suggestions on how I can update the app with a non-AIR app? Is it possible? Thanks in advance.

    I'm still having trouble with this, I asked in the OpenFL forums but nobody responded.
    I converted the p12 file to JKS from the site you suggested (I think I've actually tried it before), and the file was created successfully, the apk compiled fine with the JKS file, but when I try to update the app for Google Play it says "Upload failed
    You uploaded an APK that is signed with a different certificate to your previous APKs. You must use the same certificate. Your existing APKs are signed with the certificate(s) with fingerprint(s):"
    When I try to sign with the original p12 file, I get the error "Invalid keystore format"
    I noticed that for the AIR app, I also had a file called SelfSigned.pfx, which I think was used to create the p12 certificate? Can this have something to do with the problem? I even tried using this pfx file to sign the app, which didn't work either.

  • Looking for AIR app with the following features

    This list of functionalities is so common I thought I'd check to see if anyone knows an opensource or even commericial app with the following features.
    Access User's File System
    Drag & Drop Upload
    Does anyone know of an AIR project that already exists?
    I could write this myself but I'd rather not reinvent the wheel with a 2 week deadline.
    Thanks

    Hi A-Mo,
    I'm very sorry that your husband's PowerShot SD1100 IS was stolen!
    The SD camera line has been replaced by the PowerShot ELPH lineup. These cameras are improved in a number of important ways, such as better zoom lenses, and sensitivity to light for existing light photography.
    I recommend that you consider the PowerShot ELPH 310 HS. This camera has an 8x optical zoom lens (vs. 3x for the PowerShot SD1100 IS), has a higher ISO of 3200 (vs. 1600) for low light photography and shoots video in "full" high definition (1920 x 1080 resolution) (vs. 640 x 480).
    Please note: none of the cameras in this group of cameras includes the optical viewfinder you had on the PowerShot SD1100 IS,
    I hope this is helpful.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • HTML-based AIR app with transparent UI, shadows, etc.?

    I'm debating on whether to use Flex or HTML/Ajax for a widget
    in a project. If I make an HTML-based widget, is it possible to
    have UI tricks like shadows and transparency, basically, NOT being
    confined to a standard OS "box" window? Is this possible?
    Thanks.

    Yes it is possible to do this with an HTML-based AIR app.
    However, since the visual elements will be HTML-elements, not
    display objects, you can't use the Flash APIs for shadows and
    transparency. Also, in a transparent window, SWF and PDF content in
    HTML cannot be displayed.

  • Multiple AIR apps with the same local cache?

    Hi guys,
    Is it possible to create multiple AIR apps (for mobile & desktop) that can use the same local cache?
    For example: 2 apps for iPad will use the same data store (local cache). If we synchronize (with LCDS) and get all the data for 1 application, if we open the second application, can we access the data set from the other application?
    Thx!

    Hi Vikram,
    Eventhough I think it is techincally not possible, even if it was I would not recommend doing this. I think this is asking for problems and you can wait for the day that somebody messes up your production system, thinking it is DEV.
    I would use names like DEV_Oracle_BI_DW_Base and PRD_Oracle_BI_DW_Base, to clearly distinguish between the environments. But then again, I think Informatica forces you to use different names.
    Regards,
    Toin.
    ~Corrected typo.
    Edited by: Toin on Oct 16, 2008 4:02 PM

Maybe you are looking for

  • Background image overridden

    CSS in a table: I have a table with background images but I get a white background on the last line. I can´t work out why-I have got rid of the background color and tried to have a background transparent which worked for the radio buttons but the tex

  • Problem retrieving datetime SQL data

    Hi All My app is trying to retrieve data from a MSDE sql datetime field in this way: DateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss"); Date fecha = rsServicios.getDate("fecha"); System.out.println(sdf.format(fecha).toString());But it retu

  • Toad Error Could not locate oci dll

    Hi, I have edit my tnsnames file as follows: # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = local

  • Tracking row status

    I have master detail setup real similar to a department employee setup. I'll use that as my example for simplicity. From the master page, user can select a button which will bring them to the associated detail row(s) page. There, the user can edit, c

  • No Network Connection - N73

    Hi guys, Well I managed to perform the old trick of dropping my N73 under a running tap (read: I'm an idiot). After drying it out and some initial problems with the keypad, everything seemed fine last night. This morning however, my phone refuses to