-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yml
206 lines (187 loc) · 6.01 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
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
---
name: "Recoreon"
options:
bundleIdPrefix: com.github.umireon
deploymentTarget:
iOS: "17.4"
fileGroups:
- "PrivacyInfo.xcprivacy"
- "RecoreonTests.xctestplan"
- "RecoreonUITests.xctestplan"
- "FragmentedRecordWriterTests.xctestplan"
settings:
# Signing settings
CODE_SIGN_STYLE: "Automatic"
DEVELOPMENT_TEAM: "4HMJS6J4MZ"
# Versioning settings
MARKETING_VERSION: "1.0"
CURRENT_PROJECT_VERSION: 1
# Objective-C settings
CLANG_ENABLE_MODULES: true
# Warnings settings
CLANG_WARN_DOCUMENTATION_COMMENTS: false
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: false
packages:
FFmpegKit:
url: "https://github.com/kaito-tokyo/ffmpeg-kit-spm.git"
from: "6.0.3"
Logging:
url: "https://github.com/apple/swift-log.git"
from: "1.6.1"
HLSServer:
path: "Packages/HLSServer"
targets:
FragmentedRecordWriter:
type: "library.static"
platform: "iOS"
sources:
- "FragmentedRecordWriter"
settings:
SWIFT_OBJC_BRIDGING_HEADER: "FragmentedRecordWriter/FragmentedRecordWriter-Bridging-Header.h"
FragmentedRecordWriterTests:
type: "bundle.unit-test"
platform: "iOS"
sources:
- "FragmentedRecordWriterTests"
dependencies:
- target: "FragmentedRecordWriter"
settings:
SWIFT_OBJC_BRIDGING_HEADER: "FragmentedRecordWriterTests/FragmentedRecordWriterTests-Bridging-Header.h"
info:
path: "FragmentedRecordWriterTests/Info.plist"
properties:
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
ScreenRecordWriter:
type: "library.static"
platform: "iOS"
sources:
- "ScreenRecordWriter"
dependencies:
- package: "FFmpegKit"
RecoreonCommon:
type: "library.static"
platform: "iOS"
sources:
- "RecoreonCommon"
RecoreonBroadcastUploadExtension:
type: "app-extension"
platform: "iOS"
sources:
- "RecoreonBroadcastUploadExtension"
dependencies:
- target: "FragmentedRecordWriter"
- target: "ScreenRecordWriter"
- target: "RecoreonCommon"
- package: "FFmpegKit"
- package: "Logging"
settings:
SWIFT_OBJC_BRIDGING_HEADER: "RecoreonBroadcastUploadExtension/RecoreonBroadcastUploadExtension-Bridging-Header.h"
PRODUCT_BUNDLE_IDENTIFIER: "com.github.umireon.Recoreon.RecoreonBroadcastUploadExtension"
SKIP_INSTALL: true
info:
path: "RecoreonBroadcastUploadExtension/Info.plist"
properties:
CFBundleDisplayName: "Recoreon"
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
NSCameraUsageDescription: "This app do not use a camera."
NSExtension:
NSExtensionPointIdentifier: "com.apple.broadcast-services-upload"
NSExtensionPrincipalClass: "$(PRODUCT_MODULE_NAME).SampleHandler"
RPBroadcastProcessMode: "RPBroadcastProcessModeSampleBuffer"
entitlements:
path: "RecoreonBroadcastUploadExtension/RecoreonBroadcastUploadExtension.entitlements"
properties:
com.apple.security.application-groups:
- "group.com.github.umireon.Recoreon"
Recoreon:
type: "application"
platform: "iOS"
sources:
- "Recoreon"
dependencies:
- target: "RecoreonCommon"
- target: "RecoreonBroadcastUploadExtension"
- package: "FFmpegKit"
- package: "HLSServer"
settings:
DEVELOPMENT_ASSET_PATHS: '"Recoreon/Preview Content"'
ENABLE_PREVIEWS: true
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: "AccentColor"
SWIFT_OBJC_BRIDGING_HEADER: "Recoreon/Recoreon-Bridging-Header.h"
GCC_GENERATE_TEST_COVERAGE_FILES: true
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS: true
SWIFT_EMIT_LOC_STRINGS: true
info:
path: "Recoreon/Info.plist"
properties:
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
ITSAppUsesNonExemptEncryption: false
LSRequiresIPhoneOS: true
NSCameraUsageDescription: "This app do not use a camera."
UIApplicationSupportsIndirectInputEvents: true
UILaunchScreen: {}
UISupportedInterfaceOrientations~ipad:
- "UIInterfaceOrientationPortrait"
- "UIInterfaceOrientationPortraitUpsideDown"
- "UIInterfaceOrientationLandscapeLeft"
- "UIInterfaceOrientationLandscapeRight"
UISupportedInterfaceOrientations~iphone:
- "UIInterfaceOrientationPortrait"
- "UIInterfaceOrientationLandscapeLeft"
- "UIInterfaceOrientationLandscapeRight"
entitlements:
path: "Recoreon/Recoreon.entitlements"
properties:
com.apple.security.application-groups:
- "group.com.github.umireon.Recoreon"
RecoreonTests:
type: "bundle.unit-test"
platform: "iOS"
sources:
- "RecoreonTests"
dependencies:
- target: "Recoreon"
- target: "ScreenRecordWriter"
- package: "FFmpegKit"
settings:
SWIFT_OBJC_BRIDGING_HEADER: "RecoreonTests/RecoreonTests-Bridging-Header.h"
info:
path: "RecoreonTests/Info.plist"
properties:
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
RecoreonUITests:
type: "bundle.ui-testing"
platform: "iOS"
sources:
- "RecoreonUITests"
dependencies:
- target: "Recoreon"
info:
path: "RecoreonUITests/Info.plist"
properties:
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
schemes:
Recoreon:
build:
targets:
Recoreon: "all"
RecoreonTests:
- "test"
RecoreonUITests:
- "test"
test:
testPlans:
- path: "RecoreonTests.xctestplan"
defaultPlan: true
- path: "RecoreonUITests.xctestplan"
- path: "FragmentedRecordWriterTests.xctestplan"
RecoreonBroadcastUploadExtension:
build:
targets:
RecoreonBroadcastUploadExtension: "all"
Recoreon: "none"