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

Objc Project with mixed swift code fails to build #21

Open
jfredric opened this issue May 28, 2018 · 0 comments
Open

Objc Project with mixed swift code fails to build #21

jfredric opened this issue May 28, 2018 · 0 comments

Comments

@jfredric
Copy link

jfredric commented May 28, 2018

I have an objc project with swift mixed in. When I try to import the framework to a swift file the build fails with the following error:

Include of non-modular header inside framework module

There are 4 errors on the following import statements:

#import <AutoCompletion/AutoCompletionTextFieldDataSource.h>
#import <AutoCompletion/AutoCompletionAnimator.h>
#import <AutoCompletion/AutoCompletionTextFieldDelegate.h>
#import <AutoCompletion/AutoCompletionTextField.h>

I've tried updating the building settings for "allow Non-modular includes..." to yes, to no success. I've updated cocoapods, and ran pod update and install. As well as deleting derived data. Has this issue been seen before. If I'm just missing something obvious, that would be great.

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

1 participant