Package ADT command

This question has been posted in response to the following article: http://help.Adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html

Hello

I have not checked with ipa-ad-hoc yet.

Meanwhile, a link to my script ANT to compile the ipa

http://Exchange.nurunadv.com/Ant.zip

I use FDT 4.5.3.

The folder structure are

- CBC

- libs

. EulerGyroscope.swc

. EulerGyroscope.ane

- bin

- development

- ios

. GyroscopeDemo - App.Xml

. GyroscopeDemo - dev.ipa

. GyroscopeDemo.swf

- Ant

. dev_build. Properties

. dev - build.xml

. iOS.properties

Post edited by: marcaia
I solved the problem on ipa-test.

I used EulerGyroscope.swc as shared Runtime Code.
I added new folder named "extensions" and moved to EulerGyroscope.ane inside.
in the compiler arguments, I've defined extensions - extdir

He works now :)

Tags: Adobe AIR

Similar Questions

  • ADT command-line package - how to add a DONKEY?

    Hello

    I need compile an iOS from the command line application.

    How to add a DONKEY for a package of command line?

    That's what I have so far:

    ./adt -package -target ipa-app-store -storetype pkcs12 -keystore iOS7.p12 -provisioning-profile Foo_DragDrop_iPad.mobileprovision Foo_iPad.ipa Foo_iPad-app.xml Foo_iPad.swf FooIcon29.png FooIcon40.png FooIcon48.png FooIcon50.png FooIcon57.png FooIcon58.png FooIcon72.png FooIcon76.png FooIcon80.png FooIcon100.png FooIcon114.png FooIcon120.png FooIcon128.png FooIcon144.png FooIcon152.png FooIcon512.png FooIcon1024.png Default-Landscape.png 
    

    I hope someone can help me!

    jjust include it at the end of your line. aneFileName.ane

    don't forget to specify your - extdir

  • Error App packaging - jar command

    I get the following error message when you try to package an application:

    Security properties not found. using the default values.

    java.util.zip.ZipException: try to write beyond the end of STORED entry

    at java.util.zip.ZipOutputStream.write (Compiled Code)

    at sun.tools.jar.Main.addFile (Compiled Code)

    at sun.tools.jar.Main.create (Compiled Code)

    at sun.tools.jar.Main.run(Main.java:89)

    at sun.tools.jar.Main.main(Main.java:518)

    Error: jar command failed: jar - cfm «C:\Documents and Settings\PaceRa\bbclient\workspace\\deliverables\Standard\6.0.0\...»

    Packaging project failed (taken 7,906 seconds)

    Builds app very well, that there are no errors. And on another computer, the application packages very well. Any ideas on what could be the issue here?

    Turns out I had the Eclipse environment pointed to the wrong JRE...

  • Error creating features in the packages - unknown command FUNCTION

    Hello

    I usually identify with the diagram of the system via the SQL command line and run my sql files. I have the database below and the test package. But I get the error:
    Order unknown start "FUNCTION p...» ' - the rest of the ignored line

    This is the database I load previously:

    DROP TABLE Judete CASCADE CONSTRAINTS;
    CREATE TABLE Judete
    (
    JD CHAR (2) PRIMARY KEY.
    NumeJud char(10) NOT NULL UNIQUE,
    Regiune CHAR (15) by default "Moldova" CHECK (Regiune IN ('Moldova', 'Transilvania', 'Banat'))
    );

    DROP TABLE Localitati CASCADE CONSTRAINTS;
    CREATE TABLE Localitati
    (CodPostal NUMBER (8) PRIMARY KEY,)
    NumeLoc NON NULL, char (15)
    Judet (2) tank,
    FOREIGN KEY (Judet) made REFERENCE Judete (JD)
    );

    DROP TABLE Persoane CASCADE CONSTRAINTS;
    CREATE TABLE Persoane
    (NOC NUMBER PRIMARY KEY (15),)
    NumePers NON NULL char (20)
    PrenPers NON NULL char (20)
    CodPostal NUMBER (10),
    Such NUMBER (12) NOT NULL,
    FOREIGN KEY (CodPostal) made REFERENCE to Localitati (CodPostal)
    );

    DROP TABLE Produse CASCADE CONSTRAINTS;
    CREATE TABLE Produse
    (CodProdus NUMBER (10) PRIMARY KEY,)
    NumeProdus NON NULL, char (15)
    Loan NUMBER (8) NOT NULL
    );



    DROP TABLE Vanzari CASCADE CONSTRAINTS;
    CREATE THE Vanzari TABLE
    (CodV NUMBER (8) PRIMARY KEY,
    CodProdus NUMBER (10),
    PersCNP Number (15),
    DataV DATE NOT NULL,
    NrProduse NUMBER (8) NOT NULL,
    FOREIGN KEY (PersCNP) made REFERENCE Persoane (NOC),
    FOREIGN KEY (CodProdus) makes REFERENCE Produse (CodProdus)
    );

    INSERT INTO Judete VALUES ('IS', 'Iasi', 'Moldova');
    INSERT INTO Judete VALUES ("CJ", "Cluj", "Transilvania");
    INSERT INTO Judete VALUES ("TM", "Timis', 'Banat');

    INSERT INTO Localitati VALUES (200, "Vaslui", "IS");
    INSERT INTO Localitati VALUES (201, 'Targu Frumos', 'IS');

    INSERT INTO Localitati VALUES (202, 'Criseni', 'CJ');
    INSERT INTO Localitati VALUES (203, "Dealu Botii", "CJ");

    INSERT INTO Localitati VALUES (204, "Beba Veche", "TM");
    INSERT INTO Localitati VALUES (205, "Blajova", "TM");


    INSERT INTO Persoane VALUES (0001, "Ionescu", "Ion", 201, 0332504312);
    INSERT INTO Persoane VALUES (0002, "Vasilescu", "Vasile", 203, 0332304612);
    INSERT INTO Persoane VALUES (0003, "Ionescu", "Ion", 204, 0322564322);

    INSERT INTO Produse VALUES (1, "Limp", 50);
    INSERT INTO Produse VALUES (2, 'First', 80);
    INSERT INTO Produse VALUES (3, 'Corn', 35);

    INSERT INTO Vanzari VALUES (100, 1, 0001, to_date('2011-03-07','yyyy-mm-dd'), 5);
    INSERT INTO Vanzari VALUES (101, 3, 0001, to_date('2011-02-07','yyyy-mm-dd'), 2);
    INSERT INTO Vanzari VALUES (2, 102, 0002, to_date('2011-01-08','yyyy-mm-dd'), 7);
    INSERT INTO Vanzari VALUES (1, 103, 0002, to_date('2011-03-08','yyyy-mm-dd'), 15);
    INSERT INTO Vanzari VALUES (3, 104, 0003, to_date('2011-02-19','yyyy-mm-dd'), 9);
    INSERT INTO Vanzari VALUES (105, 1, 0003, to_date('2011-03-29','yyyy-mm-dd'), 1);


    the package is:

    CREATE or REPLACE PACKAGE pachet_lab2
    IS
    FUNCTION prod_bine_vandut RETURN NUMBER;

    END pachet_lab2;
    /

    CREATE OR REPLACE pachet_lab2 BODIES


    FUNCTION prod_bine_vandut RETURNS the NUMBER IS
    DECLARE
    v_sale NUMBER (6);
    V_nume char (15);
    v_cod NUMBER (10);
    BEGIN
    SELECT max(p.pret * v.NrProduse) IN the v_sale DE Produse p, Vanzari v
    WHERE the p.CodProdus = v.CodProdus;


    SELECT p.numeProdus INTO v_nume Produse p, Vanzari v
    WHERE p.CodProdus = v.CodProdus AND v_sale = p.pret * v.NrProduse;


    SELECT p.codProdus INTO v_cod Produse p, Vanzari v
    WHERE p.CodProdus = v.CodProdus AND v_sale = p.pret * v.NrProduse;

    Return v_cod;
    END prod_bine_vandut;



    END pachet_lab2;
    /



    I need to change the schema that I use? How can I do?

    Thank you
    Paul
    CREATE OR REPLACE PACKAGE BODY pachet_lab2 IS --you misse keyword PACKAGE 
    
    FUNCTION prod_bine_vandut RETURN NUMBER IS
    -- DECLARE is not allowed here
    v_sale NUMBER(6);
    -- ...
    

    Good bye
    DPT

  • Is there a way to stop "Package files" command to create a copy?

    I fear that too many external files is created - with the same names for the collected files - and could cause confusion later. Is there a way to prevent the creation of a COP document Illustrator "package", or a way he could remove the original file when it makes the package?

    No, this is not possible. Creating a package copy the document into a new folder. If you do not want two copies, you must manually delete the one you want.

    The following options are available:

    If you wish, select help > submit Bug/Feature Request... and submit a feature request for future versions.

  • Package for errors IPA ADT with symbols for architecture arm64

    I use AIR Beta ADT command line 22 to try to build a simple test of IPA. I built a simple empty SWF using Flex 4.15, then tried-package. However, I get:

    Undefined symbols for arm64 architecture:

    "_CFStringLowercase", referenced from:

    _platform_LCMapString in libRuntimeHMAOT.arm - air.a (gsstring_osx.o)

    "_kCFBooleanFalse", referenced from:

    _initCommonOptions in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    "_kCFNumberFormatterZeroSymbol", referenced from:

    _initCommonOptions in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    l_switch.table in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    "_kCFNumberFormatterNegativeSuffix", referenced from:

    _platform_set_numberformat_mode in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    l_switch.table in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    "_kCFNumberFormatterPositivePrefix", referenced from:

    _platform_set_numberformat_mode in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    l_switch.table in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    "_CFNumberCreate", referenced from:

    _internalSetNumberProperty in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    "_CFNumberFormatterSetProperty", referenced from:

    _internalSetNumberProperty in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    _internalSetStringProperty in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    _initCommonOptions in libRuntimeHMAOT.arm - air.a (gsnum_osx.o)

    "_kCFNumberFormatterGroupingSize", referenced from:

    ...

    (more than 1000 lines)


    OSX using Xcode SDK 9.3 7.3/iOS 10.11.4,. I tried AIR SDK 21 and that of Flex 4.15 (AIR 20?), same result. I also tried to replace the AIR SDK, as described in other posts, no effect of ld64.

    Found, I just needed to simply use the correct platformsdk (iPhoneOS not iPhoneSimulator), ex:

    /Applications/XCode.app/Contents/developer/platforms/iPhoneOS.platform/developer/SDKs/IPhO neOS.sdk

  • How to use the command-line ADT to build an app, iOS, including the ActionScript native extension file

    Hi all

    I have packaged ANE files in my iOS app. I can export their version don't build via FB, no problem.

    But how can I include these DONKEY by ADT command line files? I do like the other files in the library?

    Thanks in advance for any help.

    I was stupid who did not find the proper syntax.

    extdir - extensionsDir will do the trick.

  • ANE ADT: lack of implementation of the platform: by default

    Hello

    I'm trying to update an old DONKEY in support of 64-bit (this one: appirater-ane - Appirater DONKEY - Google Project Hosting, which I moved here: appirater-Tawng/ane ·) GitHub). I got pretty far, but I'm running a mistake, now that I can't make any sense of.

    Here is the command I am running (of my git directory, where I have collected all these files):

    / Users/kevin/SDK/AIR17SDK/bin/adt - package - target ane Appirater.ane extension.xml CFC - appirater.swc - iPhone-ARM libAppirater - ANE .to library.swf platform

    My extensions.xml file looks like this:

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

    com.palDeveloppers.ane.Appirater < id > < /ID >

    < versionNumber > 1 < / versionNumber >

    <>platforms

    < platform name 'iPhone-ARMS' = >

    < applicationDeployment >

    < nativeLibrary > libAppirater - ANE .to < / nativeLibrary >

    < initializer > AppiraterExtInitializer < / initializer >

    < finalizer > AppiraterExtFinalizer < / finalizer >

    < / applicationDeployment >

    < / platform >

    < platform name = "default" >

    < applicationDeployment / >

    < / platform >

    < / platforms >

    < / extension >

    As far as I know, I got any other building (xcode, CFC project, etc.), but I can't understand why he said on a 'default' platform, when I specified "iPhone-ARMS" in the world.

    Note: The original project has a build.xml file which might be easier to operate - but I don't know what it is and how to use it. Pointers are appreciated!

    Thank you

    Kevin N.

    The initial project uses Apache Ant to compile. Install Ant, editing the build.properties file, navigate to the folder that contains build.xml and type Ant on the command line.

    Or add the following line to the adt command:

    -platform default library.swf

  • Package donkey manages Windows but fails for Mac, Linux

    I'm building a native extension of air (ANE). It packs it successfully on a computer windows using the command "adt." The same command using the same binary files (.swf, .swc, .a) fails on a Mac and Linux machine. The command is basically the same for all platforms, apart from the different paths for the path to the adt command. I use the same binaries for all platforms, extracted a subversion system.

    / Path/to/ADT-package - target ane SMS.ane extension.xml - CFC SMSActionScriptLibrary.swc - platform iPhone-ARM - C "SMSExtensioniOS".

    The problem seems to be recognizing the contents of the iOS repertoire. The error is:

    no such/otherpath/to/SMSExtension/SMSExtensioniOS file.

    The SMSExtensioniOS directory exists with the same name (including case). It relies as well on windows. Does anyone have any ideas?

    The adt version returns 3.1.0.4880 on Linux. I'll check the version of windows later.

    bash - x buildSMS will tell you the problem.

    All you need is to do a dos2unix to your buildSMS script. Or create one on your mac computer.

    Hope that solves your problem.

    Neha-

  • FB 4.5.1 iOS packaging failed

    Hi, I managed to sign app PlayBook with success, but was not able to sign the iOS app. I downloaded correct .p12 for the provision of certificate and the distribution that I used in my xcode, input correct password, then I clicked the Finish button. I saw the message "packaging for Apple iOS. This may take several minutes,"but he just there hanging from the packaging: (0%)... Anyone facing the same problem? Or someone knows the solution? Thanks in advance.

    Kind regards

    SeasonW

    On Mac OS X, it indicates that the certificate is not valid or something like that, I don't remember the exact words and get a warning window using the ADT command line. I will try this: http://forums.adobe.com/thread/867664?tstart=30 to see if the problem is in the way that I export the certificate towards .p12.

  • ADT does not not with the large amount of files

    Hello

    I posted a similar question in the Flash Builder forum; It seems that these tools are not intended for something too big. Here's my problem; I have an application that runs on the iPad very well, however I can't seem to be able to package the resource files that it uses, such as flv, jpg, swf, and xml. There are a lot of these files, perhaps to a 1000. This app is not on the AppStore and only used internally in my company. I tried to package using Flash Builder, but he could not do, and so now I tried the adt command line tool. The problem is that it is out of memory:

    Exception in thread "main" means
    at java.util.zip.Deflater.init (Native Method)
    in java.util.zip.Deflater. < init >(Unknown Source)
    at com.adobe.ucf.UCFOutputStream.addFile(UCFOutputStream.java:428)
    at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:338)
    at com.adobe.ucf.UCFOutputStream.addFile(UCFOutputStream.java:273)
    at com.adobe.ucf.UCFOutputStream.addFile(UCFOutputStream.java:247)
    at com.adobe.air.ADTOutputStream.addFile(ADTOutputStream.java:367)
    at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:161)
    at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:67)
    at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:163)
    at com.adobe.air.ADT.parseArgsAndGo(ADT.java:504)
    at com.adobe.air.ADT.run(ADT.java:361)
    at com.adobe.air.ADT.main(ADT.java:411)

    I tried to increase the size of a segment of memory from java to 1400 m, but that did not help. What is troubling is well why this day and age, the adt tool is written only for the 32-bit java runtimes, when you can buy is more a 32-bit computer. Almost everything is now 64-bit. Be able to use a 64 bit java runtime would eliminate it.

    Has anyone else had to deal with a large number of files in an application iPad packaging?

    Thank you

    Hello

    Could you post the bug number in the thread?

    We fixed a few bugs OOM AIR 2.7. Here's the blog of liberation: http://blogs.adobe.com/flashplayer/2011/06/adobe-air-2-7-now-available-ios-apps-4x-faster. html . Could you try to package your application and see if it works?

    -Samia

  • What happens to the Android Packager?

    I thought to experiment with the Android edition.

    Unfortunately, 2.6 SDK no longer use the 'Packer '.

    I use the "ADTHelper" created by Pea for SDK 2.6 for ISO.

    Is there an "interface" or so for Android? or do I have to use the command line?

    Without the package manager to download, what are the steps to take to finally reach this place where I can click compile to create an APK file?

    Thank you.

    Then you be making line ADT command line, or using the utility of peas.

  • Error, including icons in the package

    I try to include icons in my Air application. Unfortunately, during the phase of the package, I get the following errors:

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(18): error 303: Source/assets/icons/icon16.png icon does not appear in the package

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(19): error 303: Source/assets/icons/icon32.png icon does not appear in the package

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(20): error 303: Source/assets/icons/icon48.png icon does not appear in the package

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(21): error 303: Source/assets/icons/icon128.png icon does not appear in the package

    I found several threads dealing with this issue, but all say to do what I already do. I write my - app.xml file and the command I use in the hope that someone can see what I'm missing. Thank you.
    -App.xml:
    <? XML version = "1.0" encoding = "UTF-8"? >
    " < application xmlns =" http://ns.Adobe.com/air/application/1.5 ">
    com.baruconsulting.Myapp < id > < /ID >
    < version > 1.0.8 < / version >
    < file_name > Myapp < / name of the file >
    < programMenuFolder > Baru < / programMenuFolder >
    < initialWindow >
    < content > Myapp.swf < / content >
    < visible > true < / visible >
    < systemChrome > no < / systemChrome >
    < clear > false < / transparent >
    < width > 1000 < / width >
    < height > 750 < / height >
    < x > 50 / < x >
    < y > 50 / < y >
    < / initialWindow >
    < icon >
    < Image16x16 > Source/assets/icons/icon16.png < / image16x16 >
    < Image32x32 > Source/assets/icons/icon32.png < / image32x32 >
    < Image48x48 > Source/assets/icons/icon48.png < / image48x48 >
    < Image128x128 > Source/assets/icons/icon128.png < / image128x128 >
    < / icon >
    < / application >
    package command:
    ADT-package - stores pkcs12 - keystore temp.pfx Myapp.swf Myapp.air My - app.xml
    Thank you
    Gene

    Hello

    You must add your icon paths in the ADT command, (because they are not automatically added).

    Hopefully this might solve your problem.

  • Build packages of vCO with the Plugin o11n-package

    I began using the maven-011n-package-plugin, found in the Maven Repo to edge of the vCO device or such that got by the vCO Client of-> package-> Expand to folder feature.  First of all, it is a very useful tool, however, the docs are very minimal.  And I have two questions

    (1) is REQUIRED when I build a package (from the native XML) I digitally sign it?

    (2) is there a version of the functionality built into this Maven plugin library?  Where can I get the source?  I was wondering if I can do this without involving the maven; We use gradle.

    I think that the signature is required and package build fails if you don't specify a password and the location of the keystore.

    As for your second question - there is no library, but there is a command line tool that package exim. It can be found in the Maven repo, / com/vmware/o11n/tool/vco-cli-Java /.

    Here is the list of commands it supports + examples.

    On Maven vs Gradle - currently, our tooling is concentrated around Maven. I'll see if we can also provide a Gradle plugin.

    -----------------------------

    vCO Package Exim command line tool

    Description:

    Tool command line that offers the package vCO basic import and export transactions. As source or target, it may have the .package file directory.

    Use:

    Java - jar PackageToolCli.jar

    Controls:

    Here are the basic commands indicating the tool the operation to perform.

    fi - importing files

    Imports the package to vCO .package file.

    Fe - exporting files

    Exports the package vCO .package file.

    di - import directory

    The package is important to vCO of directory tree.

    Ed - directory export

    Exports the vCO to the directory tree package.

    FD - file in the directory

    Create the directory tree .package file.

    Parameters of the command:

    The direct parameters that relate to the specific command. Source or destination files or directories.

    FI

    -Name of the .package file to import.

    fe []

    -Name of the package to export.

    -Directory to export. If this isn't a directory specified, current is assumed.

    di

    -Directory from which to import.

    de []

    -Name of the package to export.

    -Directory to export. If this isn't a directory specified, current is assumed.

    FD

    -Directory to build the .package file.

    Java settings:

    Additional settings that may be needed by the system, in order to execute specific commands.

    -DserverUrl =

    URL and connection of the vCO server against which will be take place imports or exports.

    -DallowedMask =

    Attributes of the package.

    v components can be found

    e editable elements

    f elements can be transferred in other packaging

    -DkeystoreFileLocation =

    Path to the .vmokeystore file that contains the certificate of development

    -DkeystorePassword =

    Password of the .vmokeystore file

    -DexportVersionHistory =

    Export version history

    -Dincludes =

    ';' - separate the list of models showing what are the items to include.

    -Dexcludes =

    ';' - separate the list of models showing the items to be excluded.

    Examples:

    Export com.vmware.test.TestPackage package as a package in the current folder file.

    -DserverUrl=username:password@myserver:8281 java-jar PackageToolCli.jar fe com.vmware.test.TestPackage

    Export the package com.vmware.test.TestPackage as a directory of the current folder structure.

    -DserverUrl=username:password@myserver:8281 java-jar com.vmware.test.TestPackage PackageToolCli.jar

    Import com.vmware.test.TestPackage.package file package vCO server.

    -DserverUrl=username:password@myserver:8281 java-jar PackageToolCli.jar fi com.vmware.test.TestImpex.package

    (Note: the next two commands require a development certificate in order to accomplish)

    Build the .package file in directory structure.

    Java-DserverUrl=username:password@myserver:8281-DkeystoreFileLocation=/path/to/my_cerificate.vmokeystore

    -DkeystorePassword = mypassword-jar PackageToolCli.jar fd com.vmware.test.TestPackage

    Import the directory structure com.vmware.test.TestPackage package to the server vCO.

    Java-DserverUrl=username:password@myserver:8281-DkeystoreFileLocation=/path/to/my_cerificate.vmokeystore

    -DkeystorePassword = mypassword-jar PackageToolCli.jar di com.vmware.test.TestPackage

    The last two commands is also in charge of the allowedMask, the exportVersionHistory and includes / excludes java settings, which offer more control to content and access attributes of the package.

    -DallowedMask = vf

    Creates a package that cannot be edited.

    -DexportVersionHistory = true

    Keeps a history of local versions of objects vCO developed between exports and imports.

    -Dincludes = "" * / Test Package/**/*.element_info.xml;**/Test Samples/**/*.element_info.xml;**/testPackage/**/*.element_info.xml ""

    Includes only the objects that have '. '. element_info.xml"descriptor (which is specific for parcels exported as trees of directories), the folders in the library of tests and samples (for workflows) or testPackage (for actions).

  • IPad retina always requires specifying the iOS SDK version in ADT AIR 3.7?

    According to this page, you must specify iOS SDK 5.1 in the ADT command line when you want to take in charge the retina screens:

    http://www.richardlord.net/blog/using-the-iPad-retina-display-with-Adobe-Air

    Is it always true for AIR 3.7 or is it now defaults to iOS SDK 5.1 and works for the screens of the retina without additional indication in the ADT?

    Thank you!

    You need to use SDK 5.1 or a later version. AIR uses 6.0 or 6.1 now, so the retina is ok without any special tricks.

Maybe you are looking for