AAChartKit-Swift icon indicating copy to clipboard operation
AAChartKit-Swift copied to clipboard

Swift Package Manager (SPM) Issue in 9.4.0

Open DevChAe opened this issue 6 months ago β€’ 2 comments

I am using this library via Swift Package Manager (SPM). In version 9.4.0, the newly added AAChartView+API.swift file uses Objective-C types, which are not directly accessible in Swift. To use Objective-C types in Swift, the Foundation module must be imported. Therefore, I kindly suggest adding import Foundation at the top of that file.

Image

DevChAe avatar May 22 '25 01:05 DevChAe

The issue has been resolved in this submission:

  • https://github.com/AAChartModel/AAChartKit-Swift/pull/540

AAChartModel avatar Jun 05 '25 08:06 AAChartModel

Update AAChartKit-Swift to the latest version 9.5.0, and everything should work fine. Good luck.

AAChartModel avatar Jun 05 '25 08:06 AAChartModel