You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by bilbosax <wa...@comcast.net> on 2016/11/03 05:35:47 UTC

Trouble Packaging Mobile App using ADT

I am using Flash Builder 4.5, so if I want to package a project using an ANE,
I have to use ADT.  I have never used it before and have run into an issue
regarding the Icons to be displayed in iOS.  I put all of my certificates
and project files into a single folder so that I wouldn't have to wrestle
with directories.  Here is my command line instruction:

adt -package -target ipa-ad-hoc -storetype pkcs12 -keystore iOS_dev.p12
-provisioning-profile RealDeals.mobileprovision RealDealsTablet.ipa
RealDealsTablet-app.xml RealDealsTablet.swf -extdir extensionsDir

When I run this, I get this series of 303 errors for the Icons:

C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon57.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon76.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon60.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon48.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon50.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon80.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon1024.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon120.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon58.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon40.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon152.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon167.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon100.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon72.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon512.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon114.png is missing from package
C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
assets/iosIcons/icon29.png is missing from package

All of these paths refer to a folder in my main application structure called
assets/iosIcons.  I included the project folder in C:\ANE Project, but
apparently my xml file does not see the Icons.  Any thoughts???

Thanks



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Trouble-Packaging-Mobile-App-using-ADT-tp14025.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Trouble Packaging Mobile App using ADT

Posted by bilbosax <wa...@comcast.net>.
What a Pain In The ***!  I think I figured it out, but seriously, I don't
understand why this happens.  Apparently, when you build a project in Flash
Builder, the program-app.xml file's <name> and <id> get modified to include
the word "debug".  Therefore, your provisioning profile no longer matches
the <id> in your xml files, and therefore, will not install.

So, everytime that you decide to package your program using ADT, you have to
be sure to edit the xml file in your debug folder before you run it.

There is probably a reason that this translation is done, but I personally
do not know why it is done, and wish they would fix this.



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Trouble-Packaging-Mobile-App-using-ADT-tp14025p14056.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Trouble Packaging Mobile App using ADT

Posted by bilbosax <wa...@comcast.net>.
Josh, thanks for the input.  I did what you suggested and got ADT to compile
the IPA file without throwing any errors.  But now I have a new problem. 
When I try to install the IPA on my iPad, it never finishes.  The icon shows
up on my iPad during the installation, gets about 75% installed, and then
the icon simply vanishes.  In iTunes, the button next to my program says
"installing" but never converts to "remove".  I am using the exact same .p12
file and mobileprovision file using ADT as I was using Flash Builder, but
when I was using Flash Builder, it would install fine, and with ADT it will
not install at all.

Any thoughts at all???



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Trouble-Packaging-Mobile-App-using-ADT-tp14025p14055.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Trouble Packaging Mobile App using ADT

Posted by Josh Tynjala <jo...@gmail.com>.
You need to add the icon files as arguments when you call adt.

- Josh

On Wed, Nov 2, 2016 at 10:35 PM, bilbosax <wa...@comcast.net> wrote:

> I am using Flash Builder 4.5, so if I want to package a project using an
> ANE,
> I have to use ADT.  I have never used it before and have run into an issue
> regarding the Icons to be displayed in iOS.  I put all of my certificates
> and project files into a single folder so that I wouldn't have to wrestle
> with directories.  Here is my command line instruction:
>
> adt -package -target ipa-ad-hoc -storetype pkcs12 -keystore iOS_dev.p12
> -provisioning-profile RealDeals.mobileprovision RealDealsTablet.ipa
> RealDealsTablet-app.xml RealDealsTablet.swf -extdir extensionsDir
>
> When I run this, I get this series of 303 errors for the Icons:
>
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon57.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon76.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon60.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon48.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon50.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon80.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon1024.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon120.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon58.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon40.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon152.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon167.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon100.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon72.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon512.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon114.png is missing from package
> C:\ANE Project\RealDealsTablet-app.xml: error 303: Icon
> assets/iosIcons/icon29.png is missing from package
>
> All of these paths refer to a folder in my main application structure
> called
> assets/iosIcons.  I included the project folder in C:\ANE Project, but
> apparently my xml file does not see the Icons.  Any thoughts???
>
> Thanks
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/Trouble-Packaging-Mobile-App-using-ADT-tp14025.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>