-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Demo Project: In BalloonMarker.swift : "Error: No such module 'charts' " XCode 6.4 #237
Comments
Can you provide more information? The demo project should be working anyway. There could be many reasons for Error: No such module 'charts'... you can search through the closed issues for possible reasons. |
Yeah that's what I thought. Since the demo project doesn't work, it's most likely a problem with my setup. However, I cannot think of anything I changed. I tried clean, and deleting the DerivedData folder. I will look at the closed issues. |
Alright so I fixed it. I tried a bunch of things together, and I'm not sure what did it. First, I moved the "Charts" folder into the "ChartsDemo" folder. Then I added ($SRCROOT) to the runpath search paths in the "linking" section in the build settings. Finally, I removed and re-added Charts in the "Target Dependencies" section in the build phases. |
I can confirm that adding ($SRCROOT) to the runpath search paths fixed it. |
I never played with ($SRCROOT) on my side, all defaults. Looks like you customized a lot of things... |
Haha yeah it looks like a one-off thing.
|
Adding ($SRCROOT) to runpath search paths definitely fixes this problem, thank you very much for creating this issue. |
you should copy the library to your project's dir and the pull the Charts.xcodeproj to your project . use "Embedded Binaries" to include the framework |
Just downloaded the library and tried compiling the demo project, ran into this error. I tried including the library in my project as per the instructions in the README, but I get the same problem.
The text was updated successfully, but these errors were encountered: