I have newly installed Xcode 14.1 and found multiple error on the Charts
cocoapod library. Found multiple solutions online but none worked fully and made sense to me. Finally using swift package manager for Charts
solved the problem like charm.
Solution - Remove Charts
pod from Podfile and add SPM (Swift Package Manager) for the same using url:
https://github.com/danielgindi/Charts.git
make sure you change version to:
upToNextMajor(from: "4.1.0")

Hope it helps anyone who was in same problem. Good luck!