11 Replies Latest reply: May 22, 2012 12:28 PM by mentlity RSS

    I Tunes sync failed to install

    mentlity Community Member

      I have been trying desperately to figure this out and cannot. I'm testing a simple two button app created using Flash CS5.5 publishing to AIR for IOS, I get no errors, the adl playback is fine, my trace statements work yet when I drag the .ipa into Itunes I see it in my app section, soon as I go to sync I get the msg

       

      I Tunes Sync

       

      appname failed to install.

       

      Very very frustrating as I checked every possible thing I could think of, errors in the actionscript etc.

       

      anybody ????????

       

      RD

        • 1. Re: I Tunes sync failed to install
          @mrjohnnytravel

          Is the Device UDID in the Provisioning Profile?

           

          What device are you testing on?

           

          What does your application descriptor look like?

          • 2. Re: I Tunes sync failed to install
            mentlity Community Member

            Ok, The device UUID is in the provisioning profile as I just checked

             

            I'm testing on an IPad2 and IPhone 4

             

            I revoked the first certificate I did and re did it making sure I covered each step correctly and did so.

             

            At first I thought it may have been something in the.as file but as mentioned the Flash checks out thru the adl and I have no errors in debugging.

             

            Then I changed the pref in the AIR publishing to pub for IPhone, saved and got the same error on there.

             

            Just to double check I did a second fla with just an image, no actionscript. Tried to drag that to the Ipad and I got the same thing so thats where Iam.

             

            When you write app discriptor do you mean the description in the app id?

             

            Is this what you mean?


             

            M73KBC8LMX.com.dagwaremedia*

             

            Looking to get this resolved, thx for the reply.

             

            RD

            • 3. Re: I Tunes sync failed to install
              @mrjohnnytravel Community Member

              The app descriptor, I mean the XML file that you're using to build.

               

              If its failing to install I don't think it has anything to do with your code as it's not getting that far.

               

              Are you targeting the correct type of .ipa when you build?

              • 4. Re: I Tunes sync failed to install
                mentlity Community Member

                targeting IPhone using AIR for IOS

                 

                here is the xml:

                 

                <?xml version="1.0" encoding="utf-8" standalone="yes"?>

                <application xmlns="http://ns.adobe.com/air/application/2.6">

                    <id>com.dagwaremediaM73KBC8LMX.ralphiedee</id>

                    <versionNumber>1.0</versionNumber>

                    <filename>NewIOSTestONE</filename>

                    <description></description>

                    <!-- To localize the description, use the following format for the description element.

                          <description>

                                    <text xml:lang="en">English App description goes here</text>

                                    <text xml:lang="fr">French App description goes here</text>

                                    <text xml:lang="ja">Japanese App description goes here</text>

                          </description>

                          -->

                    <name>NewIOSTestONE</name>

                    <!-- To localize the name, use the following format for the name element.

                          <name>

                                    <text xml:lang="en">English App name goes here</text>

                                    <text xml:lang="fr">French App name goes here</text>

                                    <text xml:lang="ja">Japanese App name goes here</text>

                          </name>

                          -->

                    <copyright></copyright>

                    <initialWindow>

                        <content>NewIOSTestONE.swf</content>

                        <systemChrome>standard</systemChrome>

                        <transparent>false</transparent>

                        <visible>true</visible>

                        <fullScreen>false</fullScreen>

                        <autoOrients>false</autoOrients>

                        <aspectRatio>portrait</aspectRatio>

                        <renderMode>auto</renderMode>

                    </initialWindow>

                    <customUpdateUI>false</customUpdateUI>

                    <allowBrowserInvocation>false</allowBrowserInvocation>

                    <icon></icon>

                    <iPhone>

                        <requestedDisplayResolution>standard</requestedDisplayResolution>

                        <InfoAdditions><![CDATA[<key>UIDeviceFamily</key><array><string>1</string><string>2</stri ng></array>]]></InfoAdditions>

                    </iPhone>

                </application>

                • 5. Re: I Tunes sync failed to install
                  Colin Holgate ACP/MVPs

                  This part is wrong:

                   

                  com.dagwaremediaM73KBC8LMX.ralphiedee

                   

                  The M73KBC8LMX bit should not be there. Maybe you meant this:

                   

                  com.dagwaremedia.ralphiedee

                   

                  or:

                   

                  com.dagwaremedia.newiostestone

                  • 6. Re: I Tunes sync failed to install
                    mentlity Community Member

                    Hmm, tried your suggestion and still have the same problem. This is odd, I need to resolve this. Is it possible I can zip someone my files and they can rename, publish and see if they get the same error? Screen shot of pub profile belowiosPubSs.png

                    • 7. Re: I Tunes sync failed to install
                      @mrjohnnytravel Community Member

                      It's not getting as far as your code - it's the provisioning profile and build. I had the same problem - installed on iPad 2 and iPhone 4, but not a 4S until the icons were available.

                       

                      Instead of iTunes, deploy your App using TestFlight - that will make sure you have the correct devices UDID's in your provisioning profile.

                       

                      Just register and upload your build - ignore all the 'SDK' stuff.

                       

                      Think the URL is testflightapp.com

                      • 8. Re: I Tunes sync failed to install
                        mentlity Community Member

                        In my case I can't get it to install on IPad2, didn't try the re do on iPhone  (I have a 4 btw) should I throw an icon up there? I'm totally lost here.

                         

                        RD

                        • 9. Re: I Tunes sync failed to install
                          mentlity Community Member

                          I'm going to look into testflight but n the meantime please direct me to a video which has the complete instructions on how do deploy apps from Flash CS5.5  to AIR and then test in IPad / IPhone. I'm looking at a video from Lynda.com which is telling me to use an asterisk in the app name and this may be the problem as my certificate, converting to p12 and device ID's are all good so it has to be something I'm doing in the provisioning profile .

                           

                          ??

                          RD

                          • 10. Re: I Tunes sync failed to install
                            @mrjohnnytravel Community Member

                            I don't use an asterisk in the app name.

                             

                            I'm using Flash Develop on Windows, and building my .ipa's using the command line adt command.

                             

                            I don't know what hardware you're using, but I followed this:

                             

                            http://www.emanueleferonato.com/2011/09/22/creation-of-an-iphone-app-with-flash-and-withou t-a-mac-for-all-windows-lovers/

                            • 11. Re: I Tunes sync failed to install
                              mentlity Community Member

                              Ok found my problem, in the app id I used a reverse url then an asterisk which allows me to change the name of the app without writing a new prov profile. I did this but before the asterisk there needed to be a (.) and I caught this after watching the vid another 3 x

                              finally done and can put this behind me!

                               

                              there is a god!

                               

                              Rd