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

Cannot load underlying module #388

Closed
aeves313 opened this issue Jan 7, 2017 · 4 comments
Closed

Cannot load underlying module #388

aeves313 opened this issue Jan 7, 2017 · 4 comments
Labels

Comments

@aeves313
Copy link

aeves313 commented Jan 7, 2017

New Issue Checklist

🚫 If this template is not filled out your issue will be closed with no comment. 🚫

  • [ x] I have looked at the Documentation
  • [ x] I have read the F.A.Q.
  • [x ] I have filled out this issue template.

Issue Info

Info Value
Platform iOS
Platform Version 8.2
SnapKit Version 3.1.2
Integration Method e.g. cocoapods

Issue Description

I can get the pods into the project without having a dialogue box for Swift conversion; however, when I try to create an import statement (import SnapKit), I get a red error stating "Cannot load underlying module for 'SnapKit'". As mentioned earlier, I'm using iOS and Xcode 8.2, so this may not have been reached yet.

@robertjpayne
Copy link
Member

@aeves313 have you:

  1. Cleared your DerrivedData folder ~/Library/Developer/Xcode/DerrivedData
  2. Ensured you are running latest version of Cocoapods
  3. Cleared your Pods cache and re-installed SnapKit?
  4. Cleaned and re-built your Xcode project?

Normally these integration issues is one of the above. If SnapKit is compiling fine into a .framework or .module on your system it's something to do with Xcode's build system or your integration method.

@aeves313
Copy link
Author

aeves313 commented Jan 7, 2017

@robertjpayne
I have done 2-4 many times, but the Derived Data approach was something I gave a try. Xcode still complains the same.

@robertjpayne
Copy link
Member

@aeves313 hm I'm not really sure what to do, I've not heard of anyone else having issues it's likely just something specific to your machine / Xcode etc…

@robertjpayne
Copy link
Member

Closing because I don't believe this is a SnapKit issue but rather an integration issue that is specific to dev machine/configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants