RNGeetestSensebot.podspec 872B

12345678910111213141516171819202122
  1. require 'json'
  2. package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
  3. Pod::Spec.new do |s|
  4. s.name = 'RNGeetestSensebot'
  5. s.version = package['version']
  6. s.summary = package['description']
  7. s.description = package['description']
  8. s.license = package['license']
  9. s.author = { package['author'] => 'g592842897@gmail.com' }
  10. s.homepage = package['homepage']
  11. s.source = { :git => package['repository']['url'], :tag => package['version'] }
  12. s.requires_arc = true
  13. s.platform = :ios, '8.0'
  14. s.source_files = 'ios/RCTGeetestSensebot.{h,m}', 'ios/Helper/*.{h,m}'
  15. s.vendored_frameworks = 'ios/SDK/GT3Captcha.framework'
  16. s.resource = 'ios/SDK/GT3Captcha.bundle'
  17. s.framework = 'JavaScriptCore', 'WebKit'
  18. end