Charts.podspec 920 B

123456789101112131415161718192021222324
  1. Pod::Spec.new do |s|
  2. s.name = "Charts"
  3. s.version = "2.2.5"
  4. s.summary = "Charts is a powerful & easy to use chart library for iOS, tvOS and OSX (and Android)"
  5. s.homepage = "https://github.com/danielgindi/Charts"
  6. s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
  7. s.authors = "Daniel Cohen Gindi", "Philipp Jahoda"
  8. s.ios.deployment_target = "8.0"
  9. s.tvos.deployment_target = "9.0"
  10. s.osx.deployment_target = "10.11"
  11. s.source = { :git => "https://github.com/danielgindi/Charts.git", :tag => "v#{s.version}" }
  12. s.default_subspec = "Core"
  13. s.prepare_command = "sed -i '' -e 's/import Charts//g' ChartsRealm/Classes/**/*.swift"
  14. s.subspec "Core" do |ss|
  15. ss.source_files = "Charts/Classes/**/*.swift"
  16. end
  17. s.subspec "Realm" do |ss|
  18. ss.source_files = "ChartsRealm/Classes/**/*.swift"
  19. ss.dependency "Charts/Core"
  20. ss.dependency "RealmSwift", "~> 0.97"
  21. end
  22. end