Apple Charts framework not working with Xcode 14.3

Everything worked fine till 14.2, the moment we upgraded to 14.3 we started getting this errors for Charts.

`Undefined symbol: _$s6Charts12ChartContentPAAE15foregroundStyle2byQrAA14PlottableValueVyqd__G_tAA0G0Rd__lFQOMQ

Undefined symbol: _$s6Charts12ChartContentPAAE15foregroundStyleyQrqd__7SwiftUI05ShapeE0Rd__lF

Undefined symbol: _$s6Charts12ChartContentPAAE15foregroundStyleyQrqd__7SwiftUI05ShapeE0Rd__lFQOMQ

Undefined symbol: _$s6Charts12ChartContentPAAE8position2by4axis4spanQrAA14PlottableValueVyqd__G_7SwiftUI4AxisOSgAA13MarkDimensionVtAA0H0Rd__lF

Undefined symbol: _$s6Charts12ChartContentPAAE8position2by4axis4spanQrAA14PlottableValueVyqd__G_7SwiftUI4AxisOSgAA13MarkDimensionVtAA0H0Rd__lFQOMQ

Undefined symbol: _$s6Charts14AxisMarkPresetV9automaticACvgZ

Undefined symbol: _$s6Charts14AxisMarkPresetVMa

Undefined symbol: _$s6Charts14AxisMarkValuesV9automaticACvgZ

Undefined symbol: _$s6Charts14AxisMarkValuesVMa

Undefined symbol: _$s6Charts14AxisValueLabelV8centered6anchor05multiD9Alignment19collisionResolution12offsetsMarks11orientation17horizontalSpacing08verticalO0ACys5NeverOGSbSg_7SwiftUI9UnitPointVSgAP0H0VSgAA0bcd9CollisionJ0VAoA0bcD11OrientationV12CoreGraphics7CGFloatVSgA2_tcAMRszrlufC

Undefined symbol: _$s6Charts14AxisValueLabelVMn

Undefined symbol: _$s6Charts14AxisValueLabelVyxGAA0B4MarkAAMc

Undefined symbol: _$s6Charts14PlottableValueV5valueyACyxGqd___xtSyRd__lFZ

Undefined symbol: _$s6Charts14PlottableValueVMn

Undefined symbol: _$s6Charts16AxisMarkPositionV9automaticACvgZ

Undefined symbol: _$s6Charts16AxisMarkPositionVMa

Undefined symbol: _$s6Charts18AnnotationPositionV3topACvgZ

Undefined symbol: _$s6Charts18AnnotationPositionV6bottomACvgZ

Undefined symbol: _$s6Charts18AnnotationPositionV8trailingACvgZ

Undefined symbol: _$s6Charts18AnnotationPositionVMa

Undefined symbol: _$s6Charts18BuilderConditionalV7StorageOMn

Undefined symbol: _$s6Charts18BuilderConditionalVMn

Undefined symbol: _$s6Charts18BuilderConditionalVyxq_GAA12ChartContentA2aERzAaER_rlMc

Undefined symbol: _$s6Charts25AxisValueLabelOrientationV9automaticACvgZ

Undefined symbol: _$s6Charts25AxisValueLabelOrientationVMa

Undefined symbol: _$s6Charts33AxisValueLabelCollisionResolutionV9automaticACvgZ

Undefined symbol: _$s6Charts33AxisValueLabelCollisionResolutionVMa

Undefined symbol: _$s6Charts5ChartV7contentACyxGxyXE_tcfC

Undefined symbol: _$s6Charts5ChartVMn

Undefined symbol: _$s6Charts5ChartV_2id7contentACy7SwiftUI7ForEachVyqd__qd_0_qd_1_GGqd___s7KeyPathCy7ElementQyd__qd_0_Gqd_1_ANctcAIRszSkRd__SHRd_0_AA0B7ContentRd_1_r1_lufC

Undefined symbol: _$s6Charts5ChartVyxG7SwiftUI4ViewAAMc

Undefined symbol: _$s6Charts7BarMarkV1x1y5width6height8stackingAcA14PlottableValueVyxG_AJyq_GAA0C9DimensionVAnA0C14StackingMethodVtcAA0G0RzAaQR_r0_lufC

Undefined symbol: _$s6Charts7BarMarkVAA12ChartContentAAWP

Undefined symbol: _$s6Charts7BarMarkVMa

Undefined symbol: _$s6Charts7BarMarkVMn

Undefined symbol: _$s6Charts8AxisMarkPAAE15foregroundStyleyQrqd__7SwiftUI05ShapeE0Rd__lF

Undefined symbol: _$s6Charts8AxisMarkPAAE15foregroundStyleyQrqd__7SwiftUI05ShapeE0Rd__lFQOMQ

Undefined symbol: _$s6Charts8AxisMarkPAAE4fontyQr7SwiftUI4FontVSgF

Undefined symbol: _$s6Charts8AxisMarkPAAE4fontyQr7SwiftUI4FontVSgFQOMQ

Undefined symbol: _$s6Charts9AxisMarksV6preset8position6values7contentACyxGAA0B10MarkPresetV_AA0bH8PositionVAA0bH6ValuesVxyctcfC

Undefined symbol: _$s6Charts9AxisMarksVMn

Undefined symbol: _$s6Charts9AxisMarksVyxGAA0B7ContentAAMc

Undefined symbol: _$s6Charts9ScaleTypeVMa

Undefined symbol: _$s6Charts9ScaleTypeVMn

Undefined symbol: _$s7SwiftUI4ViewP6ChartsE10chartXAxis7contentQrqd__yXE_tAD11AxisContentRd__lF

Undefined symbol: _$s7SwiftUI4ViewP6ChartsE10chartXAxis7contentQrqd__yXE_tAD11AxisContentRd__lFQOMQ

Undefined symbol: _$s7SwiftUI4ViewP6ChartsE10chartXAxisyQrAA10VisibilityOF

Undefined symbol: _$s7SwiftUI4ViewP6ChartsE10chartXAxisyQrAA10VisibilityOFQOMQ

Undefined symbol: _$s7SwiftUI4ViewP6ChartsE10chartYAxis7contentQrqd__yXE_tAD11AxisContentRd__lF

Undefined symbol: _$s7SwiftUI4ViewP6ChartsE10chartYAxis7contentQrqd__yXE_tAD11AxisContentRd__lFQOMQ

Undefined symbol: _$s7SwiftUI4ViewP6ChartsE10chartYAxisyQrAA10VisibilityOF

Undefined symbol: _$s7SwiftUI4ViewP6ChartsE10chartYAxisyQrAA10VisibilityOFQOMQ

Undefined symbol: _$s7SwiftUI4ViewP6ChartsE25chartForegroundStyleScale6domain5range4typeQrqd___qd_0_AD0H4TypeVSgtAD0H6DomainRd__AD0H5RangeRd_0_AA05ShapeG011VisualValueRpd_0_r0_lF

Undefined symbol: _$s7SwiftUI4ViewP6ChartsE25chartForegroundStyleScale6domain5range4typeQrqd___qd_0_AD0H4TypeVSgtAD0H6DomainRd__AD0H5RangeRd_0_AA05ShapeG011VisualValueRpd_0_r0_lFQOMQ

Undefined symbol: _$s7SwiftUI7ForEachV6Charts7Element_2IDQZRs_AD12ChartContentR0_s12IdentifiableAERpzrlE_7contentACyxq_q0_Gx_q0_AJctcfC

Undefined symbol: _$s7SwiftUI7ForEachV6ChartsAD12ChartContentR0_rlE_2id7contentACyxq_q0_Gx_s7KeyPathCy7ElementQzq_Gq0_ALctcfC

Undefined symbol: _$s7SwiftUI7ForEachVyxq_q0_G6Charts12ChartContentA2eFR0_rlMc

Undefined symbol: _$sSS6Charts9PlottableAAWP

Undefined symbol: _$sSayxG6Charts10ScaleRangeABMc

Undefined symbol: _$sSayxG6Charts11ScaleDomainA2B9PlottableRzlMc

Undefined symbol: _$sSd6Charts9PlottableAAWP

Linker command failed with exit code 1 (use -v to see invocation)`

Can some help me to move forward on this please