You want to look at the last stack of the stack for the line of code you wrote. Based on swift_dynamicCastClassUnconditional
, it looks like you had a string as!
and the cast failed.
The line you are pointing to is part of the code that is called after an error is detected.
source
to share