-
Notifications
You must be signed in to change notification settings - Fork 2.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
The source_files
pattern did not match any file.
#9479
Comments
Probably worth going through the tutorial at https://guides.cocoapods.org/making/using-pod-lib-create and then adapting your project accordingly. |
The error clear states that nothing in your glob matches any source files. |
This is the file structure of https://github.com/uber/mockolo.git. I've added :flatten => true to the s.source (since it's a zip file), besides s.source_files = 'Sources/MockoloFramework/**/*.swift', which should be the correct structure, but still getting the same error.
|
I am starting to think this is best asked in StackOverflow instead as this does not appear to be a CocoaPods library issue. |
It's possible you need to set your glob to |
Actually tried pod spec lint with :flatten again and it seems to be resolved now. |
Trying to add source_files per below throws an error. Note that the source is a link to a .zip file.
Here's the spec (also see https://github.com/uber/mockolo/blob/master/MockoloFramework.podspec).
If I don't specify source_files, I can run 'pod install' successfully in a sample project using it, but importing the module MockoloFramework fails with "No such module 'MockoloFramework''.
Here's pod env:
➜ SomeTest git:(master) pod env
Stack
Installation Source
Plugins
Podfile
The text was updated successfully, but these errors were encountered: