Podfile
2.05 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
platform :ios, '9.0'
use_frameworks!
source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git'
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
#source 'https://cdn.cocoapods.org'
target 'CNLiveScioLive' do
#pod 'mob_sharesdk', '~> 4.1.4'
#QQ
#pod 'mob_sharesdk/ShareSDKPlatforms/QQ'
#微博
#pod 'mob_sharesdk/ShareSDKPlatforms/SinaWeibo'
#微信
#pod 'mob_sharesdk/ShareSDKPlatforms/WeChatFull'
pod 'SDWebImage/GIF'
pod 'SDWebImage', '~> 4.0.0'
pod 'AFNetworking'#, '~> 3.1.0'
pod 'YYKit', '~> 1.0.9'
pod 'MJRefresh', '~> 3.1.12'
pod 'Masonry', '~> 1.0.2'
pod 'WebViewJavascriptBridge', '~> 6.0.3'
pod 'MJExtension'
pod 'IQKeyboardManager'
pod 'SVProgressHUD'
pod 'MBProgressHUD'
pod 'TYAttributedLabel', '~> 2.6.2'
pod 'FMDB'
pod 'AvoidCrash', '~> 2.5.2'
pod 'BaiduMobStatCodeless'
pod 'QMUIKit'
#基础请求组件库
pod 'CNLiveRequestBastKit'
#####zx改
pod 'CNLiveSDKs/CNLiveStat'
pod 'CNLiveSDKs/CNLiveUserSystemSDK'
pod 'CNLiveSDKs/CNLivePlayerSDK'
#依赖三方私有库,如果里面有.a的时候加上这个
pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
############################################ #删除WebViewJavascriptBridge中的WebViewJavascriptBridge.h和WebViewJavascriptBridge.m文件
dir_web = File.join(installer.sandbox.pod_dir('WebViewJavascriptBridge'), 'WebViewJavascriptBridge')
Dir.foreach(dir_web) {|x|
real_path = File.join(dir_web, x)
if (!File.directory?(real_path) && File.exists?(real_path))
if(x == 'WebViewJavascriptBridge.h' || x == 'WebViewJavascriptBridge.m')
File.delete(real_path)
end
end
}
#删除WebViewJavascriptBridge中的WebViewJavascriptBridge.h和WebViewJavascriptBridge.m文件
#################################################
end
end