Hi, there's this point at which a beginner needs to beg for help.
Unable to open mach-O at path: /Library/Caches/com.apple.xbs/Binaries/RenderBox/install/Root/System/Library/PrivateFrameworks/RenderBox.framework/default.metallib Error:2
I get this everytime I select a month and year on a custom date picker, I believe because I try to force the ".generateChartData()" for the chart to update.
I guess the problem might be that the ".onAppear" and ".onChange" are conflicting with each other?
}
.onChange(of: showDatePicker) {
viewModel.startDate = selectedDate
viewModel.generateChartData()
}
}
.onAppear {
viewModel.generateChartData()
}
Selecting any option will automatically load the page