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

"No such module 'FuzzyMatchingSwift'" and no module map when building with Carthage #71

Open
martingjaldbaek opened this issue Apr 24, 2018 · 1 comment

Comments

@martingjaldbaek
Copy link

After building the framework with Carthage I get the error "No such module 'FuzzyMatchingSwift'" when I try to import the framework. I tried this in a fresh Xcode project (this is with Xcode 9.3) with no other frameworks in the Cartfile and the problem persists. If I run carthage update --verbose I can see that there is a warning:

=== BUILD TARGET FuzzyMatchingSwift-iOS OF PROJECT FuzzyMatchingSwift WITH CONFIGURATION Release ===

Check dependencies
warning: no umbrella header found for target 'FuzzyMatchingSwift-iOS', module map will not be generated

and when I look at the generated .framework in Carthage's build folder, it does indeed not have the Headers or Modules folders (or their contained .h and .modulemap files) that other generated frameworks get. So it looks like this is why Xcode cannot find the module - but I don't know Carthage well enough to be able to say how to fix this.

@seanoshea
Copy link
Owner

I can't say I have a lot of experience myself either with Carthage either - any ideas on how to fix this?

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