Charts icon indicating copy to clipboard operation
Charts copied to clipboard

Will Charts be compatible with iOS 16?

Open ivarvanwooning opened this issue 3 years ago • 7 comments

Apple is developing a Charts library with the same name as this repository. It is also imported using 'import Charts'. When iOS 16 is released, will we have an issue importing this library, since there is now an identical library included from Apple?

ivarvanwooning avatar Sep 15 '22 10:09 ivarvanwooning

O wow

sweetppro avatar Sep 15 '22 11:09 sweetppro

There is an issue with the imports as we are trying to use both chart libraries. Have you had any luck on a solution to this? @ivarvanwooning

treydin6 avatar Oct 07 '22 18:10 treydin6

@treydin6 No, I haven't yet.

ivarvanwooning avatar Oct 07 '22 19:10 ivarvanwooning

So as for now, Charts is not compatible with Xcode 14? Cause Apple introduces its chart library with the same name.

yveslym avatar Oct 11 '22 18:10 yveslym

Looks like it. Perhaps this will work? Changing the Pod name: https://stackoverflow.com/questions/28789807/how-to-rename-a-cocoapod

ivarvanwooning avatar Oct 11 '22 22:10 ivarvanwooning

How do we fix the import for this library? As I am using both iOS Charts and this library in my project and I am facing issue with iOS charts import due to this library name which I am using it using Swift package manager

priya-mobiquity avatar Jan 31 '23 07:01 priya-mobiquity

You have to pull the package into your project and rename it from Charts to whatever you like(DGCharts is what I named it). @priya-mobiquity i think you could review the stackoverflow post above and it might help achieve this. I am using both charts on an app thats published to the app store. Good luck!

treydin6 avatar Jan 31 '23 16:01 treydin6

Closed by #5027

pmairoldi avatar Mar 21 '23 02:03 pmairoldi