Skip to content

Getting error after updating to xcode 16.0  #1002

Open
@deepak9705

Description

@deepak9705

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_p_____IeyByyd 12CoreGraphics7CGFloatV in libDGCharts.a65
symbolic 8DGCharts24LineChartDataSetProtocol_pAA0bcD8Provider_p_____Iegggd 12CoreGraphics7CGFloatV in libDGCharts.a65
_symbolic _____8DGCharts24LineChartDataSetProtocol_p_AB0bcD8Provider_ptcSg 12CoreGraphics7CGFloatV in libDGCharts.a65
_symbolic Say_____G 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

  • Version:
  • Platform:
  • Subsystem:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions