Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 8.1 is reporting 'No such Module 'Charts' & Build/Compilation Errors #1914

Closed
kzuik opened this issue Dec 3, 2016 · 3 comments
Closed

Comments

@kzuik
Copy link

kzuik commented Dec 3, 2016

Note: I've already referred to the following which did not solve my problem or help:
#1538
#1743

When I type, @import Charts into my .swift file, an error appears saying "No such module". Also, when I try to compile the code, there are 138 errors in Charts. I'm not very familiar with Mac or Xcode, as I've only been using them for a couple of months.

I added the Podfile which contains the following:

"platform :ios, "9.0"
use_frameworks!

target 'Zuiker-Final_Exam-12-2-16' do
pod 'Charts', '~> 2.1'
end"

I'm not sure what the 2.1 refers to in the Podfile. Does that need to be updated?

I added the charts framework to Embedded Binaries and seem to have followed all instructions up to that point correctly.

Any help would be appreciated.

capture2

capture3

capture

@kzuik kzuik changed the title Xcode 8.1 is reporting 'No such Module 'Charts' & Compilation Errors Xcode 8.1 is reporting 'No such Module 'Charts' & Build/Compilation Errors Dec 3, 2016
@liuxuan30
Copy link
Member

you should at least use latest code...

@hoyoung-jung
Copy link

I'm not sure if this was ever resolved or answered, but I am still getting this issue with the latest version of Charts on Xcode 9.3 and swift 4. I have followed the instructions directly from the README file, but still states that there are 'no such module Charts'. Any advice?

@JCMcLovin
Copy link
Contributor

@hoyoung-jung - I had the same problem and I resolved it by installing the library manually instead of using Cocoapods. Every once in a while I STILL get the same 'no such module Charts' error, but when I rebuild again it always goes away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants