Xcode 6 (beta) How to set the App Icon ?

Discussion in 'Mac Programming' started by xanrov, Jul 17, 2014.

  1. xanrov macrumors newbie

    xanrov

    Joined:
    Feb 9, 2008
    Location:
    Asnieres, FRANCE
    #1
    In all preceding versions of Xcode (up to 5.1.1) , setting the App Icon was a breeze. Once you had an image in the proper format (*.icns) it required only a drag and drop. The process was so intuitive that I stored my icons in a dedicated folder and never bothered to tie them to Xcode.
    Now, i've tried vainly to do the same in XCode 6 (beta 3, Ithink) There is a panel showing a lot of different sizes for an AppIccon, totally impervious to drag and drop, There is mention of mysterious "Asset Catlogs" with no clue to create them.

    In Brief I'm totally confused. could any Good Samaritan help me ?

    Thaks in advance
     
  2. Madd the Sane macrumors 6502a

    Madd the Sane

    Joined:
    Nov 8, 2010
    Location:
    Utah
    #2
    Asset catatalogs can contain images used by an application. New projects created by Xcode 5 and later contain a folder with the extension .xcassets. Opening the folder in Xcode allows you to create an application icon, which you can then drag .pngs into the proper image wells to set the images. Include the .xcassets file into "copy bundle resources" to make sure Xcode can find it. Select the Xcode project in Xcode, then select the application target, and the info tab. There should be an option to select an application icon from all the included Xcode assets that have an application icon. Note that Xcode will only include one application icon for any project. Read on to learn how to add icons for document icons.

    You can create old-fashioned .icns files from an asset library. From within an Xcode asset library, add an OS X icon, then drag and drop .png files to the proper sizes.
     
  3. xanrov thread starter macrumors newbie

    xanrov

    Joined:
    Feb 9, 2008
    Location:
    Asnieres, FRANCE
    #3
    Thank you for your "sane" help
    I was unaware that app icons format had changed. Now, after reformatted my *.icns to *.png with Graphic Converter, drag and drop works as before.
    Can't understand, though, why this change took place and where it was documented .

    Best regards
     

Share This Page