I added Charts to my xcode project using the SPM. This installed correctly and the dependency appears to be correct in the config screens. Then tried to add the library to the ViewController.swift file in my empty project with "import Charts"
I expected to be able to then import the Charts library and start referencing its structs and classes. note this is not an issue with my xcode config as I have successfully added other swift packages in exactly the same way and then was able to import their libraries
Immediately get Xcode build error "no such module Charts"
*Charts version/Branch/Commit Number: 3.6
*Xcode version: Version 12.2 (12B45b)
*Swift version: 5.2
*Platform(s) running Charts: OSX
**macOS version running Xcode: 11.1
ℹ Please link to or upload a project we can download that reproduces the issue.
This does not appear to be related to my project code. I replicate the same error if I create a brand new iOS App project, which is completely empty.
I could resolve this issue by "install from the master branch instead of the release version 4.0.0".
Also, select install product "Charts" into your Target. Do not select "ChartDynamics".
Happy coding!
Thank you Jacob and Daniel. That is great .
And thank you for this wonderful library.
Best wishes from Cornwall, UK
Stephen
On 9 Feb 2021, at 00:37, Jacob Christie notifications@github.com wrote:
4533 https://github.com/danielgindi/Charts/issues/4533 Should resolve this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/danielgindi/Charts/issues/4547#issuecomment-775565034, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABATVGCQ2AQQWGBF4PHQCOLS6B7VBANCNFSM4VPNCXPQ.
Most helpful comment
I could resolve this issue by "install from the master branch instead of the release version 4.0.0".
Also, select install product "Charts" into your Target. Do not select "ChartDynamics".
Happy coding!