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

Xcode error: Cannot call value of non-function type 'module<FileManager>'. What am I doing wrong? #23

Closed
bogdankosh opened this issue Nov 17, 2016 · 5 comments

Comments

@bogdankosh
Copy link

When I try to use FileBrowser and try to create FileBrowser as suggested in README like this: let fileBrowser = FileBrowser() I get an error: Cannot call value of non-function type 'module'. Importing FileBrowser gives a warning: File 'ViewController.swift' is part of module 'FileBrowser'; ignoring import. Am I missing something fundamentally important?

@marmelroy
Copy link
Owner

Hi @bogdankosh, I will need some more details to help. Did you install with Cocoapods / Carthage / manually? Which version of FileBrowser? What version of Swift does your app run (2.3 or 3.0)?

@bogdankosh
Copy link
Author

Hi, @marmelroy. FileBrowser v 0.2.0, installed with Cocoapods, Swift 3.0 (Xcode 8.1)

@marmelroy
Copy link
Owner

marmelroy commented Nov 17, 2016

Is your app's name FileBrowser? 🤔

Because that's what the error message suggests.

@bogdankosh
Copy link
Author

@marmelroy That's exactly what it is, tried with different name and it worked. Many thanks and really sorry to bother you with those dumb questions. Best of luck.

@marmelroy
Copy link
Owner

No worries 😄

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