forked from tlenclos/react-native-audio-streaming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RNAudioStreaming.podspec
26 lines (22 loc) · 935 Bytes
/
RNAudioStreaming.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
25
26
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "RNAudioStreaming"
s.version = package['version']
s.summary = package['description']
s.homepage = "https://github.com/tlenclos/react-native-audio-streaming"
s.license = package['license']
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => "v#{s.version}" }
s.default_subspec = 'Main'
s.requires_arc = true
s.platform = :ios, "7.0"
s.preserve_paths = "**/*.js"
s.subspec 'Main' do |ss|
ss.source_files = "ios/ReactNativeAudioStreaming.{h,m}"
ss.dependency 'RNAudioStreaming/StreamingKit'
end
s.subspec 'StreamingKit' do |ss|
ss.source_files = "ios/Pods/StreamingKit/StreamingKit/StreamingKit/**/*.{h,m}"
end
end