-
-
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
iOS 7 && Xcode 7.1.1 build not success, 'Charts' Module no found #560
Comments
You should add the code to your project, not the framework. iOS 7 does not support dynamic frameworks. |
I already add the code to my project |
So there shouldn't be any reference to "module" Charts, as it is part of בתאריך יום שישי, 20 בנובמבר 2015, TeehomHub notifications@github.com כתב:
|
In which file do you see that reference? בתאריך יום שישי, 20 בנובמבר 2015, TeehomHub notifications@github.com כתב:
|
So it's in your files... Try to remove it. You don't need it unless you set בתאריך יום שישי, 20 בנובמבר 2015, TeehomHub notifications@github.com כתב:
|
if i remove the @import Charts ,the BalloonMarker is error,Can't find BalloonMarker |
the [MyProjectName]-Swift is copy your demo swift file,is right? |
BalloonMarker is a part of the demo, not of the Charts framework. You can בתאריך יום שישי, 20 בנובמבר 2015, TeehomHub notifications@github.com כתב:
|
if i add the BalloonMarker, the BalloonMarker error in the swift file import Foundation |
Again, remove the import. בתאריך יום שישי, 20 בנובמבר 2015, TeehomHub notifications@github.com כתב:
|
i remove the import Charts,than the [MyProjectName]-Swift is error , |
can you write a sample for iOS 7 |
If you are targeting iOS 7, you should drag the whole Charts files into your project. Don't copy the balloon marker first. Properly set your build settings, like define modules, product name.. etc. If you are not sure, google it. Make sure you are good to compile, and able to create chart views. Balloon marker is not part of Chart framework, it's just a simple sub class of chartMarker, so if you want to use it, simply copy it into your project, just like what you have done for the Charts files. |
build iOS 7 && Xcode 7.1.1 is successful,but i did not use chart in the project. |
could you success build in iOS 7&& Xcode 7.1.1 and can use it successfully? |
Of cause, I need to support iOS 7. One thing at a step, don't mix up different issues. |
ok,i have successful build in iOS 7 and can use it successfully |
Can someone tell me how to compile in iOS 7. Which files should I copy. Which folder? What Build Phases or Embedded Libraries should I change? Thanks a lot! |
drag all the swift source files(such as the classes folder) into your project. Just treat them as .h + .m combined files. Also you need to turn on swift settings in build settings (module name, embedded swift content, etc). Try google, there is a lot info |
you can add new swift file in the project,and then would tips you add bridge file,and you comfier.And Then You go to Setting -> Objective-C Generated Interface Header Name ,and set the file as project'sName-Swift.h .And Than Your #Import project'sName-Swift.h at what you want use the Lib. |
And your drag all swift into Project,in first. |
iOS 7 && Xcode 7.1.1 build not success, 'Charts' Module no found
The text was updated successfully, but these errors were encountered: