I've encountered the same problem (for BarMark, as well as some modifiers like chartYScale & chartPlotStyle). Turns out, the beta version on the device (iOS 16.0 beta 3) was ahead of Xcode-beta version (beta 1). Updating Xcode-beta to the latest beta 3 solved the issue.