AAChartKit-Swift
AAChartKit-Swift copied to clipboard
Swift Package Manager (SPM) Issue in 9.4.0
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.
The issue has been resolved in this submission:
- https://github.com/AAChartModel/AAChartKit-Swift/pull/540
Update AAChartKit-Swift to the latest version 9.5.0, and everything should work fine. Good luck.