can't seem to pinpoint this crash report can someone help me thanks!
EXC_CRASH (SIGABRT)
The presence of the Last Exception Backtrace
section indicates that your app crashed because it threw an unhandled language exception. Consider the backtrace in that:
0 CoreFoundation … __exceptionPreprocess + 164 (NSException.m:202)
1 libobjc.A.dylib … objc_exception_throw + 60 (objc-exception.mm:356)
2 CoreFoundation … -[NSObject(NSObject) doesNotRecognizeSelector:] + 136 (NSObject.m:140)
3 CoreFoundation … ___forwarding___ + 1592 (NSForwarding.m:3578)
4 CoreFoundation … _CF_forwarding_prep_0 + 96
5 UIFoundation … __NSValidateCoreTextAttributes + 664 (NSCoreTypesetter.m:1535)
6 UIFoundation … -[NSCoreTypesetter _stringDrawingCoreTextEngineWithOriginalString:rect:padding:graphicsContext:forceClipping:attributes:stringDrawingOptions:drawingContext:stringDrawingInterface:] + 1340 (NSCoreTypesetter.m:2010)
7 UIFoundation … __NSStringDrawingEngine + 1288 (NSStringDrawing.m:1608)
8 UIFoundation … -[NSAttributedString(NSExtendedStringDrawing) boundingRectWithSize:options:context:] + 644 (NSStringDrawing.m:1387)
9 UIKitCore … -[UILabel _textRectForBounds:limitedToNumberOfLines:includingShadow:] + 644 (UILabel.m:2208)
10 UIKitCore … -[UILabel _intrinsicSizeWithinSize:] + 452 (UILabel.m:3803)
11 UIKitCore … -[UILabel _ensureBaselineMetricsReturningBounds] + 232 (UILabel.m:3597)
12 UIKitCore … -[UILabel _baselineOffsetFromBottom] + 80 (UILabel.m:3642)
13 UIKitCore … -[UILabel _invalidateBaselineConstraints] + 76 (UILabel.m:3144)
14 UIKitCore … -[UILabel _setContent:adjustingFontForAccessibilityTraits:checkingForDifferences:] + 680 (UILabel.m:811)
15 UIKitCore … -[UILabel setAttributedText:] + 104 (UILabel.m:2409)
16 BPI BizLink … specialized RuAmountDisplayCellV2.updateProperties(row:object:section:) + 704 (RuAmountDisplayCellV2.swift:27)
Frame 16 is your code, which is setting an attributed string on a UILabel
in frame 15. Frames 15 through 5 are system code trying to set that attribute. In frame 5 it calls a method on an object which the object doesn’t handle, resulting in this exception.
There are two potential causes for this problem:
-
There’s something wrong with the attributed string you set in frame 16.
-
Some sort of general memory corruption issue.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"