Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error after updating to xcode 16.0 #1002

Open
deepak9705 opened this issue Sep 20, 2024 · 4 comments
Open

Getting error after updating to xcode 16.0 #1002

deepak9705 opened this issue Sep 20, 2024 · 4 comments

Comments

@deepak9705
Copy link

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:
@TiagoAndreAlmeida
Copy link

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

@ray-aoms
Copy link

same issue here

@TiagoAndreAlmeida
Copy link

i have to change this lib by Victory Native.

@hexadecy
Copy link
Contributor

No issue compiling this lib with my setup:

Mac M1 Pro
Sonoma 14.7.1 arm64
Xcode 16.0
Xcode CLI 16.1.0.0.1.1729049160
react-native-charts-wrapper 0.6.0
react-native 0.74.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants