-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathPodfile
118 lines (98 loc) · 3.75 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '13.0'
inhibit_all_warnings!
#plugin 'cocoapods-pod-sign'
#skip_pod_bundle_sign # 用来跳过Xcode对bundle资源的签名
def all_pods
# use_modular_headers!
use_frameworks!
# 网络层
pod 'AFNetworking', '4.0.1'
# 布局
pod 'Masonry', '1.1.0'
# tips
pod 'SVProgressHUD', '2.2.5'
# 加载图片
pod 'SDWebImage', '5.0.6'
# Model
pod 'YYModel', '1.0.4'
pod 'YYCategories', '1.0.4'
#弹框
pod 'LEEAlert', '1.6.4'
#滚动视图
pod 'JXCategoryView', '1.6.1'
# 火山美颜
pod 'bytedEffect', :path => 'bytedEffect.podspec'
# 商汤美颜
pod 'SenseLib', :path => 'sense.podspec'
# 相芯美颜
pod 'fuLib', :path => 'fu.podspec'
#相芯美颜(资源动态下发)
#pod 'FURenderKit', :path => 'FURenderKit.podspec'
pod 'AgoraSyncManager', '~> 2.1.7'
# pod 'AgoraRtcEngine_Special_iOS', :path => 'AgoraRtcEngine_iOS.podspec'
pod 'AgoraRtcEngine_Special_iOS', '4.3.2.4'
# pod 'AgoraRtm', '2.2.1'
pod 'AgoraRtm', :path => 'AgoraRtm.podspec'
pod 'AudioScenarioApi', :path => 'AgoraEntScenarios/Common/API/AudioScenarioApi'
pod 'RTMSyncManager', :path => 'AgoraEntScenarios/Common/API/RTMSyncManager'
pod 'AGResourceManager', :path => 'AgoraEntScenarios/Common/API/AGResourceManager'
pod 'CallAPI', :path => 'AgoraEntScenarios/Common/API/CallAPI'
pod 'VideoLoaderAPI', :path => 'AgoraEntScenarios/Common/API/VideoLoaderAPI'
pod 'Pure1v1', :path => 'AgoraEntScenarios/Scenes/Pure1v1'
pod 'ShowTo1v1', :path => 'AgoraEntScenarios/Scenes/ShowTo1v1'
pod 'Cantata', :path => 'AgoraEntScenarios/Scenes/Cantata'
pod 'AgoraCommon', :path => 'AgoraEntScenarios'
pod 'Joy', :path => 'AgoraEntScenarios/Scenes/Joy'
pod 'SocketRocket', '0.7.0'
pod 'Agora-Scene-Utils', '1.1.0'
#歌词组件
pod "ScoreEffectUI", '1.0.2'
pod 'AgoraLyricsScore', '1.1.6.1'
# pod 'AgoraLyricsScore', :git => 'https://github.com/AgoraIO-Community/LrcView-iOS.git', :commit => 'cc0951f11f5fa6113ec2b9df2a509efa881d5bd7'
# pod 'AgoraLyricsScore', :path => '../../AgoraLyricsScore/AgoraLyricsScore.podspec'
pod 'Zip'
pod 'MJRefresh'
# Swift Code Formatter
# pod 'SwiftFormat/CLI'
#VoiceChatRoom rely
pod 'ZSwiftBaseLib', '0.1.6.2'
pod 'SnapKit'
pod 'SVGAPlayer'
pod 'KakaJSON'
pod 'Agora_Chat_iOS', '1.0.8'
pod 'SwiftyBeaver', '1.9.5'
pod 'Protobuf', '3.22.1'
pod 'SwiftProtobuf'
# pod 'LookinServer', :subspecs => ['Swift'], :configurations => ['Debug']
#bugly
pod 'Bugly','2.6.1'
#pod 'HXPhotoPicker/Picker/Lite'
end
target 'AgoraEntScenarios' do
all_pods
end
post_install do |installer|
# 拷贝 pre-commit 文件到 .git/hooks/ 目录下
system("cp -f #{File.expand_path('..', Dir.pwd)}/.github/hooks/pre-commit #{File.expand_path('..', Dir.pwd)}/.git/hooks/")
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
config.build_settings['ENABLE_BITCODE'] = 'NO'
# 为每个配置添加 `-fstack-protector`
# config.build_settings['OTHER_CFLAGS'] ||= ['$(inherited)']
# config.build_settings['OTHER_CFLAGS'] << '-fstack-protector'
shell_script_path = "Pods/Target Support Files/#{target.name}/#{target.name}-frameworks.sh"
if File::exist?(shell_script_path)
shell_script_input_lines = File.readlines(shell_script_path)
shell_script_output_lines = shell_script_input_lines.map { |line| line.sub("source=\"$(readlink \"${source}\")\"", "source=\"$(readlink -f \"${source}\")\"") }
File.open(shell_script_path, 'w') do |f|
shell_script_output_lines.each do |line|
f.write line
end
end
end
end
end
end
system("./libs/setup_podspec.sh")