Skip to content

Commit

Permalink
Add podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
poltak committed Nov 11, 2019
1 parent 6c9a377 commit 591e523
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ReactNativeShareExtension.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = "ReactNativeShareExtension"
s.version = package['version']
s.summary = package['description']
s.license = package['license']

s.authors = package['author']
s.homepage = package['repository']['url']
s.platform = :ios, "9.0"
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '10.0'

s.source = { :git => "https://github.com/WorldBrain/react-native-share-extension.git", :tag => "master" }
s.source_files = "ios/**/*.{h,m}"

s.dependency 'React'
end

0 comments on commit 591e523

Please sign in to comment.