Skip to content

Commit b0d3e41

Browse files
committed
Add podspec
1 parent 8d1eb37 commit b0d3e41

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

react-native-webgl.podspec

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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 = package['name']
7+
s.version = package['version']
8+
s.summary = package['description']
9+
s.homepage = 'https://github.com/react-community/react-native-webgl'
10+
s.license = package['license']
11+
s.author = package['author']
12+
s.source = { :git => 'https://github.com/react-community/react-native-webgl.git', :tag => "v#{package['version']}" }
13+
s.requires_arc = true
14+
s.platform = :ios, '10.0'
15+
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
16+
s.source_files = 'ios/*.{h,m}','cpp/*.{h,c,cpp,mm}'
17+
s.framework = 'OpenGLES'
18+
s.dependency 'GPUImage'
19+
s.dependency 'React'
20+
end

0 commit comments

Comments
 (0)