Crash in iOS 7.0.3 for NSMutableAttributedString [duplicate]
问题 This question already has answers here : What happened to “HelveticaNeue-Italic” on iOS 7.0.3 (10 answers) Closed 6 years ago . Since a few days, I have a crash that only happens in iOS with the following line of code [myAttributedString addAttribute:NSFontAttributeName value:[UIFont fontWithName:@"HelveticaNeue-Italic" size:myLabel.font.pointSize] range:rangeOfSubString]; The reason given by debugger is "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: