require 'json' package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) Pod::Spec.new do |s| s.name = 'react-native-apex-exocr' s.version = package['version'] s.summary = package['description'] s.license = package['license'] s.homepage = 'https://git.apexsoft.com.cn/react-native-component/react-native-apex-exocr' s.authors = 'linjson' s.source = { :git => 'https://git.apexsoft.com.cn/react-native-component/react-native-apex-exocr.git', :tag => "v#{s.version}" } s.source_files = 'ios/ReactNativeApexExocr/**/*.{h,m}' # s.resources = ['ios/sdk/*.{bundle,lic}'] s.libraries = 'c++' s.vendored_frameworks = 'ios/sdk/*.framework' s.requires_arc = true s.platform = :ios, "9.0" s.dependency 'React' s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' } end