Skip to main content
Inspiring
October 9, 2011
Answered

ipa-test works, ipa-app-store doesn't? bug?

  • October 9, 2011
  • 1 reply
  • 2013 views

before start, let me tell you i do have all necessary certificates and mobileprovisions files with me. i use AIR 3.0 command line (as Flash CS 5.5 can not publish it using 2.6 due to bugs). i've already created "ipa-test" files using appropriate files - which has been checked in ipad as well.

now i would like to upload this project to the apple app. i tried to create "ipa-app-store" using distribution certificate (converting it PEM and than .p12) and its mobileprovision file. It could not. I kept it for whole 1 day.. temporary files were there in publishing folder, and in the task manager also, it was showing Java.exe was running. Initially, i thought the problem is with distribution certificate and mobileprovision files, i deleted them and re-create them but the result was the same. Then I create new file with just one small rectangle in it and published it with the same code, same files (using AIR SDK 3.0)... surprisingly it was published. i've no idea what is going on? can someone please help me out? overall, it is something like this:

Project1 : ipa-test : published               (this is my main project, ipa-test using developer certificate and development mobileprovision works)

Project1 : ipa-app-store : takes eternal  (ipa-app-store using distribution certificate and distribution mobileprovision doesn't work)

Project2 : ipa-test : published               (this is just a testing file, which has only a rectangle in it. tried to ipa-test it using same files - which i used to create Project1 ipa-test... works)

Project2 : ipa-app-store : published       (tried to ipa-app-store using SAME FILES WHICH I USED TO CREATE PROJECT1 IPA-APP-STORE... WORKS!!!)

I thought it is because I've much assets in Project1... I deleted them all and than tried.. failed... In fact, I added those all assets in Project2 and than tried... Published! -- I believe this means there is no problem with my certificates.

In short, Project1 gets published with ipa-test but not with ipa-app-store...

Here is my workflow (how I created the distribution certificate and mobileprovision file):

Created mykey.key file.

converted it to .CSR file.

uploaded to apple.

downloaded and installed distribution_identity

distribution_identity to .PEM

.PEM to .p12

mobileprovision profile from apple website.. for distribution and not ad-hoc

i would be very thankful if anyone help me out..

This topic has been closed for replies.
Correct answer yusuf_memon

Hi Yusuf,

Were you able to get it working? Please let us know.

Thanks,

Amish.


Hi Amish..

After spending almost whole day, finally I was able to create .ipa file. Whatever I found out was there was an issue with one particular frame. Actually, I've 5 frames, each having good number of lines code. For 5th frame, I used to load .swf dynamically (which had action script in it). I read it was not supported so I copied all the codes and graphics from that and pasted in 5th frame. The problem which finally figured out was with this frame. I deleted that frame on the spot as I was too tired and too dissapointed. I've no clue whether the issue with graphics/library/as. I even tried to copy frame 5, create a new FLA and to create .ipa; but that too did not work. But I'm happy now that I've uploaded my app to App Store .

1 reply

Colin Holgate
Inspiring
October 9, 2011

If you rename the AIR2.6 folder in the Flash application folder, to anything (like AIR2.6old for example), then put the AIR3.0 SDK folder next to it, and rename it to AIR2.6, you can then publish from within Flash CS5.5.

If you did that, you could at least rule out whether it's a strange command line issue. You wouldn't be able to do captive runtime though.

Inspiring
October 10, 2011

it is indeed a great helpful answer.... at least i can publish from flash itself.. i did above steps and tried, but still the problem remains... publishing takes tooo much time... let me try with some deletion... i'll surely post if there is any update...

Adobe Employee
October 12, 2011

Hi Yusuf,

Were you able to get it working? Please let us know.

Thanks,

Amish.