26

I am really stuck on how to remove the gloss from my icon when using iOS6 and XCode 5.

I have read through these questions:

Removing gloss effect from an icon in iOS 4.3

icon already includes gloss effects not working ios 5

How to disable highlighting of the app icon?

And now my plist looks like this:

<plist version="1.0">
<dict>
    <key>LSApplicationCategoryType</key>
    <string></string>
    <key>CFBundleDevelopmentRegion</key>
    <string>en</string>
    <key>CFBundleDisplayName</key>
    <string>${PRODUCT_NAME}</string>
    <key>CFBundleExecutable</key>
    <string>${EXECUTABLE_NAME}</string>
    <key>CFBundleIdentifier</key>
    <string>com.burton.${PRODUCT_NAME:rfc1034identifier}</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>${PRODUCT_NAME}</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>1.0</string>
    <key>LSRequiresIPhoneOS</key>
    <true/>
    <key>UIPrerenderedIcon</key>
    <true/>
    <key>UIRequiredDeviceCapabilities</key>
    <array>
        <string>armv7</string>
    </array>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
    </array>
</dict>
</plist>

However, the gloss effect is still being applied when I preview the app on my phone. Any help would be much-appreciated.

Community
  • 1
  • 1
Richard Burton
  • 2,230
  • 6
  • 34
  • 49

3 Answers3

116

Actually they have moved the setting. Under your project settings, under the general tab,and under the app icons section, select the "Use Asset Catalog". Now under the project files (far left panel) navigate to the Images.xcassets file. Now make sure the app icon and launch images are added. The important thing is to make sure that the tick box of "Ios Icon is pre-rendered" is enabled.You can find this option on the attributes panel (far right panel) when viewing the Images.xcassets file. And thats it, you can delete the old images and do a clean , then build and run and you done. This worked for me... enter image description here

runmad
  • 14,846
  • 9
  • 99
  • 140
dubemike
  • 2,222
  • 1
  • 15
  • 12
  • could you provide an image pointing where is it? My attributes panel doesn't seem to show it. I'm using Assets Catalog, I have set all my app icons and I can't find that tick box here. Im using Xcode5-DP3. Tks. – Gustavo Barbosa Sep 10 '13 at 13:38
  • 1
    Thanks! I've just upgrade to XCode GM and now the tick box appears. – Gustavo Barbosa Sep 11 '13 at 15:58
  • 2
    I've ticked the box, clean, deleted derived data and the gloss still shows on iOS 6. I had to reset the simulator for the change to take effect, presumably the users will have to delete the app and reinstall :( – iOSDevil Sep 12 '13 at 05:41
  • 1
    Make sure you're in the 'Attributes Panel', not the 'File Inspector' - it's the button at the top of the far right panel. – C. Lee Sep 12 '13 at 11:26
  • OMG, thank you! This was driving me crazy!!!! Why on earth would they not move over the damn UIPrerenderedIcon flag when you create the image assets?! Grrrr. This should be the correct answer. – runmad Oct 02 '13 at 18:49
8

After much poking around, it turns out this a bug with XCode 5 and the Media.xcassets folder that it uses to create the icon. I have submitted a bug report to Apple.

Richard Burton
  • 2,230
  • 6
  • 34
  • 49
1

After you set the "iOS icon is pre-rendered", you have to delete the app from the device and build-run again (in iOS 6.1).

Zoltan Vinkler
  • 1,207
  • 1
  • 15
  • 20