Charts module not available in Xcode 14.0.1 for macOS app

During the upgrade to Ventura it appears that Xcode was also upgraded to 14.0.1. In an attempt to use a new feature, Charts, I entered into a macOS app import Charts and I get an error message no such module Charts. If I use the same import Charts in an iOS app I do not get such an error. I am wondering if Charts in not available for macOS apps or did something go wrong during the Ventura upgrade. If it is the later, it makes sense to me to cleanly uninstall Xcode and reinstall. But it is unclear if just dragging Xcode from the application folder to the trash and emptying the trash completely uninstalls Xcode. As a side note, I do not ever remember Xcode being upgraded during an upgrade to macOS. Any input will be appreciated.

Answered by in 734011022

Hello @ChrisMH. The macOS 13 Ventura SDK is not available in Xcode 14.0.1. You'll want to install Xcode 14.1 RC 2 or later to use Swift Charts in macOS Ventura.

Please also see Minimum requirements and supported SDKs, which shows which SDKs are available with which versions of Xcode.

—Jason.

Accepted Answer

Hello @ChrisMH. The macOS 13 Ventura SDK is not available in Xcode 14.0.1. You'll want to install Xcode 14.1 RC 2 or later to use Swift Charts in macOS Ventura.

Please also see Minimum requirements and supported SDKs, which shows which SDKs are available with which versions of Xcode.

—Jason.

Charts module not available in Xcode 14.0.1 for macOS app
 
 
Q