Snapkit Package added but XCode cannot find the charts

It's about importing the package dependencies Snapkit. The Add Packages added it correctly as per screenshot, but if I want to reference the chart like this..

`// Line Chart

            LineChartView(data: clickData, title: "Clicks per Day", legend: "Daily Clicks")
                .padding()

It got me some error /Main View/AffiliateViewController.swift:59:17 Cannot find 'LineChartView' in scope ` Here is how the Snapkit sits in XCode. Do I need to add something more like dependencies so that Xcode does not flag it as cannot find?

Answered by moranterianwer231 in 822625022

I found a solution via https://stackoverflow.com/questions/59405671/ios-cocoapods-requires-your-terminal-to-be-using-utf-8-encoding-after-latest

I ended up just typing in export LANG=en_US.UTF-8 on Terminal (you don't have to open the files .zshrs, .profile etc .). Then pod install went ok and finally the charts have been installed

Accepted Answer

I found a solution via https://stackoverflow.com/questions/59405671/ios-cocoapods-requires-your-terminal-to-be-using-utf-8-encoding-after-latest

I ended up just typing in export LANG=en_US.UTF-8 on Terminal (you don't have to open the files .zshrs, .profile etc .). Then pod install went ok and finally the charts have been installed