Pod::Spec.new do |s| s.name = 'ReCaptcha' s.version = '0.3.0' s.summary = 'ReCaptcha for iOS' s.description = <<-DESC Add Google's [Invisible ReCaptcha](https://developers.google.com/recaptcha/docs/invisible) to your project. This library automatically handles ReCaptcha's events and retrieves the validation token or notifies you to present the challenge if invisibility is not possible. DESC s.homepage = 'https://github.com/fjcaetano/ReCaptcha' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'Flávio Caetano' => 'flavio@vieiracaetano.com' } s.source = { :git => 'https://github.com/fjcaetano/ReCaptcha.git', :tag => s.version.to_s } s.social_media_url = 'https://twitter.com/flavio_caetano' s.ios.deployment_target = '8.0' s.default_subspecs = 'Core' s.subspec 'Core' do |core| core.source_files = 'ReCaptcha/Classes/*' core.frameworks = 'WebKit' core.dependency 'Result', '~> 3.0' core.resource_bundles = { 'ReCaptcha' => ['ReCaptcha/Assets/**/*'] } end s.subspec 'RxSwift' do |rx| rx.source_files = 'ReCaptcha/Classes/Rx/**/*' rx.dependency 'ReCaptcha/Core' rx.dependency 'RxSwift', '~> 3.0' end end