-
Notifications
You must be signed in to change notification settings - Fork 21
/
StreamVideo.podspec
32 lines (26 loc) · 1.27 KB
/
StreamVideo.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
27
28
29
30
31
32
Pod::Spec.new do |spec|
spec.name = 'StreamVideo'
spec.version = '1.14.1'
spec.summary = 'StreamVideo iOS Video Client'
spec.description = 'StreamVideo is the official Swift client for Stream Video, a service for building video applications.'
spec.homepage = 'https://getstream.io/video/'
spec.license = { type: 'BSD-3', file: 'LICENSE' }
spec.author = { 'getstream.io' => 'support@getstream.io' }
spec.social_media_url = 'https://getstream.io'
spec.swift_version = '5.9'
spec.platform = :ios, '13.0'
spec.requires_arc = true
spec.framework = 'Foundation'
spec.module_name = spec.name
spec.source = { git: 'https://github.com/GetStream/stream-video-swift.git', tag: spec.version }
spec.source_files = ["Sources/#{spec.name}/**/*.swift"]
spec.exclude_files = ["Sources/#{spec.name}/**/*_Tests.swift", "Sources/#{spec.name}/**/*_Mock.swift"]
spec.dependency('SwiftProtobuf', '~> 1.18.0')
spec.vendored_frameworks = 'Frameworks/StreamWebRTC.xcframework'
spec.prepare_command = <<-CMD
mkdir -p Frameworks/
curl -sL "https://github.com/GetStream/stream-video-swift-webrtc/releases/download/114.5735.08/StreamWebRTC.zip" -o Frameworks/StreamWebRTC.zip
unzip -o Frameworks/StreamWebRTC.zip -d Frameworks/
rm Frameworks/StreamWebRTC.zip
CMD
end