Skip to main content
Inspiring
April 27, 2014
Question

.ipa package is not working properly with the distribution profiles

  • April 27, 2014
  • 1 reply
  • 3890 views

Hello,

I have this .ipa package for an application for iOS specifically the iPad. Everything works with my developers certificate. I am able to sync with iTunes and download the app successfully with everything working.

When I publish with my distribution certificate and distribution provisioning profile (In Flash, iOS deployment type:  Apple App Store) although executing successfully without errors, my output .ipa package is half the size of when I use the developer's certificate and developer's provisioning. The second issue that I notice is my app's icon is not installing in the iTunes, when I drag the .ipa to iTunes with the distribution profiles. The app also does not install on my iPad when syncing with iTunes. In the iPad, the app's icon stay dark and the text says installing, but it never gets to it.

Working with Flash Pro CC and AIR 13.0.0.95 for iOS, latest updates have been installed.

Thanks.

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
April 28, 2014

If you go to the page where you made your provisioning profile, you’ll see that under Distribution you have a choice of Ad Hoc or App Store. For testing on your device you would want to use an Ad Hoc one, then when that works make a final build with the App Store version, and then you can submit that file.

In Flash Pro you would still build for App Store in both cases, no need to choose Ad Hoc, it seems not to matter.

I believe it’s normal to not see the app icon in iTunes. When you build and submit for the App Store, one of the included files is the iTunes artwork sized file, and that’s what will be used by iTunes when it’s downloaded from the App Store. So long as you see the icon when you sync, you should be ok.

Also, using either Xcode or the iPhone Configuration Utility to get the app onto your device is a lot easier than syncing via iTunes. You could also do Test Movie/On Device via USB in Flash Pro, and that would build the IPA and also install it at the same time.

Inspiring
April 28, 2014

Thanks for your reply Colin. I guess Apple Development's website is down currently under maintenance (https://developer.apple.com/membercenter/). I was going to try getting the Ad Hoc profile for testing. I will try later in the day.

So, I need to do an Ad Hoc profile first? Shouldn't the .ipa work when distributing of type App Store is selected since this is the final output. Why would the .ipa file be about 9 MB in Distribution, and approximately 18 MB in Development?

Testing in the devices while developing is very easy, I have experience testing on iOS and Android devices via USB in Flash Pro.

My app made it all the way to the App Store and then I removed the app because it was not working properly. What is weird, is that with my development profiles everything works flawlessly. Now, with the same application just switching to distribution profiles, the .ipa output changes.

Colin Holgate
Inspiring
April 28, 2014

Perhaps the file is bigger if you’re testing in development with interpreter selected. 9MB sounds small, you should check that you’ve included all your files.

An App Store build with a development certificate/profile will work on your device, but not for the store. An Ad Hoc distribution profile with your distribution certificate, and as an App Store build, will work on your device, and will be identical to the one you’re going to submit. An App Store provision with the distribution certificate may not work on your device, because the provisioning profile doesn’t include test devices. But that’s ok, it will work when bought from the store.