require "json" package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) Pod::Spec.new do |s| s.name = "RNGeetestSensebot" s.version = package["version"] s.summary = "react native for geetest sensebot." s.description = package["description"] s.license = package["license"] s.author = { package["author"] => "g592842897@gmail.com" } s.homepage = package["homepage"] s.source = { :git => package["repository"]["url"], :tag => package["version"] } s.requires_arc = true s.platform = :ios, "8.0" s.source_files = "ios/RCTGeetestSensebot.{h,m}", "ios/Helper/*.{h,m}" s.vendored_frameworks = "ios/SDK/GT3Captcha.framework" s.resource = "ios/SDK/GT3Captcha.bundle" s.framework = "JavaScriptCore", "WebKit" end