-
-
Notifications
You must be signed in to change notification settings - Fork 102
/
Podfile
156 lines (117 loc) · 3.43 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
workspace 'StrongBox'
use_frameworks!
abstract_target 'common-mac' do
project 'macbox/MacBox.xcodeproj'
platform :osx, '12.0'
pod 'SwiftCBOR'
target 'Mac-Freemium' do
pod 'GoogleAPIClientForREST/Drive'
pod 'GoogleSignIn'
pod 'ObjectiveDropboxOfficial'
end
target 'Mac-Pro' do
pod 'GoogleAPIClientForREST/Drive'
pod 'GoogleSignIn'
pod 'ObjectiveDropboxOfficial'
end
target 'Mac-Unified-Freemium' do
pod 'GoogleAPIClientForREST/Drive'
pod 'GoogleSignIn'
pod 'ObjectiveDropboxOfficial'
end
target 'Mac-Unified-Pro' do
pod 'GoogleAPIClientForREST/Drive'
pod 'GoogleSignIn'
pod 'ObjectiveDropboxOfficial'
end
target 'Mac-Graphene' do
end
target 'Mac-Business' do
pod 'GoogleAPIClientForREST/Drive'
pod 'GoogleSignIn'
pod 'ObjectiveDropboxOfficial'
end
target 'Mac-Freemium-AutoFill' do
end
target 'Mac-Unified-Freemium-AutoFill' do
end
target 'Mac-Unified-Pro-AutoFill' do
end
target 'Mac-Pro-AutoFill' do
end
target 'Mac-Graphene-AutoFill' do
end
target 'Mac-Business-AutoFill' do
end
end
abstract_target 'common-ios' do
project 'Strongbox.xcodeproj'
platform :ios, '15.0'
pod 'SwiftCBOR'
target 'Strongbox-iOS' do
pod 'ISMessages'
pod 'ObjectiveDropboxOfficial'
pod 'GoogleAPIClientForREST/Drive'
pod 'GoogleSignIn'
end
target 'Strongbox-iOS-Pro' do
pod 'ISMessages'
pod 'ObjectiveDropboxOfficial'
pod 'GoogleAPIClientForREST/Drive'
pod 'GoogleSignIn'
end
target 'Strongbox-iOS-Business' do
pod 'ISMessages'
pod 'ObjectiveDropboxOfficial'
pod 'GoogleAPIClientForREST/Drive'
pod 'GoogleSignIn'
end
target 'Strongbox-iOS-SCOTUS' do
pod 'ISMessages'
end
target 'Strongbox-iOS-Graphene' do
pod 'ISMessages'
end
target 'Strongbox-Auto-Fill' do
end
target 'Strongbox-Auto-Fill-Pro' do
end
target 'Strongbox-Auto-Fill-Business' do
end
target 'Strongbox-Auto-Fill-SCOTUS' do
end
target 'Strongbox-Auto-Fill-Graphene' do
end
end
# XCode 14 issue...
# From: https://github.com/fastlane/fastlane/issues/20670
# Also: https://support.bitrise.io/hc/en-us/articles/4406551563409-CocoaPods-frameworks-signing-issue
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
# Fix XCode 14.3 Issue
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
# Fix XCode 15 issues
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
end
end
end