Skip to content

Upgraded to Charts 4.1.0, SwiftAlgorithms not compiling. #5233

@monteach

Description

@monteach

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions