Skip to main content
August 15, 2012
Question

Itunes Sync *app* Failed to install

  • August 15, 2012
  • 19 replies
  • 5230 views

So I have been trying to troubleshoot this issue for about a week. I have tried everything I can think of, but I cant seem to find a way to get the app I made to load onto my iPad. Is there some sort of foolproof procedure I can follow? I have been using this site http://www.lynda.com/Flash-Professional-CS5-5-tutorials/Building-Mobile-Apps-for-Multiple-Devices-with-Flash-Professional/89049-2.html but I still am not able to get it to install. Any suggestions/help would be greatly appreciated!!

This topic has been closed for replies.

19 replies

Inspiring
August 15, 2012

A little more detail about the issue would be apprciated.

But with your Apple developer account did you:

1.) Create the App ID

2.) Added the UDID to your Device List

3.) Linked the iPad to the App ID under Provisioning

4.) Then downloaded the mobile provision file that gets generated and opened that in iTunes?

If that doesn't work then check this:

1.) You have the application configured to load for both iPhone and iPad in your Descriptor file  <key>UIDeviceFamily</key>

2.) You iPad is running a version of iOS you're compiling for.

In the long run I would recommend you checkout the awesome tools in Air 3.4 that allow you to add and remove apps using the command line instead of iTunes. In fact using Ant to build and deploy takes only a few seconds for Debug mode where as using Flash Builder and iTunes to constantly upload and test takes minutes each time.

August 15, 2012

I had taken care of the first 4 step, so I am going to hope that I did them correctly and say that the problem is something else.

The other two points you made are both very possible. I believe I have the app only configured to load for an ipad, but since I am testing it on an iPad that should be okay. Maybe.

I have updated everything to the newest version, but it is possible that the versions are still not what they should be.

Perhaps I should try cutting iTunes out of the picture like you suggested, and using the command line. Would there be a possability that the app can be pushed directly onto the device, even though it wont install properly using itunes? If so, I would be willing to try the steps necessary to test this.

Thank you very much for your help so far Pete!

Inspiring
August 15, 2012

When you load the app into itunes then click on the iPad then goto the App's Sync screen does the app appear in the list and your able to check it?

If not then the app isn't configured to load on iPad

Are you getting any errors when trying to load it or is it just failing?

If so then the mobileprovision file probably doesn't have the device linked to it and you need to link and redownload the file.

A note about using the command line. Since it's a Air 3.4 feature and you can't deploy production apps yet with it you might run into path issues between Air 3.3 and 3.4 when using the ADT command. Another reason I recommend an Ant task is you can set air 3.4 for adding and removing but air 3.3 for building.

A thing to note about add and removing. It will not work if you have wifi sync on itunes turned on. Also by default your package id when in debug mode has .debug appended to it. So if you've setup your app to be  com.company.appname   it's actually   com.company.appname.debug    To avoid this I go into the debug Descriptor file and manually set it without .debug so I don't have to write two ant tasks for debug and release.

Hope this helps.