
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
  s.name         = "RNCouchbaseLite"
  s.version      = package['version']
  s.summary      = package['summary']
  s.description  = package['description']
  s.homepage     = package['repository']['url']
  s.license      = package['license']
  # s.license      = { :type => "MIT", :file => "FILE_LICENSE" }
  s.author       = package['author']
  s.platform     = :ios, "7.0"
  s.source       = { :git => "https://github.com/ZHoussemEddine/react-native-couchbaselite.git", :tag => "v#{s.version}" }
  s.source_files  = "ios/**/*.{h,m}"
  s.static_framework = true

  s.dependency "React"
  #s.dependency "others"

  s.ios.vendored_frameworks = "ios/CouchbaseLite.framework"

end

  