Open 0xashu opened 7 years ago
+1
+1
@Aaaaaashu did you ever get this resolved? If so, can you share what you did?
@Aaaaaashu that did the trick. Thanks.
I think i still met this problem... don't know why
** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64 /Users/Apple/Documents/code/foodie/node_modules/react-native-ios-charts/RNiOSCharts/BarLineChartViewBaseExtension.s
wift
CompileSwift normal x86_64 /Users/Apple/Documents/code/foodie/node_modules/react-native-ios-charts/RNiOSCharts/RNBarChartManager.swift
CompileSwift normal x86_64 /Users/Apple/Documents/code/foodie/node_modules/react-native-ios-charts/RNiOSCharts/RNHorizontalBarChartManager.swi
ft
CompileSwift normal x86_64 /Users/Apple/Documents/code/foodie/node_modules/react-native-ios-charts/RNiOSCharts/RNBubbleChartManager.swift
CompileSwift normal x86_64 /Users/Apple/Documents/code/foodie/node_modules/react-native-ios-charts/RNiOSCharts/RNScatterChartManager.swift
CompileSwift normal x86_64 /Users/Apple/Documents/code/foodie/node_modules/react-native-ios-charts/RNiOSCharts/RNRadarChartManager.swift
CompileSwift normal x86_64 /Users/Apple/Documents/code/foodie/node_modules/react-native-ios-charts/RNiOSCharts/RNCandleChartManager.swift
CompileSwift normal x86_64 /Users/Apple/Documents/code/foodie/node_modules/react-native-ios-charts/RNiOSCharts/chartDataHelpers.swift
I fork this repo, and update Charts to newest version V3. you can check it at https://github.com/wuxudong/react-native-ios-charts
I have no experience of coding with swift & oc, so I can only fix compile error based on google and xcode hint. It took me hours.
It seems work.
btw: there is lot code duplications in this repo. need to be refactor.
When I through the pod update Charts to version 3.0.0, Xcode build will produce the
react-native-ios-charts
related errors. It is possible that thereact-native-ios-charts
didn't keep up with the Charts 3.0.0 updates.