英文:
DGCharts EXC_BAD_ACCESS (code=2, address=0x12a113e30)
问题
之前这个代码库被导入为Charts,但在他们的库更新后,它被改成了DGCharts。我修改了pod文件后,成功安装,但在访问图表时应用程序崩溃。之前它正常工作。唯一的变化是pod名称(Charts -> DGCharts)。
请注意,我正在使用M1 MacBook。
另外,我尝试导入库
pod 'DGCharts' 也是一样。但结果是一样的。
英文:
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.
答案1
得分: 4
遇到了相同的问题。原来在我的Storyboard中,PieChartView的模块名称仍然是旧的库名称。只需确保PieChartView的模块设置为"DGCharts"。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论