debug-_SwiftValue-unsignedIntegerValue

crash:

1
2
3
4
5
6
let attr = try? NSMutableAttributedString(data: data,
options: [NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType,
NSCharacterEncodingDocumentAttribute: String.Encoding.utf8],
documentAttributes:nil)
// log:
2017-04-17 14:04:38.140 [41275:463875] -[_SwiftValue unsignedIntegerValue]: unrecognized selector sent to instance 0x608000256620

WTF! 这个方法启动时不能直接调用,要异步?