require 'json' package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) Pod::Spec.new do |s| s.name = "react-native-sqlite-storage" s.version = package['version'] s.summary = package['description'] s.homepage = "https://github.com/andpor/react-native-sqlite-storage" s.license = package['license'] s.author = package['author'] s.source = { :git => "https://github.com/andpor/react-native-sqlite-storage.git", :tag => "#{s.version}" } s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.10' s.preserve_paths = 'README.md', 'LICENSE', 'package.json', 'sqlite.js' s.source_files = "platforms/ios/*.{h,m}" s.dependency 'React-Core' s.dependency 'SQLCipher' s.compiler_flags = ['-DSQLCIPHER=1', '-DSQLITE_HAS_CODEC=1'] end