Repository navigation
Expand file tree
/
Copy pathPodfile
More file actions
109 lines (82 loc) · 2.98 KB
/
Copy pathPodfile
File metadata and controls
109 lines (82 loc) · 2.98 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
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
platform :ios, '9.0'
inhibit_all_warnings!
use_frameworks!
workspace 'FULiveDemo.xcworkspace'
target 'FULiveDemo' do
# AutoLayout
pod 'Masonry', '1.1.0'
# 网络请求工具
pod 'AFNetworking', '4.0.1'
# 网络图片展示
pod 'SDWebImage', '5.13.1'
# 数据模型
pod 'YYModel', '1.0.4'
# 解压缩工具
pod 'SSZipArchive', '2.4.3'
pod 'FURenderKit', :path => 'FURenderKit/'
# pod 'FURenderKit_nama'
# pod 'FURenderKit_nama_Lite'
# pod 'FURenderKit_nama_FAUL'
# pod 'FURenderKit_nama_BAUL'
# pod 'FURenderKit_nama_FBFS'
# pod 'FURenderKit_nama_BSEG'
end
target 'FUBeautyComponent' do
project 'FUBeautyComponent/FUBeautyComponent.xcodeproj'
pod 'FURenderKit', :path => 'FURenderKit/'
# pod 'FURenderKit_nama'
# pod 'FURenderKit_nama_Lite'
# pod 'FURenderKit_nama_FAUL'
# pod 'FURenderKit_nama_BAUL'
# pod 'FURenderKit_nama_FBFS'
# pod 'FURenderKit_nama_BSEG'
end
target 'FUMakeupComponent' do
project 'FUMakeupComponent/FUMakeupComponent.xcodeproj'
pod 'FURenderKit', :path => 'FURenderKit/'
# pod 'FURenderKit_nama'
# pod 'FURenderKit_nama_Lite'
# pod 'FURenderKit_nama_FAUL'
# pod 'FURenderKit_nama_BAUL'
# pod 'FURenderKit_nama_FBFS'
# pod 'FURenderKit_nama_BSEG'
end
target 'FUGreenScreenComponent' do
project 'FUGreenScreenComponent/FUGreenScreenComponent.xcodeproj'
pod 'FURenderKit', :path => 'FURenderKit/'
# pod 'FURenderKit_nama'
# pod 'FURenderKit_nama_Lite'
# pod 'FURenderKit_nama_FAUL'
# pod 'FURenderKit_nama_BAUL'
# pod 'FURenderKit_nama_FBFS'
# pod 'FURenderKit_nama_BSEG'
end
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
config.build_settings['ENABLE_BITCODE'] = 'NO'
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
# Xcode 26+ SDK marks netinet6/in6.h as a private module header.
# netinet/in.h already provides the IPv6 types AFNetworking needs.
Dir.glob(File.join(__dir__, 'Pods', '**', '*.{m,mm}')).each do |file|
content = File.read(file)
next unless content.include?('#import <netinet6/in6.h>')
File.chmod(0644, file)
File.write(file, content.gsub("#import <netinet6/in6.h>\n", ''))
puts "[post_install] Removed private netinet6/in6.h import from #{file}"
end
end