AppPear / ChartView

ChartView made in SwiftUI
MIT License
5.26k stars 645 forks source link

Couldn't build ChartView package with Xcode 13.0 beta 5 #210

Open sadia8288 opened 2 years ago

sadia8288 commented 2 years ago

Description

...../SourcePackages/checkouts/ChartView/Sources/SwiftUICharts/LineChart/LineChartView.swift:147:110: error: editor placeholder in source file LineChartView(data: [8,23,54,32,12,37,7,23,43], title: "Line chart", legend: "Basic", rateValue: <#Int?#>) ^ ..../SourcePackages/checkouts/ChartView/Sources/SwiftUICharts/LineChart/LineChartView.swift:149:226: error: editor placeholder in source file LineChartView(data: [282.502, 284.495, 283.51, 285.019, 285.197, 286.118, 288.737, 288.455, 289.391, 287.691, 285.878, 286.46, 286.252, 284.652, 284.129, 284.188], title: "Line chart", legend: "Basic", rateValue: <#Int?#>)

Kondamon commented 2 years ago

editor placeholder in source file LineChartView(data: [8,23,54,32,12,37,7,23,43], title: "Line chart", legend: "Basic", rateValue:

You need to replace rateValue with a real value: <#Int?#>