-
Notifications
You must be signed in to change notification settings - Fork 163
/
Podfile
47 lines (40 loc) · 1.26 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
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'
target 'GKDYVideo' do
use_frameworks!
pod 'AFNetworking'
pod 'SDWebImage'
pod 'SDWebImageWebPCoder'
pod 'Masonry'
pod 'YYModel'
pod 'GKNavigationBar'
pod 'GKVideoScrollView'
pod 'GKPageSmoothView'
pod 'GKSliderView'
pod 'GKPopupController'
pod 'MJRefresh'
pod 'JXCategoryView'
pod 'ZFPlayer/AVPlayer'
# 需要认证,不能免费使用了
# pod 'TXLiteAVSDK_Player' # 腾讯云播放器-独立播放器
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 < 11.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
excluded_archs = config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]']
excluded_archs = excluded_archs.nil? ? '' : excluded_archs
if !excluded_archs.include?('arm64')
excluded_archs = "#{excluded_archs} arm64"
end
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = excluded_archs
end
end
end