Highlighted

IPA file generated by ADT contains 0 byte executable

New Here ,
Jul 19, 2015

Copy link to clipboard

Copied

Hi,

I am currently working on adding mobile packaging to Flexmojos. While most formats seem to be producing useable output the IPA file created seem to be having problems. I am able to install the app on my iphone, but as soon as I want to start it the app icon becomes dark and the label "Installing ..." ... When creating the IPA with IntelliJ the App seems to be working nicely.

So I ended up comparing the working and the not working ipa file and I could see that the Executable in the working one is about 15MB big, and in the not working one it's 0byte big. So I guess this is the main problem. Another difference I could see, is that the working ipa contains the SWF with about the same size as the original SWF file, but the not working one is only one third of that size ... so eventually there's a second problem which I need to sort out first.

Here comes the command I am using to generate the output (Currently I copy part of the air SDK to the /DukeCon-Flex/core/target/adt directory):

/DukeCon-Flex/core/target/adt/bin/adt -package -target ipa-debug -provisioning-profile /Users/christoferdutz/.ios/iOS_Development.mobileprovision -storetype pkcs12 -keystore /Users/christoferdutz/.ios/sign.p12 -storepass mypass -keypass mypass /DukeCon-Flex/core/target/dukecon-flex-core-1.0.0-SNAPSHOT.ipa /DukeCon-Flex/core/target/dukecon-flex-core-1.0.0-SNAPSHOT-descriptor.xml dukecon-flex-core-1.0.0-SNAPSHOT.swf -C /DukeCon-Flex/core/src/main/resources conference-logo.jpg conference.png english-small.png english.png location.png locations/location1.png locations/location2.png locations/location3.png locations/location4.png rating-avg.png rating-bad.png rating-good.png schedule.png settings.png speaker.png speakers/speaker1.png speakers/speaker2.png speakers/speaker3.png speakers/speaker4.png speakers/speaker5.png speakers/speaker6.png speakers/speaker7.png star-selected.png star-unselected.png talk.png track.png tracks/cloud-and-big-data.svg tracks/core-java.svg tracks/enterprise-java.svg tracks/frontend.svg tracks/ides-and-tools.svg tracks/internet-of-things.svg tracks/jvm-languages.svg tracks/mobile.svg tracks/security.svg tracks/software-architecture-and-methods.svg

Can you see any problems with this? Any help in getting this sorted out is greatly appreciated.

Chris

TOPICS
Development

Views

136

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

IPA file generated by ADT contains 0 byte executable

New Here ,
Jul 19, 2015

Copy link to clipboard

Copied

Hi,

I am currently working on adding mobile packaging to Flexmojos. While most formats seem to be producing useable output the IPA file created seem to be having problems. I am able to install the app on my iphone, but as soon as I want to start it the app icon becomes dark and the label "Installing ..." ... When creating the IPA with IntelliJ the App seems to be working nicely.

So I ended up comparing the working and the not working ipa file and I could see that the Executable in the working one is about 15MB big, and in the not working one it's 0byte big. So I guess this is the main problem. Another difference I could see, is that the working ipa contains the SWF with about the same size as the original SWF file, but the not working one is only one third of that size ... so eventually there's a second problem which I need to sort out first.

Here comes the command I am using to generate the output (Currently I copy part of the air SDK to the /DukeCon-Flex/core/target/adt directory):

/DukeCon-Flex/core/target/adt/bin/adt -package -target ipa-debug -provisioning-profile /Users/christoferdutz/.ios/iOS_Development.mobileprovision -storetype pkcs12 -keystore /Users/christoferdutz/.ios/sign.p12 -storepass mypass -keypass mypass /DukeCon-Flex/core/target/dukecon-flex-core-1.0.0-SNAPSHOT.ipa /DukeCon-Flex/core/target/dukecon-flex-core-1.0.0-SNAPSHOT-descriptor.xml dukecon-flex-core-1.0.0-SNAPSHOT.swf -C /DukeCon-Flex/core/src/main/resources conference-logo.jpg conference.png english-small.png english.png location.png locations/location1.png locations/location2.png locations/location3.png locations/location4.png rating-avg.png rating-bad.png rating-good.png schedule.png settings.png speaker.png speakers/speaker1.png speakers/speaker2.png speakers/speaker3.png speakers/speaker4.png speakers/speaker5.png speakers/speaker6.png speakers/speaker7.png star-selected.png star-unselected.png talk.png track.png tracks/cloud-and-big-data.svg tracks/core-java.svg tracks/enterprise-java.svg tracks/frontend.svg tracks/ides-and-tools.svg tracks/internet-of-things.svg tracks/jvm-languages.svg tracks/mobile.svg tracks/security.svg tracks/software-architecture-and-methods.svg

Can you see any problems with this? Any help in getting this sorted out is greatly appreciated.

Chris

TOPICS
Development

Views

137

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 19, 2015 0

Have something to add?

Join the conversation