forked from changsanjiang/SJVideoPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
74 lines (61 loc) · 2.57 KB
/
Podfile
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
source 'https://cdn.cocoapods.org/'
# Uncomment the next line to define a global platform for your project
platform :ios, '8.0'
#install! 'cocoapods', disable_input_output_paths: true, generate_multiple_pod_projects: true
#post_install do |installer|
# installer.pods_project.build_configuration_list.build_configurations.each do |configuration|
# configuration.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
# end
#end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 9.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
if config.name != 'Release'
if target.name == 'SJBaseVideoPlayer'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = '$(inherited) SJDEBUG'
end
end
end
end
# installer.pod_target_subprojects.each do |project|
# project.targets.each do |target|
# target.build_configurations.each do |config|
# if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 9.0
# config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
# end
# end
# end
# end
end
target 'SJVideoPlayer_Example' do
# use_frameworks!
## 切换为 ijkplayer, 详见: https://github.com/changsanjiang/SJVideoPlayer/wiki/Use-ijkplayer
# pod 'SJBaseVideoPlayer/IJKPlayer', :path => '../../SJBaseVideoPlayer'
#
## 切换为 Aliplayer, 详见: https://github.com/changsanjiang/SJVideoPlayer/wiki/Use-AliPlayer
# pod 'SJBaseVideoPlayer/AliPlayer', :path => '../../SJBaseVideoPlayer'
#
## 切换为 AliVodPlayer, 详见: https://github.com/changsanjiang/SJVideoPlayer/wiki/Use-AliVodPlayer
# pod 'SJBaseVideoPlayer/AliVodPlayer', :path => '../../SJBaseVideoPlayer'
#
## 切换为 PLPlayer, 详见: https://github.com/changsanjiang/SJVideoPlayer/wiki/Use-PLPlayerKit
# pod 'SJBaseVideoPlayer/PLPlayer', :path => '../../SJBaseVideoPlayer'
# 默认为 AVPlayer
pod 'SJBaseVideoPlayer'#, :path => '../../SJBaseVideoPlayer'
pod 'SJVideoPlayer', :path => '../../SJVideoPlayer'
pod 'SJUIKit', :podspec => 'https://gitee.com/changsanjiang/SJUIKit/raw/master/SJUIKit-YYModel.podspec'
# 边播边缓存的库
pod 'SJMediaCacheServer'
# 全屏手势
pod 'SJFullscreenPopGesture/ObjC'
# 列表控制
pod 'SJPlaybackListController'#, :path => '../../SJPlaybackListController'
pod 'Masonry', :inhibit_warnings => true
pod 'MJRefresh', :inhibit_warnings => true
pod 'SJRouter'
pod 'SDWebImage'
pod 'YYModel'
end