-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMCPlayerKit.podspec
More file actions
43 lines (35 loc) · 1.56 KB
/
MCPlayerKit.podspec
File metadata and controls
43 lines (35 loc) · 1.56 KB
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
Pod::Spec.new do |s|
s.name = "MCPlayerKit"
s.version = "0.2.3"
s.summary = "MCPlayerKit is iOS Player, PlayerCoreType: AVPlayer can use play some video, IJKPlayer type can play video, Live ..."
s.homepage = "https://github.com/poholo/MCPlayerKit"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "littleplayer" => "mailjiancheng@163.com" }
s.social_media_url = "https://weibo.com/lp927"
s.requires_arc = true
s.platform = :ios, "10.0"
s.source = { :git => "https://github.com/poholo/MCPlayerKit.git", :tag => "#{s.version}" }
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'SDK/PlayerKit/*.{h,m,mm}',
'SDK/PlayerKit/**/*.{h,m,mm}'
core.dependency 'MCIJKPlayer'
core.dependency 'GCDMulticastDelegate'
end
s.subspec 'GeneralPlayerUI' do |general|
general.source_files = 'SDK/GeneralPlayerUI/**/*.{h,m,mm}',
'SDK/GeneralPlayerUI/*.{h,m,mm}',
'SDK/Commen/*.{h,m,mm}'
general.dependency 'MCPlayerKit/Core'
general.dependency 'MCVersion'
general.dependency 'MCStyle'
general.dependency 'MCBase'
general.dependency 'SDWebImage'
end
s.pod_target_xcconfig = {
'OTHER_LDFLAGS' => '-lz'
}
s.static_framework = true
s.libraries = 'bz2', 'z', 'c++'
s.frameworks = ["UIKit", "Foundation", "VideoToolbox", "QuartzCore", "OpenGLES", "MobileCoreServices", "MediaPlayer", "CoreVideo", "CoreMedia", "CoreGraphics", "AVFoundation", "AudioToolbox"]
end