Charts: No such module 'Algorithms'

Created on 24 Mar 2021  路  6Comments  路  Source: danielgindi/Charts

I updated Charts today. An error occurred while compiling the project, error tip is no such module 'Algorithms'. I installed Charts through pods.
I next install swift-algorithms by Swift Page Manager, but still can't solve the problem.

Charts version: 4.0.0

Most helpful comment

Same issue. Linking Charts with Algorithms doesn't help.

4.0.0 does not support the pods, only use Swift Package. Because the latest version depend on Algorithms, Algorithms is Apple's open source library, unfortunately, Algorithms can only be installed through Swift Package.

All 6 comments

Same issue. Linking Charts with Algorithms doesn't help.

Same issue. Linking Charts with Algorithms doesn't help.

4.0.0 does not support the pods, only use Swift Package. Because the latest version depend on Algorithms, Algorithms is Apple's open source library, unfortunately, Algorithms can only be installed through Swift Package.

Thanks for the info, @Mr-Persona!
Should the pod then be removed altogether?

CleanShot 2021-05-05 at 11 30 45
Same problem I use SPM but still got error

has anyone found a solution to this yet? i'm using Carthage and running into the same issue.

@rodgutierrez yes, import it as Swift Package instead of a pod.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

valeIT picture valeIT  路  3Comments

heumn picture heumn  路  3Comments

BrandonShega picture BrandonShega  路  4Comments

newbiebie picture newbiebie  路  3Comments

cilasgimenez picture cilasgimenez  路  4Comments