-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathPodfile
More file actions
41 lines (36 loc) · 1.34 KB
/
Podfile
File metadata and controls
41 lines (36 loc) · 1.34 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
source 'https://cdn.cocoapods.org/'
use_frameworks!
platform :ios, '14.0'
target 'TUILiveKitApp' do
# UI Library
pod 'SnapKit'
pod 'Kingfisher'
# Tools Library
pod 'Alamofire'
# Local Library
pod 'TUILiveKit', :path => '../TUILiveKit'
pod 'AtomicX', :path => '../atomicX'
pod 'RTCCommon', '>= 1.3.3'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
config.build_settings['GENERATE_INFOPLIST_FILE'] = "NO"
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
end
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