react-native-charts-wrapper icon indicating copy to clipboard operation
react-native-charts-wrapper copied to clipboard

Not able to compile code on Xcode 14

Open piashcse opened this issue 2 years ago • 2 comments

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

Screen Shot 2022-09-16 at 5 09 49 PM

Specifications

  • Version:0.5.9
  • Platform: iOS

piashcse avatar Sep 16 '22 11:09 piashcse

Updating Charts to 4.1.0 will rise multiple issues. Because this library is not compatible with Chart v4. It's compatible with v3.

shahnewaz469 avatar Sep 16 '22 13:09 shahnewaz469

Same issue.

Liqiankun avatar Sep 17 '22 01:09 Liqiankun

same issue

simrab avatar Sep 17 '22 16:09 simrab

same issue

abdulrafeh857 avatar Sep 17 '22 19:09 abdulrafeh857

same issue

mcarlos137 avatar Sep 18 '22 21:09 mcarlos137

Same issue.

FarmerBZH avatar Sep 19 '22 09:09 FarmerBZH

This PR fixes the issue 100%

https://github.com/wuxudong/react-native-charts-wrapper/pull/892

macasfaj avatar Sep 19 '22 09:09 macasfaj

This PR fixes the issue 100%

#892

Thanks !

FarmerBZH avatar Sep 19 '22 12:09 FarmerBZH

This PR fixes the issue 100%

#892

not ok please merge soon as for package

phamhieu1412 avatar Sep 20 '22 07:09 phamhieu1412

If anyone can't wait for a package, you can make a workaround.

  1. Download repo as zip for example.
  2. Install deprecated-react-native-prop-types package (I don't know why this package is needed, but this lib depends on it)
  3. Find react-native-charts-wrapper in your node_modules.
  4. Remove all data in this folder and replace from downloaded arch.
  5. 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'
  6. Also change platform :ios version on 13 in the same file.
  7. 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

Blackoverlord24 avatar Sep 21 '22 15:09 Blackoverlord24

Try v0.5.10, Thx.

wuxudong avatar Sep 24 '22 15:09 wuxudong