-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yml
174 lines (174 loc) · 5.29 KB
/
project.yml
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
---
name: IronRoadForChildren
fileGroups:
- project.yml
- README.md
- Gemfile
- Gemfile.lock
- fastlane
- command-line-tools
- ".github/workflows"
- ".gitignore"
packages:
CoreUI:
path: "./Packages/CoreUI"
ExampleMVVM:
path: "./Packages/ExampleMVVM"
Networking:
path: "./Packages/Networking"
AsyncAlgorithms:
url: https://github.com/apple/swift-async-algorithms.git
from: 0.1.0
SimpleKeychain:
url: https://github.com/auth0/SimpleKeychain
from: 1.0.1
AckGen:
url: https://github.com/MartinP7r/AckGen
from: 0.1.6
Nuke:
url: https://github.com/kean/Nuke
from: 12.1.4
options:
bundleIdPrefix: at.irfc.app
createIntermediateGroups: true
localPackagesGroup: Packages
deploymentTarget:
iOS: 15.0
xcodeVersion: 14.2
settings:
base:
DEVELOPMENT_TEAM: 2NQK7PCJGP
targets:
IronRoadForChildren:
templates:
- AppTarget
sources:
- Targets/Prod
scheme:
testTargets:
- name: IronRoadForChildrenTests
randomExecutionOrder: true
parallelizable: true
- name: IronRoadForChildrenUITests
randomExecutionOrder: true
parallelizable: true
- package: CoreUI/CoreUITests
randomExecutionOrder: true
parallelizable: true
- package: Networking/NetworkingTests
randomExecutionOrder: true
parallelizable: true
- package: ExampleMVVM/ExampleMVVMTests
randomExecutionOrder: true
parallelizable: true
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: at.irfc.app
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
INFOPLIST_KEY_CFBundleDisplayName: IronRoadForChildren
configs:
RELEASE:
ONLY_ACTIVE_ARCH: 'NO'
PROVISIONING_PROFILE_SPECIFIER: match AppStore at.irfc.app
CODE_SIGN_IDENTITY: iPhone Distribution
DEBUG:
ONLY_ACTIVE_ARCH: 'YES'
PROVISIONING_PROFILE_SPECIFIER: match Development at.irfc.app
CODE_SIGN_IDENTITY: iPhone Developer
IronRoadForChildrenBeta:
templates:
- AppTarget
sources:
- Targets/Beta
scheme: {}
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: at.irfc.app.beta
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
INFOPLIST_KEY_CFBundleDisplayName: IRFC Beta
configs:
RELEASE:
ONLY_ACTIVE_ARCH: 'NO'
PROVISIONING_PROFILE_SPECIFIER: match AppStore at.irfc.app.beta
CODE_SIGN_IDENTITY: iPhone Distribution
DEBUG:
ONLY_ACTIVE_ARCH: 'YES'
PROVISIONING_PROFILE_SPECIFIER: match Development at.irfc.app.beta
CODE_SIGN_IDENTITY: iPhone Developer
IronRoadForChildrenTests:
type: bundle.unit-test
platform: iOS
sources:
- IronRoadForChildrenTests
dependencies:
- target: IronRoadForChildren
settings:
base:
IPHONEOS_DEPLOYMENT_TARGET: '15.0'
GENERATE_INFOPLIST_FILE: true
TEST_TARGET_NAME: IronRoadForChildren
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/IronRoadForChildren.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/IronRoadForChildren"
IronRoadForChildrenUITests:
type: bundle.ui-testing
platform: iOS
sources:
- IronRoadForChildrenUITests
dependencies:
- target: IronRoadForChildren
settings:
base:
GENERATE_INFOPLIST_FILE: true
IPHONEOS_DEPLOYMENT_TARGET: '15.0'
TEST_TARGET_NAME: IronRoadForChildren
targetTemplates:
AppTarget:
type: application
platform: iOS
deploymentTarget: '15.0'
sources:
- IronRoadForChildren
- Acknowledgements.plist
dependencies:
- package: CoreUI
- package: ExampleMVVM
- package: Networking
- package: AsyncAlgorithms
product: AsyncAlgorithms
- package: SimpleKeychain
- package: AckGen
product: AckGen
- package: AckGen
product: AckGenUI
- package: Nuke
product: NukeUI
prebuildScripts:
- script: |
DIR=$PROJECT_TEMP_DIR/../../../SourcePackages/checkouts/AckGen
if [ -d "$DIR" ]; then
cd $DIR
SDKROOT=(xcrun --sdk macosx --show-sdk-path)
swift run ackgen
else
echo "warning: AckGen not found. Please install the package via SPM (https://github.com/MartinP7r/AckGen#installation)"
fi
settings:
base:
CURRENT_PROJECT_VERSION: 47
MARKETING_VERSION: 1.1.3
IPHONEOS_DEPLOYMENT_TARGET: '15.0'
INFOPLIST_FILE: IronRoadForChildren/SupportingFiles/Info.plist
ENABLE_PREVIEWS: true
SWIFT_EMIT_LOC_STRINGS: true
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: accentColor
CODE_SIGN_STYLE: Manual
GENERATE_INFOPLIST_FILE: true
TARGETED_DEVICE_FAMILY: '1,2'
DEVELOPMENT_ASSET_PATHS: IronRoadForChildren/SupportingFiles/PreviewContent
INFOPLIST_KEY_UILaunchStoryboardName: LaunchScreen
INFOPLIST_KEY_UIApplicationSceneManifest_Generation: true
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents: true
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone: UIInterfaceOrientationPortrait
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: UIInterfaceOrientationPortrait
UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight