require 'json' package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) Pod::Spec.new do |s| s.name = 'RNRoam' s.version = package['version'] s.summary = 'React Native wrapper for Roam SDK' s.description = 'A React Native bridge module for the Roam iOS SDK to enable location tracking.' s.license = package['license'] s.author = package['author'] s.requires_arc = true s.platform = :ios, '10.0' # Required dummy values to satisfy CocoaPods s.homepage = 'http://example.com/RNRoam' s.source = { :git => 'http://example.com/RNRoam.git', :tag => s.version.to_s } s.preserve_paths = 'LICENSE', 'README.md', 'package.json', 'index.js' s.source_files = './*.{h,m}' s.dependency 'React' s.dependency 'roam-ios/Roam', '0.1.34' s.dependency 'roam-ios/RoamBatchConnector', '0.1.34' end