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

(v3.0)Demo: no such module realm #1460

Closed
Huang-Libo opened this issue Sep 18, 2016 · 9 comments
Closed

(v3.0)Demo: no such module realm #1460

Huang-Libo opened this issue Sep 18, 2016 · 9 comments

Comments

@Huang-Libo
Copy link

I have downloaded the latest version on master branch, I want to run the iOS demo on iOS10 (use Xcode8),but I get an error: no such module realm,how can I fix this problem ?

@Huang-Libo Huang-Libo changed the title no such module realm (v3.0)no such module realm Sep 18, 2016
@Huang-Libo Huang-Libo changed the title (v3.0)no such module realm (v3.0)Demo: no such module realm Sep 18, 2016
@danielgindi
Copy link
Collaborator

Xcode 8?

@leejayID
Copy link

I also met the same problem

@Huang-Libo
Copy link
Author

@danielgindi
yes, Xcode 8, Production Release

@jayvenn
Copy link

jayvenn commented Sep 18, 2016

Same problem

@liuxuan30
Copy link
Member

liuxuan30 commented Sep 19, 2016

according to #1422, to run ChartsDemo,

anything realm based will need a carthage bootstrap. everything else should work as before

@danielgindi
We shall update README or better ways? I will guess people will complain this..

@shenyufei
Copy link

shenyufei commented Sep 19, 2016

So is there any way I can use it in swift 3.0? For example, pull a branch?
Because I am a novice, can you write it,
for example, (github "danielgindi / Charts" ~> 2.2.5, swift 3.0),
how to write in pods, I can use charts in swift3.0

@Huang-Libo
Copy link
Author

Huang-Libo commented Sep 19, 2016

@shenyufei
v3.0 with swift-3.0 hasn't been released, so there do not have Charts-v3.0 in pod. Anyway, you can force pod to download Charts' master branch like this:

pod 'Charts', :git => 'https://github.com/danielgindi/Charts.git', :branch => 'master'

However, it just has many issues with this method, so the best way to use v3.0 is just to clone the repository to your mac and then drag Charts.xcodeproj to your project.

@liuxuan30
Copy link
Member

if you need Realm, you need to run 'carthage bootstrap'

@danielgindi
Copy link
Collaborator

The README states that you should "Run carthage checkout in the project folder, to fetch dependencies (i.e Realm).".

You do not have to do that if you don't need Realm.

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

6 participants