SwiftUI Charts not working in Xcode 16 Beta 2

Is there a way to workaround this issue? Can I revert back to Beta 1?

Failed to build module 'Charts'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.7.41 clang-1600.0.24.1)', while this compiler is 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.11 clang-1600.0.26.2)'). Please select a toolchain which matches the SDK.

Answered by DTS Engineer in 806246022

@Xavier-k The engineering team is aware of the issue. There is no workaround at the moment, please continue to test on the beta releases.

Accepted Answer

@Xavier-k The engineering team is aware of the issue. There is no workaround at the moment, please continue to test on the beta releases.

This is now fixed in Xcode 16.1 beta 3 with the updated SDKs. Thanks for testing beta software, and let us know if you are still experiencing this issue.

SwiftUI Charts not working in Xcode 16 Beta 2
 
 
Q