2 Replies Latest reply on Jun 23, 2014 2:52 PM by lumenmedia

    iOS icon missing from package? It's not!

    lumenmedia Level 1

      FB 4.7 tells me that when I try to debug my app that:

       

      Error occurred while packaging the application:

      /Users/reidop/Documents/U of Florida/projects/mobile apps/Pill Reminder/bin-debug/AOT/MedsReminder-app.xml: error 303: Icon iOS_icons/icon-57@2x.png is missing from package

       

      along with all the other icons.  Not only are the icons in the proper place, they have been explicitly included in the package:

      Flash BuilderScreenSnapz001.png

      Why does this error occur?  Anyone have any ideas?

       

      And yes, my XML file has the icons tag correct:

      
      <icon>
              <image29x29>iOS_icons/icon-29.png</image29x29>
              <image57x57>iOS_icons/icon-57.png</image57x57>
              <image114x114>iOS_icons/icon-57@2x.png</image114x114>
              <image512x512>iOS_icons/itunes.png</image512x512>
              <image72x72>iOS_icons/icon-72.png</image72x72>
              <image76x76>iOS_icons/icon-76.png</image76x76>
              <image40x40>iOS_icons/icon-40.png</image40x40>
              <image80x80>iOS_icons/icon-40@2x.png</image80x80>
              <image50x50>iOS_icons/icon-50.png</image50x50>
              <image100x100>iOS_icons/icon-50@2x.png</image100x100>
              <image144x144>iOS_icons/icon-72@2x.png</image144x144>
              <image152x152>iOS_icons/icon-76@2x.png</image152x152>
              <image1024x1024>iOS_icons/itunes@2x.png</image1024x1024>
              <image58x58>iOS_icons/icon-29@2x.png</image58x58>
              <image120x120>iOS_icons/icon-120.png</image120x120>
              <image48x48>iOS_icons/icon-48.png</image48x48>
      </icon>
      
      
      

       

      When I comment these lines in the XML file out, it works perfectly ... but without the proper icons!

       

      Can anyone tell me what I'm leaving out?

       

      Message was edited by: John Reid Perkins Buzo

        • 1. Re: iOS icon missing from package? It's not!
          lumenmedia Level 1

          I know I can resort to the adt command line and supply all the icon names there, but can't Flash Builder package this for me? MUST I use the command line to get my icons packaged?

          • 2. Re: iOS icon missing from package? It's not!
            lumenmedia Level 1

            Silly error ... the file path is not correct.  I assumed that the file path was relative to my XML descriptor in the project. That XML file is inside the package "core" along with the folder "iOS_icons", so the file path would be "iOS_icons/icon-???.png".  Instead the file path is relative to the XML descriptor file that FB4.7 creates for packaging. This ends up-one in the file path, outside the "core" package. So the correct file path turned out to be "core/iOS_icons/icon-???.png".  This is what it should be in my XML descriptor:

             

             

             

            <icon>
                    <image29x29>core/iOS_icons/icon-29.png</image29x29>
                    <image57x57>core/iOS_icons/icon-57.png</image57x57>
                    <image114x114>core/iOS_icons/icon-57@2x.png</image114x114>
                    <image512x512>core/iOS_icons/itunes.png</image512x512>
                    <image72x72>core/iOS_icons/icon-72.png</image72x72>
                    <image76x76>core/iOS_icons/icon-76.png</image76x76>
                    <image40x40>core/iOS_icons/icon-40.png</image40x40>
                    <image80x80>core/iOS_icons/icon-40@2x.png</image80x80>
                    <image50x50>core/iOS_icons/icon-50.png</image50x50>
                    <image100x100>core/iOS_icons/icon-50@2x.png</image100x100>
                    <image144x144>core/iOS_icons/icon-72@2x.png</image144x144>
                    <image152x152>core/iOS_icons/icon-76@2x.png</image152x152>
                    <image1024x1024>core/iOS_icons/itunes@2x.png</image1024x1024>
                    <image58x58>core/iOS_icons/icon-29@2x.png</image58x58>
                    <image120x120>core/iOS_icons/icon-120.png</image120x120>
                    <image48x48>core/iOS_icons/icon-48.png</image48x48>
            </icon>