-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
ZFPlayer.podspec
51 lines (45 loc) · 2.12 KB
/
ZFPlayer.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
49
50
51
#
# Be sure to run `pod lib lint ZFPlayer.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'ZFPlayer'
s.version = '4.1.4'
s.summary = 'A good player made by renzifeng'
s.homepage = 'https://github.com/renzifeng/ZFPlayer'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'renzifeng' => '[email protected]' }
s.source = { :git => 'https://github.com/renzifeng/ZFPlayer.git', :tag => s.version.to_s }
s.social_media_url = 'http://weibo.com/zifeng1300'
s.ios.deployment_target = '8.0'
s.requires_arc = true
s.static_framework = true
s.default_subspec = 'Core'
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.subspec 'Core' do |core|
core.source_files = 'ZFPlayer/Classes/Core/**/*'
core.public_header_files = 'ZFPlayer/Classes/Core/**/*.h'
core.frameworks = 'UIKit', 'MediaPlayer', 'AVFoundation'
end
s.subspec 'ControlView' do |controlView|
controlView.source_files = 'ZFPlayer/Classes/ControlView/**/*.{h,m}'
controlView.public_header_files = 'ZFPlayer/Classes/ControlView/**/*.h'
controlView.resource = 'ZFPlayer/Classes/ControlView/ZFPlayer.bundle'
controlView.dependency 'ZFPlayer/Core'
end
s.subspec 'AVPlayer' do |avPlayer|
avPlayer.source_files = 'ZFPlayer/Classes/AVPlayer/**/*.{h,m}'
avPlayer.public_header_files = 'ZFPlayer/Classes/AVPlayer/**/*.h'
avPlayer.dependency 'ZFPlayer/Core'
end
s.subspec 'ijkplayer' do |ijkplayer|
ijkplayer.source_files = 'ZFPlayer/Classes/ijkplayer/*.{h,m}'
ijkplayer.public_header_files = 'ZFPlayer/Classes/ijkplayer/*.h'
ijkplayer.dependency 'ZFPlayer/Core'
ijkplayer.dependency 'IJKMediaFramework'
end
end