I encountered a similar issue. I was trying to create a bar chart using a third-party Chart library, but I forgot to assign my custom UIChartView class name in the storyboard. After adding the class name, the issue was resolved.
Xcode's error reporting really isn’t very accurate.