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.