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

Issue with Realm #2195

Closed
kimdv opened this issue Feb 23, 2017 · 5 comments
Closed

Issue with Realm #2195

kimdv opened this issue Feb 23, 2017 · 5 comments

Comments

@kimdv
Copy link

kimdv commented Feb 23, 2017

I try to use the Realm part of Chart, but I get this error when I tries to install the pods:

Update all pods
Updating local specs repositories
Analyzing dependencies
[!] Unable to satisfy the following requirements:

- `RealmSwift (~> 2.4.3)` required by `Podfile`
- `RealmSwift (~> 1.1)` required by `Charts/Realm (3.0.1)`

My pod file

# Uncomment the next line to define a global platform for your project
# platform :ios, '10.0'

target 'MyProjectName' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for MyProjectName


  pod 'Realm', '~> 2.4.3'
  pod 'RealmSwift', '~> 2.4.3'

  pod 'Charts/Realm', '~> 3.0.1'
end
@pmairoldi
Copy link
Collaborator

That's because 'Charts/Realm' uses 1.1. This should be updated. If you don't need realm 2 features simply remove the 'Realm' and 'RealmSwift' from your podifle and it should work

@kimdv
Copy link
Author

kimdv commented Feb 24, 2017

I should be updated then, because I uses a lot of the new features.

@pmairoldi
Copy link
Collaborator

You can always send a pull request updating realm for charts. I'll gladly review it!

@kimdv
Copy link
Author

kimdv commented Feb 24, 2017

#2199

@pmairoldi
Copy link
Collaborator

closed since it was addressed by #2199

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