react-native-charts-wrapper
react-native-charts-wrapper copied to clipboard
Not able to compile code on Xcode 14
Please update iOS Charts into 4.1.0
Expected Behavior
iOS build should be success full
Actual Behavior
/ MARK: RangeReplaceableCollection extension ChartDataSet: RangeReplaceableCollection { public func append(_ newElement: Element) { calcMinMax(entry: newElement) entries.append(newElement) }
Screenshots

Specifications
- Version:0.5.9
- Platform: iOS
Updating Charts to 4.1.0 will rise multiple issues. Because this library is not compatible with Chart v4. It's compatible with v3.
Same issue.
same issue
same issue
same issue
Same issue.
This PR fixes the issue 100%
https://github.com/wuxudong/react-native-charts-wrapper/pull/892
This PR fixes the issue 100%
#892
Thanks !
This PR fixes the issue 100%
#892
not ok please merge soon as for package
If anyone can't wait for a package, you can make a workaround.
- Download repo as zip for example.
- Install deprecated-react-native-prop-types package (I don't know why this package is needed, but this lib depends on it)
- Find react-native-charts-wrapper in your node_modules.
- Remove all data in this folder and replace from downloaded arch.
- In your Podfile change pod 'RNCharts', :path => '../node_modules/react-native-charts-wrapper' on pod 'react-native-charts-wrapper', :path => '../node_modules/react-native-charts-wrapper'
- Also change platform :ios version on 13 in the same file.
- Run pod install and build app.
maybe it's not the best solution but if you have to update the app asap (like I do) you can use this quick fix
Try v0.5.10, Thx.