Charts icon indicating copy to clipboard operation
Charts copied to clipboard

Cannot find type 'BarChartView' in scope xcode 14.0.1

Open MohanNB opened this issue 2 years ago • 5 comments
trafficstars

[i'm](u Screenshot 2022-12-14 at 10 36 02 PM rl) facing issue Charts adding on viewcontroller .

i have installed pod file in xcode 14.0.1 sample app . try use barChart using storyboard .

get this issue "Cannot find type 'BarChartView' in scope"

how to solve it

Charts Environment

Charts version/Branch/Commit Number: 14.0.1 5.6 ios:

MohanNB avatar Dec 14 '22 17:12 MohanNB

Same issue .. Any Help?

Magy-Elias avatar Jan 03 '23 12:01 Magy-Elias

same here

diegopereiraeng avatar Jan 27 '23 04:01 diegopereiraeng

any help?

ZacYoutube avatar Feb 03 '23 03:02 ZacYoutube

#4845

waterskier2007 avatar Feb 07 '23 13:02 waterskier2007

For me the problem disappear when I added manually Charts in Target Libraries (Tested only with Mac os Ventura, XCode 14.3 and Charts 4.1.0)

Choose the project root, in Targets choose your target. Then choose General tab -> Frameworks, Libraries and Embedded Content -> + button. Add Charts (Don't add Charts Dynamic to target, it's not necessary for compile and produce this dependency problem https://github.com/danielgindi/Charts/issues/4769)

eandflores avatar Apr 14 '23 05:04 eandflores

Closed by #4845

pmairoldi avatar Jun 07 '23 03:06 pmairoldi