-
-
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
'chartsample-Swift.h' file not found #87
Comments
You shouldn't create a Bridging header. |
Read the instructions again. |
Hi, thanks for your code.. I just convert the barLineChart to Swift version perfectly. But why for this line I keep hit the error? |
You should make sure you are using the latest Xcode. |
I'm having the same issue, I did not create a bridging header. Followed all steps correctly, any ideas? |
No need to create a bridging header. Xcode creates a bridging header when On Thu, May 21, 2015 at 6:02 PM, mmckinley8 notifications@github.com
|
@mmckinley8 , no need to create the header.. Just follow what @danielgindi wrote.as simple as that. trust me. :) |
I know, I said I did NOT create a bridging header. I followed all of the steps exactly, still failure to import bridging header..is this because I already had a bridging header in my project for other frameworks that I have imported? |
@mmckinley8 can you upload a screenshot so i can see? how about the build setting? |
Yeah, I will in a few minutes |
So since I am using swift, I do not to #import <ChartsDemo-Swift.>??? |
ChartsDemo-Swift.h |
If you are using Swift, you do not need a bridging header, and never have On Thu, May 21, 2015 at 6:26 PM, mmckinley8 notifications@github.com
|
Okay, now it just says Build Failed and doesn't give me any errors. |
And ChartsDemo-Swift.h is the bridging header for ChartsDemo project. Not On Thu, May 21, 2015 at 6:26 PM, Daniel Cohen Gindi danielgindi@gmail.com
|
"No such module 'Charts'" |
This project is using cocoapods, I don't think that should matter |
Hi @danielgindi very awesome work, I am creating a demo for test the library on swift (when is finished I could share over github the project because I noticed that many people ask for help on Swift), anyway, the project builds and runs ok (with no data, am still on that) but now I have the same Issue of @alfredangkasa Error with this line: xAxis.labelPosition = XAxisLabelPosition.Bottom Thanks in advance, and great work. |
Try to leave as it .Bottom and not XAxisLabelPosition.Bottom On Wed, May 27, 2015 at 7:29 PM, Benjamín Rivero notifications@github.com
|
Thanks, it Works!!! |
Hi |
Hi,
I already do :
I also create a .h file call ChartsDemo-Bridging-Header.h which contains :
import <Charts/Charts.h>
import "chartsample-Swift.h"
Whenever I build the apps, it give me this error :
import "chartsample-Swift.h"
Anything wrong? Thanks.
The text was updated successfully, but these errors were encountered: