require 'json' package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) Pod::Spec.new do |s| s.name = 'RNTAztecView' s.version = package['version'] s.summary = 'Aztec editor for React Native' s.license = 'MIT' s.homepage = 'https://github.com/bboy114crew/base-rn-aztec' s.authors = { package["author"]["name"] => package["author"]["email"] } s.source = { :git => 'https://github.com/bboy114crew/base-rn-aztec' } s.source_files = 'ios/RNTAztecView/*.{h,m,swift}' s.public_header_files = 'ios/RNTAztecView/*.h' s.requires_arc = true s.platforms = { :ios => "9.0", :tvos => "9.0" } s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' } s.swift_versions = ['3.2', '4.0', '4.2','5.0'] s.dependency 'React' end