RNLGeetestSensebot.podspec 870B

123456789101112131415161718192021
  1. require 'json'
  2. package_json = JSON.parse(File.read(File.join(__dir__, 'package.json')))
  3. Pod::Spec.new do |s|
  4. s.name = 'RNLGeetestSensebot'
  5. s.version = package_json["version"]
  6. s.author = { package_json['author']['name'] => package_json['author']['email'] }
  7. s.license = { :type => package_json['license'] }
  8. s.homepage = package_json['homepage']
  9. s.source = { :git => package_json['repository']['url'], :tag => "v#{package_json['version']}" }
  10. s.summary = package_json['description']
  11. s.platform = :ios, '8.0'
  12. s.source_files = 'ios/RNLGeetestSensebot.{h,m}'
  13. s.vendored_frameworks = 'ios/SDK/GT3Captcha.framework'
  14. s.resource = 'ios/SDK/GT3Captcha.bundle'
  15. s.framework = 'JavaScriptCore', 'WebKit'
  16. s.dependency 'React'
  17. end