-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.yml
More file actions
253 lines (247 loc) · 7.11 KB
/
project.yml
File metadata and controls
253 lines (247 loc) · 7.11 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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
name: sample
configs:
Debug LOCAL: debug
Debug INET: debug
Production: release
options:
bundleIdPrefix: ru.sample
developmentLanguage: en
deploymentTarget:
iOS: 15.0
defaultConfig: Debug
preGenCommand: swiftgen
groupSortPosition: bottom
groupOrdering:
- order: [App, Core, Networking, UI]
packages:
Reusable:
url: https://github.com/AliSoftware/Reusable.git
from: 4.1.0
Dip:
url: https://github.com/AliSoftware/Dip
from: 7.1.1
DifferenceKit:
url: https://github.com/ra1028/DifferenceKit.git
from: 1.3.0
SnapKit:
url: https://github.com/SnapKit/SnapKit.git
from: 5.0.1
netfox:
url: https://github.com/kasketis/netfox.git
from: 1.21.0
Loady:
url: https://github.com/farshadjahanmanesh/loady.git
from: 1.0.8
SwiftMessages:
url: https://github.com/SwiftKickMobile/SwiftMessages
from: 10.0.0
ProgressHUD:
url: https://github.com/relatedcode/ProgressHUD.git
from: 14.1.3
Alamofire:
url: https://github.com/Alamofire/Alamofire.git
from: 5.9.1
AlamofireImage:
url: https://github.com/Alamofire/AlamofireImage.git
from: 4.3.0
PersistenceKit:
url: https://github.com/Teknasyon-Teknoloji/PersistenceKit.git
from: 1.4.0
CocoaLumberjack:
url: https://github.com/CocoaLumberjack/CocoaLumberjack.git
from: 3.8.0
netfox:
url: https://github.com/kasketis/netfox
from: 1.21.0
SwiftRichString:
url: https://github.com/malcommac/SwiftRichString.git
from: 3.5.0
SkeletonView:
url: https://github.com/Juanpe/SkeletonView.git
from: 1.7.0
targets:
sample:
templates:
- Application
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: ru.sample.ios
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon-sample
APPLICATION_TYPE: "sample"
BUNDLE_DISPLAY_NAME: "sample"
CODE_SIGN_ENTITLEMENTS: "App/Supporting Files/sample.entitlements"
configs:
Debug LOCAL:
CURRENT_SCHEME_NAME: "Debug-Local"
PRODUCT_NAME: sampledev
PROVISIONING_PROFILE_SPECIFIER: Wildcard
Debug INET:
CURRENT_SCHEME_NAME: "Debug-Inet"
PRODUCT_NAME: sampledev
PROVISIONING_PROFILE_SPECIFIER: Wildcard
Production:
CURRENT_SCHEME_NAME: "Production"
PRODUCT_NAME: sampleproduction
PROVISIONING_PROFILE_SPECIFIER: Wildcard
Core:
templates:
- Framework
settings:
base:
SWIFT_OBJC_BRIDGING_HEADER: "$(SRCROOT)/Core/Supporting Files/Bridging-Header.h"
SWIFT_OBJC_INTERFACE_HEADER_NAME: "Core-Swift.h"
sources: [Core]
dependencies:
- package: CocoaLumberjack
product: CocoaLumberjackSwift
- package: CocoaLumberjack
product: CocoaLumberjack
UI:
templates:
- Framework
sources: [UI]
settings:
base:
SWIFT_OBJC_BRIDGING_HEADER: "$(SRCROOT)/UI/Supporting Files/Bridging-Header.h"
SWIFT_OBJC_INTERFACE_HEADER_NAME: "UI-Swift.h"
info:
path: UI/Supporting Files/Info.plist
properties:
CFBundleShortVersionString: "1.0.0"
CFBundleVersion: "1.0.0"
preBuildScripts:
- path: "UI/Supporting Files/Scripts/swiftgen.sh"
name: Swiftgen
dependencies:
- target: Core
- package: SwiftMessages
product: SwiftMessages
- package: SkeletonView
product: SkeletonView
- package: DifferenceKit
product: DifferenceKit
- package: SnapKit
product: SnapKit
- package: Reusable
product: Reusable
Networking:
templates:
- Framework
sources: [Networking]
settings:
configs:
Debug:
BASE_URL: "http://192.168.88.254"
Production:
BASE_URL: "http://192.168.88.254"
preBuildScripts:
- path: "Networking/Supporting Files/Scripts/swiftgen.sh"
name: Swiftgen
dependencies:
- target: Core
- package: Alamofire
product: Alamofire
- package: AlamofireImage
product: AlamofireImage
- package: Dip
product: Dip
settings:
base:
SUPPORTS_MACCATALYST: NO
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: YES
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD: YES
configs:
Debug LOCAL:
SWIFT_COMPILATION_MODE: singlefile
SWIFT_OPTIMIZATION_LEVEL: -Onone
VALIDATE_PRODUCT: NO
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "DEBUG"
Debug INET:
SWIFT_COMPILATION_MODE: singlefile
SWIFT_OPTIMIZATION_LEVEL: -Onone
VALIDATE_PRODUCT: NO
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "DEBUG"
Production:
ENABLE_TESTABILITY: NO
SWIFT_COMPILATION_MODE: wholemodule
SWIFT_OPTIMIZATION_LEVEL: -O
VALIDATE_PRODUCT: YES
targetTemplates:
Framework:
type: framework
supportedDestinations: [iOS]
deploymentTarget: 15.0
settings:
base:
MARKETING_VERSION: 1.0
SWIFT_VERSION: 5.0
SUPPORTS_MACCATALYST: NO
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: YES
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD: YES
Application:
# scheme:
# configVariants:
# - DEV
# - Production
type: application
supportedDestinations: [iOS]
sources:
- path: App
- path: UI/Resources/Assets.xcassets
settings:
base:
CODE_SIGN_STYLE: Manual
ENABLE_BITCODE: false
DEVELOPMENT_TEAM: Z111111111
LAUNCH_SCREEN: "Launch Screen"
SWIFT_OBJC_BRIDGING_HEADER: "$(SRCROOT)/App/Supporting Files/Bridging-Header.h"
INFOPLIST_FILE: "App/Resources/Info.plist"
OTHER_SWIFT_FLAGS: "$(inherited) -Xfrontend -debug-time-function-bodies"
SWIFT_OBJC_INTERFACE_HEADER_NAME: "sample-Swift.h"
CURRENT_PROJECT_VERSION: "1"
MARKETING_VERSION: "1.0"
SUPPORTS_MACCATALYST: NO
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD: YES
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD: YES
configs:
Debug LOCAL:
ENVIRONMENT: "Debug"
NETFOX: "YES"
CODE_SIGN_IDENTITY: "iPhone Developer"
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "DEBUG"
Debug INET:
ENVIRONMENT: "Debug"
NETFOX: "YES"
CODE_SIGN_IDENTITY: "iPhone Developer"
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "DEBUG"
Production:
ENVIRONMENT: "Production"
NETFOX: "NO"
CODE_SIGN_IDENTITY: "iPhone Distribution"
preBuildScripts:
- path: "App/Supporting Files/Scripts/swiftgen.sh"
name: Swiftgen
dependencies:
- target: Core
- target: UI
- target: Networking
- package: Reusable
product: Reusable
- package: Dip
product: Dip
- package: DifferenceKit
product: DifferenceKit
- package: SnapKit
product: SnapKit
- package: Loady
product: Loady
- package: SwiftMessages
product: SwiftMessages
- package: CocoaLumberjack
product: CocoaLumberjackSwift
- package: CocoaLumberjack
product: CocoaLumberjack
- package: netfox
product: netfox
- package: SwiftRichString
product: SwiftRichString