25 lines
685 B
Ruby
25 lines
685 B
Ruby
require "json"
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
version = package['version']
|
|
source = { :git => 'https://github.com/okta/okta-oidc-js.git' }
|
|
source[:tag] = "@okta/okta-react-native@#{version}"
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = package['podname']
|
|
s.version = version
|
|
s.summary = package['description']
|
|
s.license = package['license']
|
|
|
|
s.authors = package['author']
|
|
s.homepage = package['homepage']
|
|
s.platform = :ios, "11.0"
|
|
|
|
s.source = source
|
|
s.source_files = 'ios/**/*.{h,m,swift}', 'packages/okta-react-native/ios/**/*.{h,m,swift}'
|
|
|
|
s.dependency 'React'
|
|
s.dependency "OktaOidc"
|
|
end
|
|
|