I have an Xcode project. It makes use of IOS Charts. I have just upgraded the podfiles to get the latest version so I can access the privacy manifest on the Charts SDK (Apple need this for me to get the app approved). However, after the update, my code will no longer compile. The error is within the SwiftAlgorithms. The errors are all of the format:
/Users/.../SwiftAlgorithms/Sources/Algorithms/AdjacentPairs.swift:66:10 'let' property 'base' may not be initialized directly; use "self.init(...)" or "self = ..." instead
Every time I attempt a build I get a different number of compile errors - ranging from 3 to 80 - but with no code changes from me in the interim. I'm building for IOS 16.0 in my project, Charts, SwiftAlgorithms and my project pods. I'm guessing there may be some kind of incompatibility but I don't know how to find it or resolve it. Can someone suggest how I can fix this?
My podfile.lock is:
PODS:
- Charts (4.1.0):
- Charts/Core (= 4.1.0)
- Charts/Core (4.1.0):
- SwiftAlgorithms (~> 1.0)
- SwiftAlgorithms (1.0.0)
DEPENDENCIES:
- Charts
SPEC REPOS: trunk: - Charts - SwiftAlgorithms
SPEC CHECKSUMS: Charts: ce0768268078eee0336f122c3c4ca248e4e204c5 SwiftAlgorithms: 38dda4731d19027fdeee1125f973111bf3386b53
PODFILE CHECKSUM: 11c8af531ab8b34185029890a3c3ddaf997eedb4
COCOAPODS: 1.16.2