Skip to content

Commit 267ac87

Browse files
committed
podspec for rn 60
1 parent 973862e commit 267ac87

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

YouTubeSdk.podspec

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
require 'json'
2+
3+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4+
5+
Pod::Spec.new do |s|
6+
s.name = 'YouTubeSdk'
7+
s.version = package['version']
8+
s.summary = package['description']
9+
s.description = package['description']
10+
s.homepage = package['homepage']
11+
s.license = package['license']
12+
s.author = package['author']
13+
s.source = { :git => 'https://github.com/srfaytkn/react-native-youtube-sdk.git', :tag => "master" }
14+
15+
s.platform = :ios, '9.0'
16+
s.ios.deployment_target = '9.0'
17+
18+
s.preserve_paths = 'LICENSE', 'package.json'
19+
s.source_files = 'ios/*.{h,m,swift}'
20+
s.dependency 'React'
21+
s.resources = ['assets/YTPlayerView.html']
22+
end

0 commit comments

Comments
 (0)