18 lines
614 B
Ruby
18 lines
614 B
Ruby
require 'json'
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = package['name']
|
|
s.version = package['version']
|
|
s.summary = package['summary']
|
|
s.description = package['description']
|
|
s.author = package['author']['name']
|
|
s.license = package['license']
|
|
s.homepage = package['homepage']
|
|
s.source = { :git => 'https://github.com/SelfLender/react-native-biometrics.git', :tag => "#{s.version}" }
|
|
s.platform = :ios, '9.0'
|
|
s.source_files = 'ios/**/*.{h,m}'
|
|
s.dependency 'React'
|
|
end
|