Incorrect App Icon Used When Deployment Target is < iOS 6.0

Originator:sshrpe
Number:rdar://18536841 Date Originated:2014-10-03
Status:Open Resolved:No
Product:Developer Tools Product Version:
Classification: Reproducible:
 
Summary:
Apps built using Xcode 6 with asset catalogue for app icons erroneously use the @3x Spotlight icon from the asset catalogue in place of the @2x app icon on retina iPhones using iOS 7 or 8. This only occurs if the deployment target for the app is iOS 5.1.1 or below, and removing the @3x Spotlight icon or changing the deployment target to iOS >=6.0 restores the correct icon.

The problem occurs on Retina (@2x) iPhone devices on iOS 7 and 8 when using an asset catalogue for the app icon (see IconsCatalogue.png) and building for OS versions prior to iOS 6.0. The problem also occurs on the Simulator.

In order to build for iOS 5.1, the project must be built for armv7s architecture, but the problem occurs based on selected deployment target and seems unconnected to selected architectures.

Steps to Reproduce:
1. Open the attached sample project (AppIcons.zip) and build for iPhone with Retina display (Simulator or device).
2. Observe the colour of the app icon of the built app.
3. Change the project's deployment target to iOS 6.0 and re-run.

Expected Results:
The blue icon from the asset catalogue should be the main app icon, regardless of the deployment target for the project (see BlueIcon.png).

Actual Results:
The green Spotlight @3x icon is used as the main app icon when the deployment target is set to 5.1 (see GreenIcon.png).

Version:
Xcode Version 6.0.1 (6A317) running on Mac OS X 10.9.5

Notes:
The problem can be worked around by removing the @3x Spotlight icon from the asset catalogue.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!