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

Can't import "module-swift.h" #11

Closed
jorgefrazaocosta opened this issue Apr 3, 2015 · 6 comments
Closed

Can't import "module-swift.h" #11

jorgefrazaocosta opened this issue Apr 3, 2015 · 6 comments

Comments

@jorgefrazaocosta
Copy link

I try to import to one project (teste). When I build the "#import teste-Swift.h" can't be found, resulting in the "Cannot find protocol declaration for 'ChartViewDelegate'. What I'm doing wrong?

@jorgefrazaocosta
Copy link
Author

BTW, I'm using the Xcode 6.3 beta 4. And as Apple refer in their documentation, tihs import should work.

Naming Your Product Module

The name of the Xcode-generated header for Swift code, and the name of the Objective-C bridging header that Xcode creates for you, are generated from your product module name. By default, your product module name is the same as your product name.

I have checked over the Build Settings the Product Module Name.

@jorgefrazaocosta
Copy link
Author

I don't have added the BalloonMarker.swift so I didn't had the Swift Compiler. After add and configure the bridging-header everything Run fine. It only runs on 8.1 and above?

@danielgindi
Copy link
Collaborator

danielgindi commented Apr 4, 2015 via email

@jorgefrazaocosta
Copy link
Author

Are you sure? I tried in my project and with ChartsDemo and didn't work in any project.

@danielgindi
Copy link
Collaborator

danielgindi commented Apr 4, 2015 via email

@jorgefrazaocosta
Copy link
Author

No problem. Thanks for this amazing work. I also need to try some processes that I found on stackoverflow.

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

2 participants