ChartsOrg / ChartsOrg/Charts

Upgraded to Charts 4.1.0, SwiftAlgorithms not compiling.

Open
#5,233 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

After upgrading Charts to 4.1.0, it now uses SwiftAlgoritms so this is added to my project but will not compile. The error I am receiving is of this format, but it applies to different properties throughout the SwiftAlgortithms components:

> /Users/.../My Drive/Projects/Software Development/Xcode/UK Tides/Pods/SwiftAlgorithms/Sources/Algorithms/Stride.swift:66:10 'let' property 'base' may not be initialized directly; use "self.init(...)" or "self = ..." instead

I am using Swift 5. All my projects have a IOS deployment target of 16.0.

Interestingly, every time I compile I get a different set of error messages - with no code changes in between.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.