-
Notifications
You must be signed in to change notification settings - Fork 419
/
BMPlayer.podspec
48 lines (39 loc) · 1.68 KB
/
BMPlayer.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Pod::Spec.new do |s|
s.name = "BMPlayer"
s.version = "1.3.3"
s.summary = "Video Player Using Swift, based on AVPlayer"
s.swift_versions = "5"
s.description = <<-DESC
Video Player Using Swift, based on AVPlayer, support for the horizontal screen, vertical screen, the upper and lower slide to adjust the volume, the screen brightness, or so slide to adjust the playback progress.
DESC
s.homepage = "https://github.com/BrikerMan/BMPlayer"
s.license = 'MIT'
s.author = { "Eliyar Eziz" => "[email protected]" }
s.source = { :git => "https://github.com/BrikerMan/BMPlayer.git", :tag => s.version.to_s }
s.social_media_url = 'http://weibo.com/536445669'
s.ios.deployment_target = '12.0'
s.platform = :ios, '12.0'
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
s.default_subspec = 'Full'
s.subspec 'Core' do |core|
core.frameworks = 'UIKit', 'AVFoundation'
core.source_files = 'Source/BMPlayerLayerView.swift'
end
s.subspec 'Full' do |full|
full.source_files = 'Source/*.swift','Source/Default/*'
full.resources = "Source/**/*.xcassets"
full.frameworks = 'UIKit', 'AVFoundation'
full.dependency 'BMPlayer/Core'
full.dependency 'SnapKit', '~> 5.7.1'
full.dependency 'NVActivityIndicatorView', '~> 4.7.0'
end
s.subspec 'CacheSupport' do |cache|
cache.source_files = 'Source/*.swift','Source/CacheSupport/*'
cache.resources = "Source/**/*.xcassets"
cache.frameworks = 'UIKit', 'AVFoundation'
cache.dependency 'BMPlayer/Core'
cache.dependency 'SnapKit', '~> 5.0.0'
cache.dependency 'NVActivityIndicatorView', '~> 4.7.0'
cache.dependency 'VIMediaCache'
end
end