ios,swift2022. 11. 23. 14:14

[iOS]Xcode14 Type 'ChartDataSet' does not conform to protocol 'RangeReplaceableCollection' 이슈해결방법

 

잘쓰다가.. xcode 업뎃하고 나서... 빌드문제가 여럿 발생했다..

 

chart라이브러리를 가져다 쓰는데.. 문제가 생겼다..

 

old

pod 'Charts','~>3.4.0'

 

new 

pod 'Charts', :git => 'https://github.com/danielgindi/Charts.git', :branch => 'master'

 

다른분들이 해결하신 git 버젼이 있다..

 

[참조] https://stackoverflow.com/questions/74010925/charts-not-compile-on-xcode-14

 

Charts not compile on Xcode 14

I am facing following errors in library - Type 'ChartDataSet' does not conform to protocol 'RangeReplaceableCollection' Unavailable instance method 'replaceSubrange(_:with:)' was used to satisfy a

stackoverflow.com

 

Posted by thdeodls85