Xcode doesn't honor attributed String font configuration when using size classes

Originator:diegopeinador
Number:rdar://19112892 Date Originated:02-Dec-2014 10:55 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode Version 6.1 (6A1052d)
Classification: Reproducible:Always
 
Summary:
When configuring Xcode to use size classes, so there are specific views for different screen sizes, it doesn't take into account the attributed string font configuration and uses the system font. Checked with UILabel.

Steps to Reproduce:
1. Create a new project with the assistant (single view project is ok)
2. Change the size class to meet the iphone size (for example).
3. Create an UILabel with attributed text and a different font.
4. Change the size class to meet the ipad size.
5. Create an UILabel with attributed text and a custom font.
6. Check how those UILabel render.

or

1. Uncompress the project attached.
2. Check the configuration for the UILabels.
3. Check how those labels are rendered.

Expected Results:
I'd expect the UILabel to be rendered with the font I used in the attributed string (Lato Bold in the attached project).

Actual Results:
The font used for rendering the UILabels is the system font (Helvetica Neue)

Version:
Xcode Version 6.1 (6A1052d)
iOS 8.1.1

Notes:


Configuration:
Always

Attachments:
'AttributtedStringTest.zip' was successfully uploaded.

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!