0

enter image description hereThere is an error in Chart.swift file which is part of the "SwiftChart" pod library. It says "kCALineJoinBevel" has been renamed to "CAShapeLayerLineJoin.bevel".

Could you please correct this?

  • show some code pls – Antoni Silvestrovič Jun 16 '20 at 20:38
  • Sorry..posted the screenshot of the error and the code. – Vivek Karthik Jun 16 '20 at 21:09
  • Just as a heads up, people prefer pasted code here. Your error seems to be cause by the SwiftChart framework being developed in older swift/xcode version, so check if it was updated or just try to modify the source code to say `CAShapeLayerLineJoin.bevel` – Antoni Silvestrovič Jun 16 '20 at 21:18
  • Thank you for your prompt reply. I have tried checking for an update, seems that they have but I don't get that update when I do "pod update". I have changed at my end but this goes to Jenkins, and jenkins would do a fresh install of the pods everytime. So, jenkins build is crashing because of this error. – Vivek Karthik Jun 16 '20 at 21:25
  • you can try specifying an exact version of the pod – Antoni Silvestrovič Jun 17 '20 at 09:14

0 Answers0