Previously this Repository was imported as Charts, but after their library updates, it was changed to DGCharts. After I change the pod file, it installed successfully but the app getting crashed while accessing the charts. previously it was working properly. The only change was the pod name (Charts -> DGCharts).
Note that I'm using M1 Macbook.
Also, I tried to import the library as
pod 'DGCharts' as well. but the result was the same.
I encountered the same issue. It turned out that the module name of the PieChartView in my Storyboard still was the old library name. Just make sure the PieChartView's Module is set to "DGCharts".