wuxudong / react-native-charts-wrapper

a react native charts wrapper (support android & iOS)
2.44k stars 658 forks source link

Getting error after updating to xcode 16.0 #1002

Open deepak9705 opened 3 weeks ago

deepak9705 commented 3 weeks ago

*Do read files under `lib/` before reporting issues, you can find all the config there, all of them are straightforward.** should compile

Expected Behavior

getting error d: warning: ignoring duplicate libraries: '-lc++' ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found Undefined symbols for architecture arm64: "nominal type descriptor for CoreGraphics.CGFloat", referenced from: symbolic ____ 12CoreGraphics7CGFloatV in libDGCharts.a4 _symbolic Say_GSg 12CoreGraphics7CGFloatV in libDGCharts.a7 _symbolic __ABIegyyy_ 8DGCharts13ChartViewBaseC 12CoreGraphics7CGFloatV in libDGCharts.a18 _symbolic 8DGCharts24LineChartDataSetProtocol_pAA0bcD8Provider_pIeyByyd 12CoreGraphics7CGFloatV in libDGCharts.a65 _symbolic 8DGCharts24LineChartDataSetProtocol_pAA0bcD8ProviderpIegggd_ 12CoreGraphics7CGFloatV in libDGCharts.a65 _symbolic _8DGCharts24LineChartDataSetProtocol_p_AB0bcD8Provider_ptcSg 12CoreGraphics7CGFloatV in libDGCharts.a65 symbolic SayG 12CoreGraphics7CGFloatV in libDGCharts.a79 ... "type metadata for CoreGraphics.CGFloat", referenced from: @objc DGCharts.AxisBase.axisLineDashLengths.getter : [CoreGraphics.CGFloat]? in libDGCharts.a7 @objc DGCharts.AxisBase.axisLineDashLengths.setter : [CoreGraphics.CGFloat]? in libDGCharts.a7 @objc DGCharts.AxisBase.gridLineDashLengths.getter : [CoreGraphics.CGFloat]? in libDGCharts.a7 @objc DGCharts.AxisBase.gridLineDashLengths.setter : [CoreGraphics.CGFloat]? in libDGCharts.a7 DGCharts.BarChartRenderer.drawValues(context: __C.CGContextRef) -> () in libDGCharts.a15 lazy protocol witness table accessor for type CoreGraphics.CGFloat and conformance CoreGraphics.CGFloat : Swift.FloatingPoint in CoreGraphics in libDGCharts.a15 DGCharts.BarHighlighter.getDistance(x1: CoreGraphics.CGFloat, y1: CoreGraphics.CGFloat, x2: CoreGraphics.CGFloat, y2: CoreGraphics.CGFloat) -> CoreGraphics.CGFloat in libDGCharts.a17 ... "protocol conformance descriptor for CoreGraphics.CGFloat : Swift.FloatingPoint in CoreGraphics", referenced from: lazy protocol witness table accessor for type CoreGraphics.CGFloat and conformance CoreGraphics.CGFloat : Swift.FloatingPoint in CoreGraphics in libDGCharts.a15 "protocol conformance descriptor for CoreGraphics.CGFloat : Swift.Comparable in CoreGraphics", referenced from: lazy protocol witness table accessor for type CoreGraphics.CGFloat and conformance CoreGraphics.CGFloat : Swift.Comparable in CoreGraphics in libDGCharts.a17 "protocol conformance descriptor for CoreGraphics.CGFloat : Swift.SignedNumeric in CoreGraphics", referenced from: lazy protocol witness table accessor for type CoreGraphics.CGFloat and conformance CoreGraphics.CGFloat : Swift.SignedNumeric in CoreGraphics in libDGCharts.a17 "protocol conformance descriptor for CoreGraphics.CGFloat : Swift.CustomStringConvertible in CoreGraphics", referenced from: lazy protocol witness table accessor for type CoreGraphics.CGFloat and conformance CoreGraphics.CGFloat : Swift.CustomStringConvertible in CoreGraphics in libDGCharts.a49 "protocol conformance descriptor for CoreGraphics.CGFloat : Swift.CVarArg in CoreGraphics", referenced from: lazy protocol witness table accessor for type CoreGraphics.CGFloat and conformance CoreGraphics.CGFloat : Swift.CVarArg in CoreGraphics in libDGCharts.a29 ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Actual Behavior

Screenshots

Data and config

compile using xcode 16

Steps to Reproduce the Problem

"react-native-charts-wrapper": "^0.6.0", used

Specifications

TiagoAndreAlmeida commented 2 days ago

i stuck in this erro too, did you find any workaround ?

ray-aoms commented 1 day ago

same issue here