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 for 'RealmSwift' #2885

Closed
kishanravindra opened this issue Nov 20, 2015 · 7 comments
Closed

Cannot load underlying module for 'RealmSwift' #2885

kishanravindra opened this issue Nov 20, 2015 · 7 comments
Labels

Comments

@kishanravindra
Copy link

No description provided.

@mrackwitz
Copy link
Contributor

Would you mind providing a bit more info to make it possible to help you?

@ataibarkai
Copy link

Seems to be an Xcode bug (?)

To get it running, make sure you build+run the project before installing Realm using cocoapods.

My specs:
-Swift project
-OS X 10.11.1 (El Capitan)
-Xcode 7.1.1
-Cocoapods 0.39.0
-Realm 0.96.2

@realm-ci realm-ci removed the pending label Dec 3, 2015
@jpsim jpsim added the pending label Dec 4, 2015
@mrackwitz mrackwitz removed the pending label Dec 12, 2015
@mrackwitz
Copy link
Contributor

Hey @ataibarkai, I totally missed your latest comment.
What do you reference here / how do you mean that:

To get it running, make sure you build+run the project before installing Realm using cocoapods.

Were you able to get it working by building the project as a first step? That'd be really odd.

@ataibarkai
Copy link

Yes I was, odd indeed.

(Just to clarify:

  • New project -> add realm via cocoapods w/o building first -> open Xcode workspace -> build&run = failure
  • New project -> build&run -> add realm via cocoapods -> open Xcode workspace -> build&run again = success

Not sure what the reason is...)

@jpsim
Copy link
Contributor

jpsim commented Dec 12, 2015

Looks like #2701.

@jpsim
Copy link
Contributor

jpsim commented Dec 15, 2015

I'm fairly certain this is #2701 based on the information provided here, so I'm closing this one as a duplicate. This has been a long standing issue, so if anyone would like to take a crack at addressing it, we'd appreciate it!

@jpsim jpsim closed this as completed Dec 15, 2015
@Yakis
Copy link

Yakis commented Jan 10, 2016

Just Cmd + B (build), and errors will disapear. :) Worked at me.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants