forked from jitsi/react-native-webrtc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
react-native-webrtc.podspec
24 lines (20 loc) · 1.07 KB
/
react-native-webrtc.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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['description']
s.homepage = 'https://github.com/react-native-webrtc/react-native-webrtc'
s.license = package['license']
s.author = 'https://github.com/react-native-webrtc/react-native-webrtc/graphs/contributors'
s.source = { :git => 'git@github.com:react-native-webrtc/react-native-webrtc.git', :tag => 'release #{s.version}' }
s.requires_arc = true
s.platform = :ios, '10.0'
s.preserve_paths = 'ios/**/*'
s.source_files = 'ios/**/*.{h,m}'
s.libraries = 'c', 'sqlite3', 'stdc++'
s.framework = 'AudioToolbox','AVFoundation', 'CoreAudio', 'CoreGraphics', 'CoreVideo', 'GLKit', 'VideoToolbox'
s.ios.vendored_frameworks = 'ios/WebRTC.framework'
s.xcconfig = { 'OTHER_LDFLAGS' => '-framework WebRTC' }
s.dependency 'React'
end